TypeScript 97.5%
SQL 1.4%
Python 0.8%
1import type { Metadata } from "next";2import Link from "next/link";3import { LegalLayout, type LegalSection } from "@/components/marketing/legal-layout";45export const metadata: Metadata = {6 title: "Cookie Policy",7 description: "The cookies and browser storage Fetcha uses on fetcha.co and in the dashboard, why each one exists, and how to control them.",8 alternates: { canonical: "/legal/cookies" },9};1011const sections: LegalSection[] = [12 {13 id: "overview",14 title: "Overview",15 body: (16 <>17 <p>18 This Cookie Policy explains what cookies and similar browser storage Fetcha, operated from Québec, Canada, uses on <code>fetcha.co</code> (the marketing site, documentation and status pages) and in the dashboard at <code>fetcha.co/dashboard</code>. It complements the <Link href="/legal/privacy">Privacy Policy</Link>, which describes how we handle personal information more generally.19 </p>20 <p>21 The short version: <strong>we use only strictly necessary cookies</strong>. There are no advertising cookies, no third-party analytics, no social-media pixels and no cross-site tracking anywhere on our properties. Because nothing we set requires consent under Québec’s Law 25, PIPEDA or the EU ePrivacy rules, we do not show a cookie banner.22 </p>23 </>24 ),25 },26 {27 id: "what-are-cookies",28 title: "What cookies and similar technologies are",29 body: (30 <>31 <p>A cookie is a small text file that a website asks your browser to store and to send back on later visits. Cookies can be <strong>first-party</strong> (set by the site you are visiting) or <strong>third-party</strong> (set by another domain), and <strong>session</strong> (deleted when you close the browser or after a short inactivity period) or <strong>persistent</strong> (kept until an expiry date). Websites can also store small amounts of data in the browser’s <code>localStorage</code>, which behaves like a persistent cookie but is never sent to the server automatically.</p>32 <p>Fetcha sets only first-party cookies and one first-party <code>localStorage</code> key, all described below.</p>33 </>34 ),35 },36 {37 id: "cookies-we-use",38 title: "Cookies and storage we use",39 body: (40 <>41 <table>42 <thead>43 <tr>44 <th>Name</th>45 <th>Type</th>46 <th>Purpose</th>47 <th>Duration</th>48 </tr>49 </thead>50 <tbody>51 <tr>52 <td><code>fetcha*</code> (session cookies, e.g. <code>fetcha.session_token</code>)</td>53 <td>Strictly necessary · first-party · HttpOnly, Secure, SameSite=Lax</td>54 <td>Keeps you signed in to the dashboard, identifies your session on the server, and protects forms and server actions against cross-site request forgery. Set only after you sign in.</td>55 <td>Until sign-out, or after a period of inactivity; renewed while you use the dashboard.</td>56 </tr>57 <tr>58 <td><code>fetcha_project</code></td>59 <td>Strictly necessary (preference) · first-party</td>60 <td>Remembers which project you last selected so the dashboard opens on the right project. Contains only a project identifier.</td>61 <td>Up to 1 year.</td>62 </tr>63 <tr>64 <td><code>theme</code> (localStorage)</td>65 <td>Preference · first-party · not sent to server</td>66 <td>Remembers your light, dark or system colour-scheme choice so the page does not flash the wrong theme on load.</td>67 <td>Until you clear browser storage.</td>68 </tr>69 </tbody>70 </table>71 <p>Signed-out visitors to the marketing site, documentation, pricing, changelog and status pages receive no cookies at all, apart from the theme preference if you toggle it.</p>72 </>73 ),74 },75 {76 id: "third-parties",77 title: "Third parties",78 body: (79 <>80 <p>We do not embed third-party scripts that set cookies. Fonts, icons and styles are served from our own domain. We do not use Google Analytics, Meta Pixel, LinkedIn Insight, session-replay tools or advertising networks. Aggregate traffic statistics we may look at are derived from our own server logs and do not rely on cookies.</p>81 <p>When self-serve checkout launches, the payment page may load a script from our payment processor to collect card details securely; that processor may set its own strictly necessary fraud-prevention cookies on its own domain during the payment step. We will update this policy before that happens.</p>82 <p>Links from our documentation to external sites (for example package registries or standards bodies) lead to sites with their own cookie practices, which we do not control.</p>83 </>84 ),85 },86 {87 id: "api-and-sdks",88 title: "The API, the SDKs and target websites",89 body: (90 <>91 <p>Calls to <code>https://www.fetcha.co/v1</code> are authenticated with a Bearer API key in a request header, not with cookies, and the API sets no cookies on your client.</p>92 <p>93 When you use the Fetch API to retrieve a third-party website, that website may set cookies in its response. Fetcha returns those cookies to you in the <code>cookies</code> field of the response and, if you use a sticky session, may replay cookies you send within that session so that multi-step flows work. Those cookies belong to the target website and to your application; Fetcha does not store them beyond the life of the request and the session, and they are redacted from our request logs. How you handle them is governed by your own privacy obligations and the <Link href="/legal/acceptable-use">Acceptable Use Policy</Link>.94 </p>95 </>96 ),97 },98 {99 id: "control",100 title: "How to control cookies",101 body: (102 <>103 <p>You can view, block and delete cookies in your browser settings. Common locations:</p>104 <ul>105 <li><strong>Chrome</strong>: Settings → Privacy and security → Third-party cookies / See all site data and permissions.</li>106 <li><strong>Safari</strong>: Settings → Privacy → Manage Website Data.</li>107 <li><strong>Firefox</strong>: Settings → Privacy & Security → Cookies and Site Data.</li>108 <li><strong>Edge</strong>: Settings → Cookies and site permissions → Manage and delete cookies and site data.</li>109 </ul>110 <p>Because our cookies are strictly necessary, blocking them has consequences: without the <code>fetcha*</code> session cookie you cannot sign in to the dashboard, and without the project and theme preferences the dashboard will fall back to defaults on each visit. The API itself is unaffected by browser cookie settings. Signing out deletes the session cookie; clearing site data for <code>fetcha.co</code> removes everything listed above.</p>111 </>112 ),113 },114 {115 id: "changes",116 title: "Changes and contact",117 body: (118 <>119 <p>If we add a cookie, change a purpose or introduce any technology that requires consent, we will update this page, change the version and effective date at the top, and, where consent is required, ask for it before setting anything. Questions about cookies or browser storage: <a href="mailto:privacy@fetcha.co">privacy@fetcha.co</a>.</p>120 </>121 ),122 },123];124125export default function CookiesPage() {126 return <LegalLayout title="Cookie Policy" current="/legal/cookies" summary="Fetcha uses only strictly necessary first-party cookies: a fetcha* session cookie when you sign in, a project preference and a theme preference. No advertising, analytics or third-party tracking, so no banner." sections={sections} />;127}128