Skip to content

The only tool you need to know what is happening and how to fix it.

GDPR + privacy policy cleanup

narrow-adventurea039f8ede1bb
diff --git a/frontend/src/routes/register/+page.svelte b/frontend/src/routes/register/+page.svelte
index b3555896..cf036954 100644
--- a/frontend/src/routes/register/+page.svelte
+++ b/frontend/src/routes/register/+page.svelte
@@ -275,6 +275,25 @@
Create Account
{/if}
</Button>
+
+ {#if __CLOUD_MODE__}
+ <p class="mt-3 text-center text-xs text-muted-foreground">
+ By creating an account you agree to the
+ <a
+ href="https://tracewayapp.com/terms-of-use"
+ target="_blank"
+ rel="noopener noreferrer"
+ class="underline hover:text-primary">Terms of Use</a
+ >
+ and acknowledge the
+ <a
+ href="https://tracewayapp.com/privacy-policy"
+ target="_blank"
+ rel="noopener noreferrer"
+ class="underline hover:text-primary">Privacy Policy</a
+ >.
+ </p>
+ {/if}
</form>
{/if}
{/if}
diff --git a/website/app/contact/page.tsx b/website/app/contact/page.tsx
index 0fb2076e..490bfb22 100644
--- a/website/app/contact/page.tsx
+++ b/website/app/contact/page.tsx
@@ -2,6 +2,7 @@
import { useState, FormEvent } from "react";
import { ChevronDown } from "lucide-react";
+import Link from "next/link";
import { Eyebrow } from "@/components/eyebrow";
import { getCalendlyUrl, hasCalendly } from "@/lib/calendly";
@@ -198,7 +199,13 @@ export default function Contact() {
fontFamily: "var(--font-mono)",
}}
>
- We&apos;ll take you to sign-up with your email pre-filled.
+ We&apos;ll take you to sign-up with your email pre-filled. We
+ use what you enter here only to reply to you, as described in
+ our{" "}
+ <Link href="/privacy-policy" className="underline underline-offset-4">
+ Privacy Policy
+ </Link>
+ .
</p>
</form>
</div>
diff --git a/website/app/dpa/page.tsx b/website/app/dpa/page.tsx
new file mode 100644
index 00000000..1d2e989f
--- /dev/null
+++ b/website/app/dpa/page.tsx
@@ -0,0 +1,404 @@
+import Link from "next/link";
+import type { Metadata } from "next";
+import { Eyebrow } from "@/components/eyebrow";
+import { SubprocessorTable } from "@/components/subprocessor-table";
+import { LEGAL } from "@/lib/legal";
+
+export const metadata: Metadata = {
+ title: "Data Processing Addendum · Traceway",
+ description:
+ "The GDPR Article 28 data processing addendum for Traceway Cloud: processing details, security measures, sub-processors, breach notification, deletion and international transfers.",
+};
+
+export default function DataProcessingAddendum() {
+ return (
+ <main className="relative">
+ <section className="wrap py-20">
+ <article className="prose">
+ <Eyebrow>Legal</Eyebrow>
+ <h1 className="mt-4 mb-3">Data Processing Addendum</h1>
+ <p style={{ color: "var(--fg-3)" }} className="mb-12">
+ Last updated: {LEGAL.updated}
+ </p>
+
+ <div className="legal-note">
+ This addendum (&ldquo;DPA&rdquo;) is part of the{" "}
+ <Link href="/terms-of-use">Terms of Use</Link> and applies
+ automatically to every customer of Traceway Cloud whose use of the
+ Service involves personal data protected by the GDPR, the UK GDPR,
+ the Swiss FADP or a similar law. No signature is needed. If your
+ procurement process requires a countersigned copy, email{" "}
+ <a href={`mailto:${LEGAL.privacyEmail}`}>{LEGAL.privacyEmail}</a>{" "}
+ and we will send one.
+ </div>
+
+ <h2>1. Parties and roles</h2>
+ <p>
+ This DPA is between the customer that accepted the Terms of Use
+ (&ldquo;Customer&rdquo;) and {LEGAL.entity} ({LEGAL.entityDescription}),{" "}
+ {LEGAL.address} (&ldquo;Traceway&rdquo;). For the personal data
+ contained in Customer Data (defined in the Terms), Customer is the
+ controller, or a processor acting for another controller, and
+ Traceway is Customer&apos;s processor. For the account, billing and
+ security data of Customer&apos;s users, Traceway is an independent
+ controller, as described in the{" "}
+ <Link href="/privacy-policy#cloud-accounts">Privacy Policy</Link>,
+ and that data is not covered by this DPA.
+ </p>
+
+ <h2>2. Definitions</h2>
+ <p>
+ &ldquo;Data Protection Law&rdquo; means every law that applies to
+ the processing of personal data under this DPA, including the GDPR
+ (Regulation (EU) 2016/679), the UK GDPR and Data Protection Act
+ 2018, and the Swiss Federal Act on Data Protection.
+ &ldquo;Personal data&rdquo;, &ldquo;controller&rdquo;,
+ &ldquo;processor&rdquo;, &ldquo;data subject&rdquo;,
+ &ldquo;processing&rdquo; and &ldquo;personal data breach&rdquo;
+ have the meanings given in the GDPR. &ldquo;Customer Personal
+ Data&rdquo; means the personal data in Customer Data.
+ &ldquo;Sub-processor&rdquo; means a third party Traceway engages to
+ process Customer Personal Data. &ldquo;SCCs&rdquo; means the
+ standard contractual clauses adopted by the European Commission in
+ Decision (EU) 2021/914.
+ </p>
+
+ <h2>3. Details of the processing</h2>
+ <p>
+ The subject matter, duration, nature and purpose of the
+ processing, and the types of personal data and categories of data
+ subjects, are described in Annex 1.
+ </p>
+
+ <h2>4. Customer&apos;s obligations</h2>
+ <p>
+ Customer is responsible for the lawfulness of the Customer
+ Personal Data it sends to the Service, for having a lawful basis,
+ for giving data subjects the required information, and for
+ configuring the SDKs and exporters (sampling, masking, attribute
+ allow-lists, privacy mode for AI traces) so that only the personal
+ data it needs is sent. Customer will not send special categories
+ of personal data, payment card data or data about children unless
+ it is masked, and will tell Traceway if it is legally required to
+ apply stricter rules.
+ </p>
+
+ <h2>5. Traceway&apos;s obligations</h2>
+ <p>Traceway will:</p>
+ <ul>
+ <li>
+ process Customer Personal Data only on Customer&apos;s documented
+ instructions, which are the Terms, this DPA, and the settings
+ Customer chooses in the Service. Traceway will tell Customer if
+ it believes an instruction infringes Data Protection Law, and if
+ a law requires Traceway to process the data otherwise, it will
+ tell Customer before doing so unless that law forbids it
+ </li>
+ <li>
+ make sure everyone who can access Customer Personal Data is
+ bound by confidentiality and has access only to the extent
+ needed to provide, secure and support the Service
+ </li>
+ <li>
+ implement and maintain the technical and organizational measures
+ in Annex 2, and not reduce their overall level of protection
+ during the term
+ </li>
+ <li>
+ engage Sub-processors only under section 6
+ </li>
+ <li>
+ help Customer respond to data subject requests (section 8), and
+ to carry out data protection impact assessments and prior
+ consultations, taking into account the nature of the processing
+ and the information available to Traceway
+ </li>
+ <li>
+ notify personal data breaches under section 9
+ </li>
+ <li>
+ delete or return Customer Personal Data under section 10
+ </li>
+ <li>
+ provide the information needed to demonstrate compliance and
+ allow audits under section 11
+ </li>
+ </ul>
+
+ <h2 id="subprocessors">6. Sub-processors</h2>
+ <p>
+ Customer gives Traceway general authorization to use the
+ Sub-processors listed in Annex 3. Traceway imposes data protection
+ obligations on each Sub-processor that are no less protective than
+ those in this DPA, and remains fully liable to Customer for their
+ performance. Traceway will give Customer at least 30 days&apos;
+ notice by email to organization administrators before adding or
+ replacing a Sub-processor that processes Customer Personal Data.
+ Customer may object on reasonable data protection grounds within
+ that period. If the parties cannot resolve the objection in good
+ faith within 30 days, Customer may terminate the affected
+ subscription and Traceway refunds any prepaid fees for the
+ remaining term.
+ </p>
+
+ <h2 id="transfers">7. International transfers</h2>
+ <p>
+ Traceway stores and processes Customer Personal Data in the United
+ States (Annex 3). Where Data Protection Law restricts a transfer
+ of Customer Personal Data from the EEA, the United Kingdom or
+ Switzerland to Traceway or a Sub-processor, the parties rely on,
+ in this order: an adequacy decision that covers the recipient
+ (including the EU-US Data Privacy Framework where the recipient is
+ certified), and otherwise the SCCs, which are incorporated into
+ this DPA by reference as follows:
+ </p>
+ <ul>
+ <li>
+ Module Two (controller to processor) applies where Customer is a
+ controller, and Module Three (processor to processor) where
+ Customer is a processor
+ </li>
+ <li>
+ Clause 7 (docking) is included; Clause 9 option 2 (general
+ authorization) applies with the notice period in section 6;
+ Clause 11 optional language does not apply; Clause 13 is
+ completed by the supervisory authority of Customer&apos;s EU
+ establishment, or otherwise of its EU representative; Clause 17
+ option 1 and Clause 18 apply with the law and courts of Ireland
+ </li>
+ <li>
+ Annex I and Annex II of the SCCs are completed by Annex 1, Annex
+ 2 and Annex 3 of this DPA
+ </li>
+ <li>
+ for transfers from the United Kingdom, the UK International Data
+ Transfer Addendum to the SCCs issued by the Information
+ Commissioner applies, with the tables completed by the same
+ Annexes; for transfers from Switzerland, the SCCs are adapted as
+ required by the Swiss Federal Data Protection and Information
+ Commissioner
+ </li>
+ </ul>
+ <p>
+ Traceway will tell Customer if it can no longer comply with the
+ transfer mechanism relied on, and Customer may then suspend the
+ transfer and terminate the affected subscription.
+ </p>
+
+ <h2>8. Data subject requests</h2>
+ <p>
+ The Service gives Customer the tools to search, view and delete
+ telemetry, sessions, replays and projects, which is how most data
+ subject requests can be honored directly. If Traceway receives a
+ request from a data subject concerning Customer Personal Data, it
+ will not answer it on the merits but will forward it to Customer
+ without undue delay, where Traceway can identify Customer. Where
+ Customer cannot fulfil a request with the tools provided, Traceway
+ will help on request, at no charge for reasonable effort.
+ </p>
+
+ <h2>9. Personal data breaches</h2>
+ <p>
+ Traceway will notify Customer without undue delay, and in any
+ event within 72 hours, after becoming aware of a personal data
+ breach affecting Customer Personal Data. The notice goes by email
+ to organization administrators and describes, to the extent known,
+ the nature of the breach, the categories and approximate number of
+ data subjects and records concerned, the likely consequences, the
+ measures taken or proposed, and a contact point. Traceway will
+ update the notice as more becomes known and will cooperate with
+ Customer&apos;s own notification obligations.
+ </p>
+
+ <h2>10. Deletion and return</h2>
+ <p>
+ Customer can delete projects and individual data from the Service
+ at any time, and export Customer Data through the dashboard, API
+ and CLI. Within 30 days after the end of the subscription or the
+ closure of the account, Traceway deletes all Customer Personal
+ Data, except for copies in backups, which are overwritten on their
+ rotation schedule within a further 35 days, and data Traceway must
+ keep under a legal obligation, which it continues to protect under
+ this DPA. On written request Traceway confirms deletion.
+ </p>
+
+ <h2>11. Audits</h2>
+ <p>
+ On request, no more than once a year unless a breach or a
+ supervisory authority requires otherwise, Traceway will make
+ available the information reasonably necessary to demonstrate
+ compliance with this DPA, including its security documentation and,
+ once available, its SOC 2 Type II and ISO 27001 reports under NDA.
+ Where that information is not sufficient, Customer or an
+ independent auditor it mandates may audit Traceway&apos;s relevant
+ controls, on at least 30 days&apos; notice, during business hours,
+ without disrupting the Service, at Customer&apos;s cost, and
+ subject to confidentiality. The parties agree the scope in advance.
+ </p>
+
+ <h2>12. Liability and term</h2>
+ <p>
+ Each party&apos;s liability under this DPA is subject to the
+ limitations in the Terms of Use, except where Data Protection Law
+ does not allow a limitation. This DPA applies for as long as
+ Traceway processes Customer Personal Data. If this DPA conflicts
+ with the Terms, this DPA wins for the processing of Customer
+ Personal Data; if it conflicts with the SCCs, the SCCs win.
+ </p>
+
+ <h2>Annex 1: Processing details</h2>
+ <div className="table-scroll">
+ <table>
+ <tbody>
+ <tr>
+ <th>Subject matter</th>
+ <td>
+ Hosting and processing of application telemetry so that
+ Customer can monitor, debug and operate its software
+ </td>
+ </tr>
+ <tr>
+ <th>Duration</th>
+ <td>
+ The term of the subscription plus the deletion period in
+ section 10
+ </td>
+ </tr>
+ <tr>
+ <th>Nature and purpose</th>
+ <td>
+ Receiving telemetry over HTTPS, storing it, indexing and
+ aggregating it, displaying it in the dashboard, evaluating
+ alert rules and delivering notifications, replaying
+ sessions, symbolicating stack traces, and answering API,
+ CLI and MCP queries, all on Customer&apos;s behalf
+ </td>
+ </tr>
+ <tr>
+ <th>Categories of data subjects</th>
+ <td>
+ End users of Customer&apos;s applications; Customer&apos;s
+ employees and contractors whose activity appears in logs,
+ traces and AI conversations
+ </td>
+ </tr>
+ <tr>
+ <th>Types of personal data</th>
+ <td>
+ Whatever Customer chooses to send, typically: IP addresses
+ of devices that report sessions, user identifiers and
+ attributes attached to sessions and spans (which may
+ include names or email addresses), device and browser
+ information, URLs and request parameters, log and
+ exception messages, session replay recordings of the
+ application screen with Customer&apos;s masking applied,
+ prompts and completions in AI traces unless privacy mode
+ is enabled
+ </td>
+ </tr>
+ <tr>
+ <th>Special categories</th>
+ <td>
+ Not intended. Customer must mask them if its application
+ handles them
+ </td>
+ </tr>
+ <tr>
+ <th>Frequency</th>
+ <td>Continuous, as telemetry is sent</td>
+ </tr>
+ <tr>
+ <th>Retention</th>
+ <td>
+ As set out in the{" "}
+ <Link href="/privacy-policy#retention">Privacy Policy</Link>
+ , and within 30 days of project deletion or account closure
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+
+ <h2>Annex 2: Technical and organizational measures</h2>
+ <ul>
+ <li>
+ <strong>Encryption.</strong> TLS 1.2 or higher for every
+ connection to the Service and between the Service and its
+ Sub-processors. Encryption at rest with AWS-managed keys for
+ databases, object storage and backups.
+ </li>
+ <li>
+ <strong>Credentials.</strong> Passwords stored as salted hashes.
+ API tokens, personal access tokens, refresh tokens and SMS
+ verification codes stored only as SHA-256 hashes. Short-lived
+ access tokens with rotating refresh tokens and family revocation
+ on reuse. Write access for AI agents requires an explicit
+ organization opt-in and is logged.
+ </li>
+ <li>
+ <strong>Tenant isolation.</strong> Every row of telemetry is
+ keyed by project, every query is scoped by the caller&apos;s
+ organization membership, and role checks (owner, admin, user,
+ read-only) are enforced server side. Synthetic monitors on Cloud
+ cannot reach private networks.
+ </li>
+ <li>
+ <strong>Access control.</strong> Production access is limited to
+ the founders, requires SSH keys and multi-factor authentication,
+ and is used only to operate the Service and for support at
+ Customer&apos;s request. No one browses Customer Data for
+ curiosity.
+ </li>
+ <li>
+ <strong>Availability.</strong> Infrastructure on AWS with
+ automated restarts, database backups rotated within 35 days,
+ rate limits and admission control on ingest so overload sheds
+ load instead of losing the process.
+ </li>
+ <li>
+ <strong>Software security.</strong> Open-source code with public
+ review, dependency vulnerability scanning in CI, signed
+ releases, and a published{" "}
+ <a
+ href="https://github.com/tracewayapp/traceway/blob/main/SECURITY.md"
+ target="_blank"
+ rel="noopener noreferrer"
+ >
+ security policy
+ </a>{" "}
+ for reporting vulnerabilities.
+ </li>
+ <li>
+ <strong>Data minimization tools.</strong> SDK-side masking of
+ inputs and text in session replays, privacy masks in mobile
+ replays, attribute allow-lists for metrics, privacy mode for AI
+ traces, and configurable retention and deletion.
+ </li>
+ <li>
+ <strong>Organization.</strong> Confidentiality obligations for
+ everyone with access, incident response with the notification
+ commitments in section 9, and SOC 2 Type II and ISO 27001
+ certification in progress.
+ </li>
+ </ul>
+
+ <h2 id="annex-3">Annex 3: Sub-processors</h2>
+ <p>
+ The following Sub-processors process Customer Personal Data. The
+ list is also published in the{" "}
+ <Link href="/privacy-policy#sharing">Privacy Policy</Link>, where
+ you can see every provider we use, including those that never
+ touch Customer Data.
+ </p>
+ <SubprocessorTable customerDataOnly />
+ <p>
+ Notification destinations that Customer configures (Slack,
+ Telegram, Pushover, GitHub, webhooks) are not Sub-processors:
+ Customer chooses them and they receive data under Customer&apos;s
+ own agreements with them.
+ </p>
+ </article>
+ </section>
+ </main>
+ );
+}
diff --git a/website/app/globals.css b/website/app/globals.css
index 869b3938..1af203dd 100644
--- a/website/app/globals.css
+++ b/website/app/globals.css
@@ -1402,3 +1402,199 @@
.flutter-replay-mount .rr-controller {
display: none !important;
}
+
+/* Legal pages: tables inside .prose */
+.prose table {
+ width: 100%;
+ border-collapse: collapse;
+ margin: 8px 0 24px;
+ font-size: 13.5px;
+ line-height: 1.5;
+}
+.prose th,
+.prose td {
+ text-align: left;
+ vertical-align: top;
+ padding: 10px 12px;
+ border: 1px solid var(--hair-2);
+}
+.prose th {
+ font-family: var(--font-mono);
+ font-size: 11px;
+ letter-spacing: 0.08em;
+ text-transform: uppercase;
+ color: var(--fg-2);
+ background: var(--ink-1);
+ font-weight: 500;
+}
+.prose td {
+ color: var(--fg-1);
+}
+.prose .table-scroll {
+ overflow-x: auto;
+ margin: 0 0 24px;
+}
+.prose .table-scroll table {
+ margin: 0;
+ min-width: 560px;
+}
+.prose .legal-note {
+ padding: 14px 16px;
+ border-radius: var(--radius-lg);
+ border: 1px solid var(--hair-2);
+ background: var(--ink-1);
+ font-size: 14px;
+ margin: 0 0 20px;
+}
+
+/* Cookie consent banner */
+.cookie-banner {
+ position: fixed;
+ z-index: 70;
+ left: 16px;
+ right: 16px;
+ bottom: 16px;
+ padding: 18px 18px 16px;
+ border-radius: 14px;
+ border: 1px solid var(--hair-2);
+ background: color-mix(in oklab, var(--ink-1) 96%, transparent);
+ backdrop-filter: blur(14px);
+ -webkit-backdrop-filter: blur(14px);
+ box-shadow:
+ 0 1px 0 rgba(255, 255, 255, 0.04) inset,
+ 0 30px 60px -30px rgba(0, 0, 0, 0.7);
+ color: var(--fg-1);
+}
+@media (min-width: 640px) {
+ .cookie-banner {
+ left: 24px;
+ right: auto;
+ bottom: 24px;
+ width: min(440px, calc(100vw - 48px));
+ }
+}
+.cookie-banner-head {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ gap: 8px;
+}
+.cookie-banner-close {
+ display: grid;
+ place-items: center;
+ width: 28px;
+ height: 28px;
+ border-radius: 7px;
+ color: var(--fg-2);
+ background: transparent;
+ cursor: pointer;
+}
+.cookie-banner-close:hover {
+ color: var(--fg-0);
+ background: var(--ink-3);
+}
+.cookie-banner-title {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+ margin: 10px 0 6px;
+ font-family: var(--font-display);
+ font-size: 15px;
+ font-weight: 600;
+ color: var(--fg-0);
+}
+.cookie-banner-text {
+ margin: 0;
+ font-size: 13px;
+ line-height: 1.55;
+ color: var(--fg-2);
+}
+.cookie-banner-text a {
+ color: var(--fg-0);
+ text-decoration: underline;
+ text-underline-offset: 3px;
+}
+.cookie-banner-options {
+ display: flex;
+ flex-direction: column;
+ gap: 8px;
+ margin-top: 14px;
+}
+.cookie-banner-row {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ gap: 14px;
+ padding: 10px 12px;
+ border-radius: 10px;
+ border: 1px solid var(--hair);
+ background: var(--ink-2);
+}
+.cookie-banner-row-title {
+ font-size: 13px;
+ font-weight: 500;
+ color: var(--fg-0);
+}
+.cookie-banner-row-detail {
+ font-size: 12px;
+ line-height: 1.45;
+ color: var(--fg-2);
+ font-family: var(--font-mono);
+}
+.cookie-switch {
+ position: relative;
+ flex: none;
+ width: 38px;
+ height: 22px;
+ border-radius: 999px;
+ border: 1px solid var(--hair-2);
+ background: var(--ink-4);
+ cursor: pointer;
+ transition: background 0.15s ease;
+}
+.cookie-switch[data-on="true"] {
+ background: var(--a1);
+ border-color: var(--a1);
+}
+.cookie-switch:disabled {
+ cursor: default;
+ opacity: 0.6;
+}
+.cookie-switch-thumb {
+ position: absolute;
+ top: 2px;
+ left: 2px;
+ width: 16px;
+ height: 16px;
+ border-radius: 50%;
+ background: #fff;
+ transition: transform 0.15s ease;
+}
+.cookie-switch[data-on="true"] .cookie-switch-thumb {
+ transform: translateX(16px);
+}
+.cookie-banner-actions {
+ display: flex;
+ flex-wrap: wrap;
+ align-items: center;
+ gap: 8px;
+ margin-top: 14px;
+}
+.cookie-banner-actions .btn {
+ flex: 1 1 auto;
+ justify-content: center;
+}
+.cookie-banner-link {
+ flex: 1 1 100%;
+ padding: 6px 0 0;
+ font-family: var(--font-mono);
+ font-size: 12px;
+ color: var(--fg-2);
+ text-decoration: underline;
+ text-underline-offset: 3px;
+ background: transparent;
+ cursor: pointer;
+}
+.cookie-banner-link:hover {
+ color: var(--fg-0);
+}
diff --git a/website/app/layout.tsx b/website/app/layout.tsx
index 78cf60b7..bc95b57c 100644
--- a/website/app/layout.tsx
+++ b/website/app/layout.tsx
@@ -1,9 +1,9 @@
import { SiteHeader } from "@/components/site-header";
import { SiteFooter } from "@/components/site-footer";
import { MotionPolish } from "@/components/motion-polish";
+import { CookieConsent } from "@/components/cookie-consent";
import type { Metadata } from "next";
import { JetBrains_Mono, IBM_Plex_Mono, Inter } from "next/font/google";
-import Script from "next/script";
import "./globals.css";
// Dark-only site, no theme toggle.
@@ -55,23 +55,12 @@ export default function RootLayout({
lang="en"
className={`${jetbrainsMono.variable} ${ibmPlexMono.variable} ${inter.variable}`}
>
- <Script
- src="https://www.googletagmanager.com/gtag/js?id=G-KSB465GF2W"
- strategy="afterInteractive"
- />
- <Script id="gtag-init" strategy="afterInteractive">
- {`
- window.dataLayer = window.dataLayer || [];
- function gtag(){dataLayer.push(arguments);}
- gtag('js', new Date());
- gtag('config', 'G-KSB465GF2W');
- `}
- </Script>
<body className="antialiased">
<SiteHeader />
{children}
<SiteFooter />
<MotionPolish />
+ <CookieConsent />
</body>
</html>
);
diff --git a/website/app/privacy-policy/page.tsx b/website/app/privacy-policy/page.tsx
index 1260104a..ca24181f 100644
--- a/website/app/privacy-policy/page.tsx
+++ b/website/app/privacy-policy/page.tsx
@@ -1,5 +1,15 @@
import Link from "next/link";
+import type { Metadata } from "next";
import { Eyebrow } from "@/components/eyebrow";
+import { SubprocessorTable } from "@/components/subprocessor-table";
+import { CookieSettingsLink } from "@/components/cookie-settings-link";
+import { LEGAL } from "@/lib/legal";
+
+export const metadata: Metadata = {
+ title: "Privacy Policy · Traceway",
+ description:
+ "What Traceway collects on tracewayapp.com and in Traceway Cloud, why, how long it is kept, who it is shared with, and the rights you have under the GDPR.",
+};
export default function PrivacyPolicy() {
return (
@@ -9,103 +19,611 @@ export default function PrivacyPolicy() {
<Eyebrow>Legal</Eyebrow>
<h1 className="mt-4 mb-3">Privacy Policy</h1>
<p style={{ color: "var(--fg-3)" }} className="mb-12">
- Last updated: February 15, 2026
+ Last updated: {LEGAL.updated}
</p>
- <h2>1. Introduction</h2>
<p>
- Traceway (&ldquo;we&rdquo;, &ldquo;our&rdquo;, or &ldquo;us&rdquo;)
- operates the Traceway Cloud platform and the tracewayapp.com
- website. This Privacy Policy explains how we collect, use, and
- protect your information when you use our services.
+ This policy explains what personal data we collect when you visit
+ our websites or use Traceway Cloud, why we collect it, how long we
+ keep it, who we share it with, and what rights you have. We wrote
+ it to be read, so it is specific about the data and the systems
+ involved. If anything is unclear, write to{" "}
+ <a href={`mailto:${LEGAL.privacyEmail}`}>{LEGAL.privacyEmail}</a>.
</p>
- <h2>2. Information We Collect</h2>
- <h3>Account Data</h3>
+ <h2 id="who-we-are">1. Who we are</h2>
<p>
- When you create an account, we collect your name, email address, and
- organization name. This information is stored in our PostgreSQL
- database and is used to manage your account and provide access to
- your projects.
+ The data controller is {LEGAL.entity} ({LEGAL.entityDescription}),{" "}
+ {LEGAL.address} (&ldquo;Traceway&rdquo;, &ldquo;we&rdquo;,
+ &ldquo;us&rdquo;). We operate the website tracewayapp.com, the
+ documentation site docs.tracewayapp.com, and the hosted service
+ Traceway Cloud at cloud.tracewayapp.com. We have not appointed a
+ data protection officer because the law does not require one for
+ an organization of our size; the contact above reaches the people
+ responsible for privacy directly.
</p>
- <h3>Telemetry Data</h3>
+
+ <h2 id="scope">2. Three situations this policy covers</h2>
<p>
- When you integrate the Traceway SDK or send OpenTelemetry data to
- Traceway Cloud, we receive application telemetry including HTTP
- request metadata (endpoints, status codes, response times),
- exception stack traces, session replay recordings, and system
- metrics (CPU, memory usage). This data is stored in ClickHouse and
- is scoped to your project.
+ Depending on how you interact with us, we play one of two roles
+ under the GDPR:
</p>
- <h3>Usage Data</h3>
+ <ul>
+ <li>
+ <strong>Website visitors and people who contact us.</strong> We
+ are the controller of the little data this involves. Section 3.
+ </li>
+ <li>
+ <strong>Traceway Cloud account holders.</strong> We are the
+ controller of your account, billing and security data. Section
+ 4.
+ </li>
+ <li>
+ <strong>
+ People whose data appears in the telemetry our customers send.
+ </strong>{" "}
+ If a company uses Traceway Cloud to monitor its application, the
+ telemetry can contain data about that company&apos;s own users.
+ The company is the controller of that data and we are its
+ processor, bound by our{" "}
+ <Link href="/dpa">Data Processing Addendum</Link>. Section 5
+ describes that data; section 11 explains how to exercise your
+ rights in that case.
+ </li>
+ </ul>
<p>
- We may collect basic analytics about how you interact with the
- Traceway dashboard, such as pages visited and features used. This
- helps us improve the product experience.
+ Traceway is also open-source software you can run yourself. A
+ self-hosted instance sends nothing to us. Section 14.
</p>
- <h2>3. How We Use Your Data</h2>
+ <h2 id="website">3. The websites</h2>
+ <h3>Connection data</h3>
+ <p>
+ tracewayapp.com and docs.tracewayapp.com are static sites served
+ through Cloudflare. To deliver pages and block abuse, Cloudflare
+ processes the connection data every web server sees: your IP
+ address, user agent, the requested URL and timing. We only see
+ aggregate statistics from it. Legal basis: our legitimate interest
+ in running a secure website (Art. 6(1)(f) GDPR).
+ </p>
+ <p>
+ The contact and subscribe forms are handled by a small Cloudflare
+ Worker. Its performance traces (URL, method, status and duration,
+ never the form contents) are recorded in our own Traceway Cloud
+ instance and kept for up to 90 days.
+ </p>
+ <h3>Analytics, only with your consent</h3>
+ <p>
+ We use Google Analytics 4 to understand which pages are read and
+ where visitors come from. If you visit from the EEA, the United
+ Kingdom or Switzerland, it is off until you choose &ldquo;Accept
+ all&rdquo; or enable analytics in the cookie banner. Elsewhere it
+ runs by default and you can turn it off, and you can change your
+ mind at any time either way via{" "}
+ <CookieSettingsLink className="underline underline-offset-4 cursor-pointer" />{" "}
+ in the footer. Google Analytics sets the <code>_ga</code> cookies
+ listed in section 6, truncates IP addresses, and we have
+ advertising features and Google Signals turned off. Google LLC
+ processes this data in the United States under the EU-US Data
+ Privacy Framework and keeps it for at most 14 months. Legal basis
+ where the GDPR applies: consent (Art. 6(1)(a)), which you can
+ withdraw at any time with effect for the future. We decide which
+ rule applies from the country your connection comes from, which
+ Cloudflare tells us; we do not store it.
+ </p>
+ <h3>The contact form</h3>
+ <p>
+ When you submit the form on <Link href="/contact">/contact</Link>,
+ your first name, last name, email address and company size are
+ emailed to us through Twilio SendGrid and land in our mailbox. We
+ use them to reply to you and to set up your account or a call. If
+ you then book a call, you are taken to Calendly with your name and
+ email pre-filled; Calendly&apos;s own privacy policy applies from
+ that point. We keep contact submissions for 12 months after our
+ last exchange, or for as long as we are in a business relationship
+ with you. Legal basis: steps you ask us to take before a contract
+ (Art. 6(1)(b)) and our legitimate interest in answering enquiries
+ (Art. 6(1)(f)).
+ </p>
+ <h3>The blog subscription</h3>
+ <p>
+ If you subscribe on the blog, we keep your email address and send
+ you an email when we publish a new engineering post. We send these
+ ourselves; there is no newsletter platform behind it. You can
+ unsubscribe at any time by replying to any post email or writing
+ to {LEGAL.privacyEmail}, and we delete your address when you do.
+ Legal basis: consent (Art. 6(1)(a)).
+ </p>
+ <h3>Links to other services</h3>
+ <p>
+ The site links to GitHub, Discord and Calendly. Those are separate
+ services with their own privacy policies. We do not embed their
+ trackers in our pages; fonts are bundled with the site rather than
+ loaded from Google, and videos are served from our own hosting.
+ </p>
+
+ <h2 id="cloud-accounts">4. Traceway Cloud accounts</h2>
+ <p>
+ This section covers the data we hold about you as a person who
+ uses Traceway Cloud. The telemetry your applications send is
+ covered in section 5.
+ </p>
+ <h3>What we collect and why</h3>
+ <div className="table-scroll">
+ <table>
+ <thead>
+ <tr>
+ <th>Data</th>
+ <th>Why we need it</th>
+ <th>Legal basis</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>
+ Name, email address, password (stored only as a hash),
+ timezone, organization name, your role in each organization
+ </td>
+ <td>
+ To create and secure your account and show you the right
+ projects
+ </td>
+ <td>Contract, Art. 6(1)(b)</td>
+ </tr>
+ <tr>
+ <td>
+ Google or GitHub account id, name, email and avatar URL
+ when you sign in with one of them
+ </td>
+ <td>To sign you in without a password</td>
+ <td>Contract, Art. 6(1)(b)</td>
+ </tr>
+ <tr>
+ <td>Email addresses of people you invite</td>
+ <td>To deliver the invitation and attach them to your organization</td>
+ <td>Legitimate interest of you and the invitee, Art. 6(1)(f)</td>
+ </tr>
+ <tr>
+ <td>
+ On-call contact methods you add: phone number (verified
+ with a code sent by SMS), Slack, Telegram or Pushover
+ identifiers, email
+ </td>
+ <td>To page you when an alert escalates to you</td>
+ <td>Contract, Art. 6(1)(b); you add and remove these yourself</td>
+ </tr>
+ <tr>
+ <td>
+ Login sessions, personal access tokens, CLI and MCP tokens
+ (all stored as hashes), device authorizations, and an audit
+ log of writes made by AI agents with your credentials
+ </td>
+ <td>To keep your account secure and let you review agent activity</td>
+ <td>Contract, Art. 6(1)(b) and legitimate interest in security, Art. 6(1)(f)</td>
+ </tr>
+ <tr>
+ <td>
+ Stripe customer id, plan, subscription status, daily usage
+ counters (exceptions and gigabytes ingested per
+ organization), invoices
+ </td>
+ <td>To bill you and enforce plan limits</td>
+ <td>Contract, Art. 6(1)(b); legal obligation for invoices, Art. 6(1)(c)</td>
+ </tr>
+ <tr>
+ <td>
+ Emails we send you: invitations, password resets, alert and
+ on-call notifications, billing and service announcements
+ </td>
+ <td>To operate the service you signed up for</td>
+ <td>Contract, Art. 6(1)(b)</td>
+ </tr>
+ <tr>
+ <td>Support conversations by email or in a shared Slack channel</td>
+ <td>To help you</td>
+ <td>Contract, Art. 6(1)(b)</td>
+ </tr>
+ <tr>
+ <td>
+ Errors and performance data of Traceway Cloud itself,
+ recorded in a Traceway project of our own, which can
+ include request URLs, timing and your account id
+ </td>
+ <td>To keep the service running and fix bugs</td>
+ <td>Legitimate interest, Art. 6(1)(f)</td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ <p>
+ Card details are entered on pages hosted by Stripe and never reach
+ our servers. The sign-up form uses Cloudflare Turnstile to keep
+ bots out; Turnstile analyzes browser signals during the check and
+ does not track you across sites. IP addresses are used in memory
+ for rate limiting and are not stored with your account.
+ </p>
+ <p>
+ We do not send marketing email to account holders without a
+ separate opt-in, we do not sell personal data, and we do not use
+ your data for advertising.
+ </p>
+
+ <h2 id="telemetry">5. Telemetry your applications send</h2>
+ <p>
+ When you connect an application to Traceway Cloud, your SDKs and
+ OpenTelemetry exporters send us telemetry. You decide what is in
+ it. It can include:
+ </p>
<ul>
- <li>To provide and operate the Traceway Cloud platform</li>
- <li>To display your application&apos;s telemetry data in the dashboard</li>
- <li>To calculate Impact Scores and prioritize issues</li>
- <li>To send important service-related communications</li>
- <li>To improve and develop new features</li>
+ <li>
+ Traces and spans with their attributes, including HTTP routes,
+ status codes, database statements and any attribute you attach
+ </li>
+ <li>Exceptions with stack traces, messages and tags</li>
+ <li>Log records with their bodies and attributes</li>
+ <li>Metrics with their tags</li>
+ <li>
+ Browser and mobile sessions: a session id, start and end time,
+ app version, the IP address of the device that sent the session
+ (recorded by our server), and attributes your code attaches, for
+ example a user id or email
+ </li>
+ <li>
+ Session replays: DOM recordings from the browser SDK, or
+ screenshots-based video from the Flutter SDK, with the masking
+ rules you configure applied on the device before upload
+ </li>
+ <li>
+ AI traces: model, token counts and cost, and, unless you enable
+ privacy mode in your exporter, the prompts and completions
+ themselves, which are scanned at ingest for terms you configure
+ </li>
+ <li>Profiles, synthetic monitor results, source maps and debug symbols</li>
</ul>
+ <p>
+ For this data you are the controller and we are your processor. We
+ process it only to provide the service to you, as set out in the{" "}
+ <Link href="/dpa">Data Processing Addendum</Link>, and we never use
+ it for our own purposes, to train models, or to profile the people
+ it describes. Our SDK documentation explains how to mask inputs,
+ exclude fields and avoid sending data you do not need.
+ </p>
+
+ <h2 id="cookies">6. Cookies and local storage</h2>
+ <p>
+ We use as few cookies as we can. Nothing on our sites is used for
+ advertising or cross-site tracking.
+ </p>
+ <h3>tracewayapp.com</h3>
+ <div className="table-scroll">
+ <table>
+ <thead>
+ <tr>
+ <th>Name</th>
+ <th>Set by</th>
+ <th>Purpose</th>
+ <th>Type</th>
+ <th>Lifetime</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><code>tw_consent</code></td>
+ <td>Traceway</td>
+ <td>Remembers the choice you made in the cookie banner</td>
+ <td>Strictly necessary</td>
+ <td>6 months</td>
+ </tr>
+ <tr>
+ <td><code>__cf_bm</code>, <code>cf_clearance</code></td>
+ <td>Cloudflare</td>
+ <td>
+ Bot protection, set only when Cloudflare decides a check is
+ needed
+ </td>
+ <td>Strictly necessary</td>
+ <td>Up to 30 minutes, or the duration of a passed challenge</td>
+ </tr>
+ <tr>
+ <td><code>_ga</code></td>
+ <td>Google Analytics</td>
+ <td>Tells returning visitors apart in aggregate statistics</td>
+ <td>Analytics, opt-in in the EEA, UK and Switzerland, opt-out elsewhere</td>
+ <td>2 years</td>
+ </tr>
+ <tr>
+ <td><code>_ga_KSB465GF2W</code></td>
+ <td>Google Analytics</td>
+ <td>Keeps the state of your current visit</td>
+ <td>Analytics, opt-in in the EEA, UK and Switzerland, opt-out elsewhere</td>
+ <td>2 years</td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ <p>
+ If you reject analytics or opt out later, we turn the Google
+ Analytics tag off and delete its cookies from your browser. We
+ honor the Global Privacy Control signal everywhere: when your
+ browser sends it, analytics stays off unless you turn it on
+ yourself.
+ </p>
+ <h3>docs.tracewayapp.com</h3>
+ <p>
+ The documentation site sets no cookies of its own and loads no
+ analytics. Cloudflare may set the security cookies listed above.
+ </p>
+ <h3>cloud.tracewayapp.com</h3>
+ <p>
+ The dashboard is a web application and needs to remember who you
+ are. Everything it stores is strictly necessary and stays in your
+ browser:
+ </p>
+ <div className="table-scroll">
+ <table>
+ <thead>
+ <tr>
+ <th>Name</th>
+ <th>Where</th>
+ <th>Purpose</th>
+ <th>Lifetime</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><code>AUTH_TOKEN</code></td>
+ <td>Local storage</td>
+ <td>Your login session</td>
+ <td>Valid for 7 days, removed on logout</td>
+ </tr>
+ <tr>
+ <td>
+ <code>CURRENT_PROJECT_ID</code>,{" "}
+ <code>USER_ORGANIZATIONS</code>,{" "}
+ <code>PROJECTS_CACHE_V2</code>
+ </td>
+ <td>Local storage</td>
+ <td>Which project and organization you were looking at</td>
+ <td>Until logout</td>
+ </tr>
+ <tr>
+ <td>
+ <code>traceway_theme</code>, <code>traceway_sort_*</code>{" "}
+ and time-range preferences
+ </td>
+ <td>Local storage</td>
+ <td>Dark or light mode, table sorting, selected time ranges</td>
+ <td>Until you clear your browser data</td>
+ </tr>
+ <tr>
+ <td><code>sidebar:state</code></td>
+ <td>Cookie</td>
+ <td>Whether you collapsed the sidebar</td>
+ <td>7 days</td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ <p>
+ The sign-up page loads Cloudflare Turnstile, which may set a
+ Cloudflare cookie for the duration of the bot check. The dashboard
+ loads no analytics.
+ </p>
- <h2>4. Data Retention</h2>
+ <h2 id="sharing">7. Who we share data with</h2>
+ <p>
+ We share personal data only with the service providers below, who
+ act on our instructions under data processing agreements, and
+ otherwise only where the law requires it. The column
+ &ldquo;Customer telemetry&rdquo; marks the providers that can come
+ into contact with the data described in section 5; they are also
+ the sub-processors listed in our{" "}
+ <Link href="/dpa#subprocessors">Data Processing Addendum</Link>.
+ </p>
+ <SubprocessorTable />
<p>
- Telemetry data (transactions, exceptions, metrics) is retained
- according to your plan&apos;s retention period. Account data is
- retained for as long as your account is active. You may request
- deletion of your account and associated data at any time by
- contacting us.
+ Some services receive data because you chose to use them, and they
+ act as independent controllers: Google and GitHub when you sign in
+ with them, Calendly when you book a call, and the destinations you
+ configure for alerts and paging (Slack, Telegram, Pushover,
+ GitHub issues, webhooks). We will disclose data to authorities only
+ when we are legally required to, and we will tell you first unless
+ the law forbids it.
</p>
- <h2>5. Data Security</h2>
+ <h2 id="transfers">8. Where your data is stored</h2>
+ <p>
+ We are a United States company, and Traceway Cloud runs on Amazon
+ Web Services in the United States (us-east-1, N. Virginia). The
+ websites are served from
+ Cloudflare&apos;s global network. Our email and SMS providers are
+ in the United States. If you are in the EEA, the United Kingdom or
+ Switzerland, this means your data is transferred to a country
+ without a general adequacy decision. We rely on the EU-US Data
+ Privacy Framework for providers certified under it and on the
+ European Commission&apos;s Standard Contractual Clauses for the
+ rest, together with the technical measures in section 10. The
+ Standard Contractual Clauses between you and us are part of the{" "}
+ <Link href="/dpa#transfers">Data Processing Addendum</Link>.
+ </p>
+
+ <h2 id="retention">9. How long we keep data</h2>
+ <div className="table-scroll">
+ <table>
+ <thead>
+ <tr>
+ <th>Data</th>
+ <th>Kept for</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>Account and organization data</td>
+ <td>
+ While your account exists, then deleted within 30 days of
+ closure
+ </td>
+ </tr>
+ <tr>
+ <td>Invoices and billing records</td>
+ <td>As long as accounting and tax law requires, up to 10 years</td>
+ </tr>
+ <tr>
+ <td>Expired login sessions, tokens and device authorizations</td>
+ <td>Pruned daily; used refresh tokens kept 30 days for replay detection</td>
+ </tr>
+ <tr>
+ <td>Agent write audit log</td>
+ <td>90 days</td>
+ </tr>
+ <tr>
+ <td>Log records</td>
+ <td>90 days</td>
+ </tr>
+ <tr>
+ <td>Metrics</td>
+ <td>
+ Raw points 7 days, one-minute rollups 30 days, hourly
+ rollups 1 year
+ </td>
+ </tr>
+ <tr>
+ <td>Profiles</td>
+ <td>30 days</td>
+ </tr>
+ <tr>
+ <td>Synthetic monitor results</td>
+ <td>90 days</td>
+ </tr>
+ <tr>
+ <td>
+ Traces, exceptions, sessions, session replays, AI
+ conversations
+ </td>
+ <td>
+ While the project exists. Deleted within 30 days after you
+ delete the project or close your account. On request we
+ apply a shorter window to your organization.
+ </td>
+ </tr>
+ <tr>
+ <td>Contact form submissions</td>
+ <td>12 months after our last exchange</td>
+ </tr>
+ <tr>
+ <td>Blog subscription</td>
+ <td>Until you unsubscribe</td>
+ </tr>
+ <tr>
+ <td>Google Analytics data</td>
+ <td>At most 14 months, at Google</td>
+ </tr>
+ <tr>
+ <td>Database backups</td>
+ <td>Rotated within 35 days</td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+
+ <h2 id="security">10. Security</h2>
+ <p>
+ All traffic to our sites and APIs is encrypted with TLS. Data at
+ rest on AWS is encrypted with AWS-managed keys. Passwords are
+ stored as salted hashes, and every API token, personal access
+ token and refresh token is stored as a SHA-256 hash, so a database
+ copy does not reveal them. Production access is limited to the
+ founders, uses SSH keys and multi-factor authentication, and
+ changes ship through a reviewed, audited pipeline. Rate limits and
+ admission controls protect the ingest endpoints, and private
+ network targets are blocked for synthetic monitors on Cloud.
+ Independent SOC 2 Type II and ISO 27001 audits are in progress.
+ If we ever suffer a breach that affects your data, we will notify
+ you without undue delay and the supervisory authority within 72
+ hours where the law requires it.
+ </p>
+
+ <h2 id="rights">11. Your rights</h2>
+ <p>Under the GDPR and similar laws you can ask us to:</p>
+ <ul>
+ <li>confirm whether we hold data about you and give you a copy (access)</li>
+ <li>correct data that is wrong (rectification)</li>
+ <li>delete your data (erasure)</li>
+ <li>stop or limit processing (restriction and objection)</li>
+ <li>hand your data over in a machine-readable format (portability)</li>
+ <li>withdraw a consent you gave, with effect for the future</li>
+ </ul>
+ <p>
+ Email <a href={`mailto:${LEGAL.privacyEmail}`}>{LEGAL.privacyEmail}</a>{" "}
+ from the address on your account, or use the{" "}
+ <Link href="/contact">contact form</Link>. We answer within one
+ month, and we may ask you to confirm your identity first. Account
+ holders can change their name, email and contact methods, revoke
+ tokens, delete projects and cancel subscriptions from the
+ dashboard; to close the account entirely, email us and we delete it
+ within 30 days. You can also complain to a data protection
+ authority, in particular the one in the EU member state where you
+ live or work.
+ </p>
+ <p>
+ <strong>If you live in California or another US state</strong>{" "}
+ with a privacy law, you have equivalent rights to know, access,
+ correct and delete your data, and to opt out of its sale or
+ sharing. We do not sell personal data and do not share it for
+ cross-context behavioral advertising, so there is nothing to opt
+ out of. Exercise the other rights by email as described above; we
+ will not treat you differently for doing so.
+ </p>
<p>
- We implement appropriate technical and organizational measures to
- protect your data. All data in transit is encrypted via TLS. Access
- to production systems is restricted and audited.
+ <strong>
+ If your data was sent to us by one of our customers
+ </strong>{" "}
+ (section 5), that customer is the controller and the one who can
+ find, correct or delete it, because we cannot identify you in their
+ telemetry. Please contact them. If you do write to us, we will
+ forward your request to the customer where we can identify them,
+ and we help every customer honor such requests.
</p>
- <h2>6. Third-Party Services</h2>
+ <h2 id="children">12. Children</h2>
<p>
- Traceway Cloud may use third-party infrastructure providers for
- hosting and data storage. We do not sell your data to third parties.
- We may use service providers for email delivery and payment
- processing, who are bound by their own privacy policies.
+ Our services are for businesses and developers and are not
+ directed at anyone under 16. We do not knowingly collect data from
+ children. If you believe a child has given us data, tell us and we
+ will delete it.
</p>
- <h2>7. Open-Source Self-Hosted Version</h2>
+ <h2 id="automated">13. Automated decisions</h2>
<p>
- Traceway is available as an open-source, self-hosted solution. When
- you self-host Traceway, all data remains entirely on your own
- infrastructure. We do not collect any data from self-hosted
- instances. The self-hosted version is provided &ldquo;as is&rdquo;
- with no guarantees regarding data handling, security, or
- availability. You are solely responsible for the configuration,
- security, and maintenance of your self-hosted deployment.
+ We do not make decisions about you by automated means that have
+ legal or similarly significant effects. Plan limits are enforced
+ automatically, but they follow from the plan you chose and are
+ explained in the dashboard.
</p>
- <h2>8. Your Rights</h2>
+ <h2 id="self-hosted">14. Self-hosted Traceway</h2>
<p>
- You have the right to access, correct, or delete your personal
- data. You may also request an export of your data. To exercise
- these rights, please contact us using the information below.
+ Traceway is open source and you can run it on your own servers.
+ A self-hosted instance sends no data to us: no telemetry, no usage
+ statistics, no crash reports. It only contacts third parties you
+ configure yourself, such as a Slack webhook or GitHub for issue
+ notifications. For a self-hosted instance, the operator is the
+ controller and this policy does not apply.
</p>
- <h2>9. Changes to This Policy</h2>
+ <h2 id="changes">15. Changes to this policy</h2>
<p>
- We may update this Privacy Policy from time to time. We will notify
- you of any material changes by posting the updated policy on this
- page with a revised &ldquo;Last updated&rdquo; date.
+ When we change this policy, we update the date at the top. If a
+ change affects how we use the data of account holders in a
+ material way, we also email account administrators at least 14
+ days before it takes effect.
</p>
- <h2>10. Contact</h2>
+ <h2 id="contact">16. Contact</h2>
<p>
- If you have any questions about this Privacy Policy, please{" "}
- <Link href="/contact">contact us</Link>.
+ {LEGAL.entity}, {LEGAL.address}. Email{" "}
+ <a href={`mailto:${LEGAL.privacyEmail}`}>{LEGAL.privacyEmail}</a>{" "}
+ or use the <Link href="/contact">contact form</Link>.
</p>
</article>
</section>
diff --git a/website/app/product/flutter-session-replay/page.tsx b/website/app/product/flutter-session-replay/page.tsx
index e10e337f..d1a3e235 100644
--- a/website/app/product/flutter-session-replay/page.tsx
+++ b/website/app/product/flutter-session-replay/page.tsx
@@ -428,7 +428,7 @@ export default function FlutterSessionReplayPage() {
Blog post →
</Link>
<Link
- href="/privacy-policy"
+ href="/dpa"
className="inline-flex items-center gap-1.5 hover:text-[color:var(--a2)]"
style={{ color: "var(--fg-1)", fontFamily: "var(--font-mono)" }}
>
diff --git a/website/app/terms-of-use/page.tsx b/website/app/terms-of-use/page.tsx
index a3eb3bb5..78662238 100644
--- a/website/app/terms-of-use/page.tsx
+++ b/website/app/terms-of-use/page.tsx
@@ -1,5 +1,13 @@
import Link from "next/link";
+import type { Metadata } from "next";
import { Eyebrow } from "@/components/eyebrow";
+import { LEGAL } from "@/lib/legal";
+
+export const metadata: Metadata = {
+ title: "Terms of Use · Traceway",
+ description:
+ "The terms that govern Traceway Cloud: accounts, plans and billing, your data and our obligations as its processor, acceptable use, liability and termination.",
+};
export default function TermsOfUse() {
return (
@@ -9,108 +17,315 @@ export default function TermsOfUse() {
<Eyebrow>Legal</Eyebrow>
<h1 className="mt-4 mb-3">Terms of Use</h1>
<p style={{ color: "var(--fg-3)" }} className="mb-12">
- Last updated: February 15, 2026
+ Last updated: {LEGAL.updated}
</p>
- <h2>1. Acceptance of Terms</h2>
<p>
- By accessing or using Traceway Cloud (&ldquo;the Service&rdquo;),
- you agree to be bound by these Terms of Use. If you do not agree to
- these terms, you may not use the Service. These terms apply to the
- Traceway Cloud offering operated by Traceway (&ldquo;we&rdquo;,
- &ldquo;our&rdquo;, or &ldquo;us&rdquo;).
+ These terms are a contract between you and {LEGAL.entity} (
+ {LEGAL.entityDescription}), {LEGAL.address} (&ldquo;Traceway&rdquo;,
+ &ldquo;we&rdquo;, &ldquo;us&rdquo;) for the use of Traceway Cloud,
+ the hosted service at cloud.tracewayapp.com (the
+ &ldquo;Service&rdquo;). By creating an account or using the
+ Service you accept them. If you accept on behalf of a company, you
+ confirm that you are authorized to bind it, and &ldquo;you&rdquo;
+ means that company. The <Link href="/privacy-policy">Privacy
+ Policy</Link> and the <Link href="/dpa">Data Processing
+ Addendum</Link> are part of these terms.
</p>
- <h2>2. Description of Service</h2>
+ <h2>1. Eligibility</h2>
+ <p>
+ The Service is for businesses, teams and developers. You must be
+ at least 18 years old and use the Service for your work or
+ projects, not as a consumer.
+ </p>
+
+ <h2>2. The Service</h2>
+ <p>
+ Traceway Cloud is a hosted observability platform. It ingests
+ telemetry from your applications through the Traceway SDKs and
+ OpenTelemetry (traces, exceptions, logs, metrics, sessions and
+ session replays, AI traces, profiles), stores it, and shows it in a
+ dashboard together with alerting, on-call paging, synthetic
+ monitors, status pages and an API, CLI and MCP server. Features
+ marked as beta or preview may change or be withdrawn without
+ notice.
+ </p>
<p>
- Traceway Cloud is a hosted application monitoring platform that
- provides endpoint analytics, exception tracking, session replay,
- distributed tracing, metrics, logs, and Impact Score prioritization.
- The Service ingests telemetry data from your applications via the
- Traceway SDK or OpenTelemetry and presents it through a web
- dashboard.
+ The same software is available under the MIT license for
+ self-hosting. Self-hosted instances are not covered by these terms
+ except for section 14, and we provide no warranty or support for
+ them unless we agree so in writing.
</p>
- <h2>3. Account Responsibilities</h2>
+ <h2>3. Your account</h2>
<p>
- You are responsible for maintaining the confidentiality of your
- account credentials and project tokens. You are responsible for all
- activity that occurs under your account. You agree to notify us
- immediately of any unauthorized use of your account.
+ Keep your password, personal access tokens, project tokens and
+ source map tokens confidential. You are responsible for everything
+ done through your account and tokens, including by AI agents you
+ connect through the CLI or MCP server. Tell us at{" "}
+ <a href={`mailto:${LEGAL.privacyEmail}`}>{LEGAL.privacyEmail}</a>{" "}
+ as soon as you learn of any unauthorized use. You must give us
+ accurate account and billing information and keep it current.
</p>
- <h2>4. Acceptable Use</h2>
- <p>You agree not to:</p>
+ <h2>4. Plans, fees and billing</h2>
+ <ul>
+ <li>
+ <strong>Starter</strong> is free and comes with the limits shown
+ on the <Link href="/cloud">pricing page</Link>. We may change
+ the free plan&apos;s limits with 30 days&apos; notice.
+ </li>
+ <li>
+ <strong>Paid plans</strong> are billed in advance per billing
+ period through Stripe and renew automatically until canceled.
+ Prices are stated without sales tax, VAT and other taxes, which
+ we add where we are required to.
+ </li>
+ <li>
+ <strong>Overages.</strong> If you turn on usage-based overages,
+ data ingested above your plan&apos;s allowance is billed at the
+ per-gigabyte rate shown in the dashboard at the end of the
+ period.
+ </li>
+ <li>
+ <strong>Cancellation.</strong> You can cancel at any time from
+ the billing settings. The plan stays active until the end of the
+ period you paid for. Fees are not refunded for partial periods,
+ except where the law requires it or we have let you down and
+ agree to a refund.
+ </li>
+ <li>
+ <strong>Price changes</strong> take effect at your next renewal
+ and only after we have emailed you at least 30 days in advance.
+ </li>
+ <li>
+ <strong>Late payment.</strong> If a payment fails, we retry and
+ email you. If it still fails after 14 days, we may downgrade or
+ suspend the paid features until it is settled.
+ </li>
+ <li>
+ <strong>Enterprise</strong> plans are governed by the order form
+ or agreement we sign with you; where it conflicts with these
+ terms, the order form wins.
+ </li>
+ </ul>
+
+ <h2>5. Limits and fair use</h2>
+ <p>
+ Each plan has limits on exceptions, ingested data, projects,
+ members and monitors. The dashboard warns you at 80%. At a limit,
+ new data for that meter is paused until the next billing period or
+ until you upgrade; nothing already stored is deleted. We may apply
+ reasonable rate limits to protect the Service for everyone.
+ </p>
+
+ <h2>6. Your data</h2>
+ <p>
+ Everything you send to the Service, and everything derived from it
+ in your dashboard, is <strong>Customer Data</strong>. You own it.
+ You give us a license to host, process, display and transmit
+ Customer Data only as needed to provide the Service to you, to
+ keep it secure, to comply with the law, and as you otherwise
+ instruct. We do not sell Customer Data, use it for advertising, or
+ use it to train machine-learning models. We may compute aggregate
+ statistics that do not identify you or anyone in your data (for
+ example total ingest volume) to operate and improve the Service.
+ </p>
+ <p>
+ Where Customer Data contains personal data, you are the
+ controller and we are your processor. The{" "}
+ <Link href="/dpa">Data Processing Addendum</Link> sets out our
+ obligations, including security, sub-processors, breach
+ notification and deletion.
+ </p>
+ <p>You are responsible for Customer Data. In particular, you will:</p>
+ <ul>
+ <li>
+ have a lawful basis for collecting and sending it, and give the
+ people it describes the notices the law requires
+ </li>
+ <li>
+ use the SDK masking and sampling options so that you only send
+ what you need, and not send payment card numbers, government
+ identifiers, health data, passwords or other secrets, or special
+ categories of personal data unless they are masked
+ </li>
+ <li>
+ not use the Service to monitor people in a way that is unlawful
+ where they live, and not knowingly send us data about children
+ </li>
+ <li>
+ keep your own copies of anything you need to retain beyond the
+ retention periods in the Privacy Policy
+ </li>
+ </ul>
+
+ <h2>7. Acceptable use</h2>
+ <p>You will not:</p>
<ul>
- <li>Use the Service for any unlawful purpose or in violation of any applicable laws</li>
- <li>Attempt to gain unauthorized access to the Service or its related systems</li>
- <li>Interfere with or disrupt the integrity or performance of the Service</li>
- <li>Transmit any malicious code, viruses, or harmful data through the Service</li>
- <li>Resell, sublicense, or redistribute the Service without our prior written consent</li>
+ <li>break the law or infringe anyone&apos;s rights using the Service</li>
+ <li>
+ probe, scan or attack the Service or other customers&apos;
+ projects, or try to access data that is not yours
+ </li>
+ <li>
+ send malicious code, or use synthetic monitors, notifications or
+ the API against systems you are not authorized to test or
+ contact
+ </li>
+ <li>
+ resell or sublicense the Service, or use it to build a
+ competing hosted product using our proprietary parts
+ </li>
+ <li>
+ work around plan limits, billing or rate limits, or create
+ multiple free accounts to avoid paying
+ </li>
</ul>
+ <p>
+ We may remove content or suspend an account that breaks these
+ rules. Where practical we warn you first and give you a chance to
+ fix it.
+ </p>
+
+ <h2>8. Third-party services and integrations</h2>
+ <p>
+ The Service connects to services you choose, such as Google or
+ GitHub for sign-in, Slack, Telegram, Pushover, SMS and webhooks for
+ alerts, GitHub for issues, and the AI agents and MCP clients you
+ attach. Those services have their own terms, and we are not
+ responsible for them. You are responsible for what an agent does
+ with the credentials you give it; the agent write log in your
+ organization settings is there to help you review it.
+ </p>
- <h2>5. Open-Source License Disclaimer</h2>
+ <h2>9. Security and availability</h2>
<p>
- Traceway is available as open-source software for self-hosting. The
- self-hosted version is provided &ldquo;as is&rdquo; without warranty
- of any kind, express or implied, including but not limited to the
- warranties of merchantability, fitness for a particular purpose,
- and non-infringement. Traceway takes no responsibility for any
- issues, data loss, security vulnerabilities, or downtime arising
- from customer self-hosted deployments. You are solely responsible
- for the operation, maintenance, and security of your self-hosted
- instance.
+ We protect the Service with the measures described in the Privacy
+ Policy and the Data Processing Addendum, and we keep improving
+ them. We aim for the Service to be available at all times but do
+ not promise uninterrupted access on Starter and Premium plans. We
+ may run maintenance, and we announce planned maintenance that
+ affects availability in advance where we can. Service level
+ commitments are available in Enterprise agreements.
</p>
- <h2>6. Intellectual Property</h2>
+ <h2>10. Intellectual property</h2>
<p>
- The Traceway name, logo, and branding are the property of Traceway.
- The Traceway Cloud platform design, proprietary infrastructure, and
- service delivery are owned by us. The open-source codebase is
- licensed under its respective open-source license.
+ The Traceway name, logo and branding, the design of the Service,
+ and our proprietary infrastructure belong to us. The open-source
+ parts of Traceway are licensed under the MIT license published in
+ the repository, and nothing here limits that license. If you give
+ us feedback or suggestions, we may use them without obligation to
+ you.
</p>
- <h2>7. Limitation of Liability</h2>
+ <h2>11. Confidentiality</h2>
+ <p>
+ We treat Customer Data and anything you mark as confidential as
+ confidential: we use it only to provide the Service, we share it
+ only with the sub-processors listed in the Data Processing
+ Addendum and with people who need it to help you, and we protect
+ it with reasonable care. You will do the same with non-public
+ information about the Service that we share with you, such as
+ audit reports under NDA.
+ </p>
+
+ <h2>12. Warranties and disclaimers</h2>
+ <p>
+ We warrant that we provide the Service with reasonable skill and
+ care and substantially as described on our website. Beyond that,
+ and to the extent the law allows, the Service is provided
+ &ldquo;as is&rdquo; and we disclaim all other warranties, express
+ or implied, including fitness for a particular purpose and
+ non-infringement. Monitoring data can be incomplete or delayed;
+ you should not rely on the Service as your only safeguard for
+ life, safety or regulatory obligations.
+ </p>
+
+ <h2>13. Liability</h2>
+ <p>
+ To the extent the law allows, neither party is liable to the
+ other for indirect, incidental, special, consequential or punitive
+ damages, or for lost profits, revenue or data, however caused.
+ Our total liability under these terms in any 12-month period is
+ limited to the fees you paid us in that period, or 100 US dollars
+ if you paid none. These limits do not apply to a party&apos;s
+ breach of confidentiality, your payment obligations, your
+ indemnity under section 14, or liability that cannot be limited by
+ law, such as for fraud or for death or personal injury caused by
+ negligence.
+ </p>
+
+ <h2>14. Indemnity</h2>
+ <p>
+ You will defend and indemnify us against third-party claims, and
+ the resulting damages and reasonable costs, that arise from
+ Customer Data, from your breach of section 6 or 7, or from your
+ use of a self-hosted instance. We will tell you promptly about any
+ such claim and let you control the defense, and we will help you
+ at your expense.
+ </p>
+
+ <h2>15. Term, termination and deletion</h2>
+ <p>
+ These terms apply for as long as you have an account. You can
+ close your account at any time by cancelling any subscription and
+ emailing us. We may suspend or terminate your account on notice if
+ you materially breach these terms and do not fix the breach within
+ 14 days of our notice, if you do not pay, or immediately if your
+ use threatens the security or integrity of the Service or we are
+ required to by law. We may also discontinue the Service as a whole
+ with at least 90 days&apos; notice.
+ </p>
<p>
- To the maximum extent permitted by applicable law, Traceway shall
- not be liable for any indirect, incidental, special, consequential,
- or punitive damages, or any loss of profits or revenues, whether
- incurred directly or indirectly, or any loss of data, use,
- goodwill, or other intangible losses resulting from your use of or
- inability to use the Service.
+ Before closure, you can export your data through the dashboard,
+ the API and the CLI. After closure, we delete Customer Data and
+ your account data within 30 days, except for backups that rotate
+ within 35 days and records we must keep by law. Sections 6, 10
+ through 14, 15 and 17 survive termination.
</p>
- <h2>8. Service Availability</h2>
+ <h2>16. Changes to these terms</h2>
<p>
- We strive to maintain high availability of Traceway Cloud but do
- not guarantee uninterrupted access. We may perform scheduled
- maintenance with reasonable notice. We are not liable for any
- downtime or service interruptions.
+ We may update these terms. For material changes we email
+ organization administrators at least 30 days before the change
+ takes effect; other changes take effect when we publish them with a
+ new date at the top of this page. If you do not agree to a change,
+ you may close your account before it takes effect. Continuing to
+ use the Service after that date means you accept it.
</p>
- <h2>9. Termination</h2>
+ <h2>17. Governing law and disputes</h2>
<p>
- We may suspend or terminate your access to the Service at any time
- for violation of these terms or for any other reason at our sole
- discretion. You may terminate your account at any time by
- contacting us. Upon termination, your right to use the Service
- ceases immediately. We may delete your data after a reasonable
- retention period following termination.
+ These terms are governed by the laws of {LEGAL.governingLaw},
+ without regard to its conflict-of-law rules. Any dispute that we
+ cannot settle by talking will be brought before the courts of{" "}
+ {LEGAL.venue}, except that mandatory consumer and data protection
+ law in your country still applies where it cannot be contracted
+ away.
</p>
- <h2>10. Changes to Terms</h2>
+ <h2>18. General</h2>
<p>
- We reserve the right to modify these Terms of Use at any time. We
- will notify you of material changes by posting the updated terms on
- this page with a revised &ldquo;Last updated&rdquo; date. Continued
- use of the Service after changes constitutes acceptance of the new
- terms.
+ These terms, the Privacy Policy, the Data Processing Addendum and
+ any order form are the entire agreement between us about the
+ Service. If a part of them is found unenforceable, the rest still
+ applies. Neither party is liable for delays caused by events
+ outside its reasonable control. You may not assign these terms
+ without our consent; we may assign them to a successor of our
+ business and will tell you if we do. Notices to you go to the
+ email address of your organization&apos;s administrators; notices
+ to us go to{" "}
+ <a href={`mailto:${LEGAL.privacyEmail}`}>{LEGAL.privacyEmail}</a>.
</p>
- <h2>11. Contact</h2>
+ <h2>19. Contact</h2>
<p>
- If you have any questions about these Terms of Use, please{" "}
- <Link href="/contact">contact us</Link>.
+ Questions about these terms: {LEGAL.entity}, {LEGAL.address},{" "}
+ <a href={`mailto:${LEGAL.privacyEmail}`}>{LEGAL.privacyEmail}</a>, or
+ the <Link href="/contact">contact form</Link>.
</p>
</article>
</section>
diff --git a/website/components/blog-subscribe.tsx b/website/components/blog-subscribe.tsx
index 2f815493..f158d64c 100644
--- a/website/components/blog-subscribe.tsx
+++ b/website/components/blog-subscribe.tsx
@@ -1,6 +1,7 @@
"use client";
import { useState, FormEvent } from "react";
+import Link from "next/link";
import { Eyebrow } from "@/components/eyebrow";
export function BlogSubscribe() {
@@ -82,6 +83,20 @@ export function BlogSubscribe() {
</form>
)}
+ {status !== "success" && (
+ <p
+ className="mt-3 text-[12px]"
+ style={{ color: "var(--fg-3)", fontFamily: "var(--font-mono)" }}
+ >
+ We only use your address to send you new posts. Unsubscribe any time
+ by replying to one. See our{" "}
+ <Link href="/privacy-policy" className="underline underline-offset-4">
+ Privacy Policy
+ </Link>
+ .
+ </p>
+ )}
+
{status === "error" && (
<p
className="mt-3 text-[13px]"
diff --git a/website/components/cookie-consent.tsx b/website/components/cookie-consent.tsx
new file mode 100644
index 00000000..02f9981d
--- /dev/null
+++ b/website/components/cookie-consent.tsx
@@ -0,0 +1,212 @@
+"use client";
+
+import { useEffect, useRef, useState, useSyncExternalStore } from "react";
+import Link from "next/link";
+import { Cookie, X } from "lucide-react";
+
+import {
+ CONSENT_SETTINGS_EVENT,
+ SERVER_SNAPSHOT,
+ applyConsent,
+ consentRequired,
+ consentSnapshot,
+ hasGlobalPrivacyControl,
+ readConsent,
+ subscribeConsent,
+ writeConsent,
+} from "@/lib/consent";
+
+type Regime = "pending" | "optin" | "optout";
+
+export function CookieConsent() {
+ const snapshot = useSyncExternalStore(
+ subscribeConsent,
+ consentSnapshot,
+ () => SERVER_SNAPSHOT,
+ );
+ const [regime, setRegime] = useState<Regime>("pending");
+ const regimeRef = useRef<Regime>("pending");
+ const [settingsOpen, setSettingsOpen] = useState(false);
+ const [analytics, setAnalytics] = useState(false);
+
+ useEffect(() => {
+ let cancelled = false;
+ const stored = readConsent();
+ if (stored) {
+ applyConsent(stored);
+ } else {
+ consentRequired().then((required) => {
+ if (cancelled) return;
+ const next: Regime = required ? "optin" : "optout";
+ regimeRef.current = next;
+ setRegime(next);
+ if (!required && !hasGlobalPrivacyControl()) {
+ applyConsent({ analytics: true });
+ }
+ });
+ }
+
+ const onOpen = () => {
+ const implied =
+ regimeRef.current === "optout" && !hasGlobalPrivacyControl();
+ setAnalytics(readConsent()?.analytics ?? implied);
+ setSettingsOpen(true);
+ };
+ window.addEventListener(CONSENT_SETTINGS_EVENT, onOpen);
+ return () => {
+ cancelled = true;
+ window.removeEventListener(CONSENT_SETTINGS_EVENT, onOpen);
+ };
+ }, []);
+
+ function decide(next: boolean) {
+ writeConsent({ analytics: next });
+ setAnalytics(next);
+ setSettingsOpen(false);
+ }
+
+ if (snapshot === SERVER_SNAPSHOT) return null;
+ const hasChoice = snapshot !== "";
+ const view = settingsOpen
+ ? "settings"
+ : hasChoice || regime !== "optin"
+ ? "hidden"
+ : "banner";
+ if (view === "hidden") return null;
+
+ const optOutRegime = regime === "optout";
+
+ return (
+ <div
+ className="cookie-banner"
+ role="dialog"
+ aria-labelledby="cookie-banner-title"
+ aria-describedby="cookie-banner-desc"
+ >
+ <div className="cookie-banner-head">
+ <span className="eyebrow">Cookies</span>
+ {hasChoice || optOutRegime ? (
+ <button
+ type="button"
+ className="cookie-banner-close"
+ onClick={() => setSettingsOpen(false)}
+ aria-label="Close cookie settings"
+ >
+ <X className="h-4 w-4" />
+ </button>
+ ) : null}
+ </div>
+
+ <h2 id="cookie-banner-title" className="cookie-banner-title">
+ <Cookie className="h-4 w-4" aria-hidden />
+ {view === "settings" ? "Cookie settings" : "We use one optional cookie"}
+ </h2>
+
+ <p id="cookie-banner-desc" className="cookie-banner-text">
+ This site sets a strictly necessary cookie to remember your choice.{" "}
+ {optOutRegime
+ ? "Google Analytics counts visits in aggregate and you can turn it off here at any time."
+ : "Google Analytics is loaded only if you allow it, to count visits in aggregate."}{" "}
+ No advertising, no cross-site tracking.{" "}
+ <Link href="/privacy-policy#cookies">How we use cookies</Link>
+ </p>
+
+ {view === "settings" ? (
+ <div className="cookie-banner-options">
+ <ConsentRow
+ title="Strictly necessary"
+ detail="Remembers your cookie choice for six months. Always on."
+ checked
+ disabled
+ />
+ <ConsentRow
+ title="Analytics"
+ detail="Google Analytics 4. Sets _ga cookies for up to two years."
+ checked={analytics}
+ onChange={setAnalytics}
+ />
+ </div>
+ ) : null}
+
+ <div className="cookie-banner-actions">
+ {view === "settings" ? (
+ <>
+ <button
+ type="button"
+ className="btn btn-ghost btn-sm"
+ onClick={() => decide(false)}
+ >
+ Reject all
+ </button>
+ <button
+ type="button"
+ className="btn btn-accent btn-sm"
+ onClick={() => decide(analytics)}
+ >
+ Save choices
+ </button>
+ </>
+ ) : (
+ <>
+ <button
+ type="button"
+ className="btn btn-ghost btn-sm"
+ onClick={() => decide(false)}
+ >
+ Reject all
+ </button>
+ <button
+ type="button"
+ className="btn btn-accent btn-sm"
+ onClick={() => decide(true)}
+ >
+ Accept all
+ </button>
+ <button
+ type="button"
+ className="cookie-banner-link"
+ onClick={() => setSettingsOpen(true)}
+ >
+ Customize
+ </button>
+ </>
+ )}
+ </div>
+ </div>
+ );
+}
+
+function ConsentRow({
+ title,
+ detail,
+ checked,
+ disabled,
+ onChange,
+}: {
+ title: string;
+ detail: string;
+ checked: boolean;
+ disabled?: boolean;
+ onChange?: (next: boolean) => void;
+}) {
+ return (
+ <div className="cookie-banner-row">
+ <div className="min-w-0">
+ <div className="cookie-banner-row-title">{title}</div>
+ <div className="cookie-banner-row-detail">{detail}</div>
+ </div>
+ <button
+ type="button"
+ role="switch"
+ aria-checked={checked}
+ aria-label={title}
+ disabled={disabled}
+ className="cookie-switch"
+ data-on={checked}
+ onClick={() => onChange?.(!checked)}
+ >
+ <span className="cookie-switch-thumb" />
+ </button>
+ </div>
+ );
+}
diff --git a/website/components/cookie-settings-link.tsx b/website/components/cookie-settings-link.tsx
new file mode 100644
index 00000000..037d3db5
--- /dev/null
+++ b/website/components/cookie-settings-link.tsx
@@ -0,0 +1,24 @@
+"use client";
+
+import type { CSSProperties } from "react";
+
+import { openConsentSettings } from "@/lib/consent";
+
+export function CookieSettingsLink({
+ className,
+ style,
+}: {
+ className?: string;
+ style?: CSSProperties;
+}) {
+ return (
+ <button
+ type="button"
+ onClick={openConsentSettings}
+ className={className}
+ style={style}
+ >
+ Cookie settings
+ </button>
+ );
+}
diff --git a/website/components/site-footer.tsx b/website/components/site-footer.tsx
index 3c97fc97..b9139981 100644
--- a/website/components/site-footer.tsx
+++ b/website/components/site-footer.tsx
@@ -3,6 +3,7 @@ import Image from "next/image";
import { Github } from "lucide-react";
import { DiscordIcon } from "@/components/discord-icon";
import { GITHUB_URL, DISCORD_URL } from "@/lib/links";
+import { CookieSettingsLink } from "@/components/cookie-settings-link";
type Column = {
heading: string;
@@ -54,10 +55,11 @@ const COLUMNS: Column[] = [
],
},
{
- heading: "About",
+ heading: "Legal",
links: [
{ label: "Privacy Policy", href: "/privacy-policy" },
{ label: "Terms of Use", href: "/terms-of-use" },
+ { label: "Data Processing Addendum", href: "/dpa" },
{ label: "Contact", href: "/contact" },
],
},
@@ -128,6 +130,14 @@ export function SiteFooter() {
</Link>
</li>
))}
+ {col.heading === "Legal" ? (
+ <li>
+ <CookieSettingsLink
+ className="text-[13px] inline-block py-1 transition-colors hover:text-[color:var(--fg-0)] cursor-pointer"
+ style={{ color: "var(--fg-1)" }}
+ />
+ </li>
+ ) : null}
</ul>
</div>
))}
diff --git a/website/components/subprocessor-table.tsx b/website/components/subprocessor-table.tsx
new file mode 100644
index 00000000..9371ceb2
--- /dev/null
+++ b/website/components/subprocessor-table.tsx
@@ -0,0 +1,41 @@
+import { SUBPROCESSORS } from "@/lib/legal";
+
+export function SubprocessorTable({
+ customerDataOnly = false,
+}: {
+ customerDataOnly?: boolean;
+}) {
+ const rows = customerDataOnly
+ ? SUBPROCESSORS.filter((s) => s.customerData)
+ : SUBPROCESSORS;
+ return (
+ <div className="table-scroll">
+ <table>
+ <thead>
+ <tr>
+ <th>Provider</th>
+ <th>Location</th>
+ <th>What for</th>
+ {customerDataOnly ? null : <th>Customer telemetry</th>}
+ <th>Transfer safeguard</th>
+ </tr>
+ </thead>
+ <tbody>
+ {rows.map((s) => (
+ <tr key={s.name}>
+ <td>
+ <strong>{s.name}</strong>
+ <br />
+ <span style={{ color: "var(--fg-2)" }}>{s.entity}</span>
+ </td>
+ <td>{s.location}</td>
+ <td>{s.purpose}</td>
+ {customerDataOnly ? null : <td>{s.customerData ? "Yes" : "No"}</td>}
+ <td>{s.transfer}</td>
+ </tr>
+ ))}
+ </tbody>
+ </table>
+ </div>
+ );
+}
diff --git a/website/functions/worker.ts b/website/functions/worker.ts
index 71660d0c..f56c1753 100644
--- a/website/functions/worker.ts
+++ b/website/functions/worker.ts
@@ -16,6 +16,10 @@ export default {
return handleSubscribe(request, env);
}
+ if (url.pathname === "/api/geo" && request.method === "GET") {
+ return handleGeo(request);
+ }
+
return new Response("Not Found", { status: 404 });
},
};
@@ -150,3 +154,24 @@ async function handleSubscribe(request: Request, env: Env): Promise<Response> {
);
}
}
+
+// EEA, United Kingdom and Switzerland: the only places where analytics
+// cookies need opt-in consent before they are set.
+const CONSENT_REQUIRED_COUNTRIES = new Set([
+ "AT", "BE", "BG", "HR", "CY", "CZ", "DK", "EE", "FI", "FR", "DE", "GR",
+ "HU", "IE", "IT", "LV", "LT", "LU", "MT", "NL", "PL", "PT", "RO", "SK",
+ "SI", "ES", "SE", "IS", "LI", "NO", "GB", "CH",
+]);
+
+function handleGeo(request: Request): Response {
+ const cf = (request as Request & { cf?: { country?: string } }).cf;
+ const country = (request.headers.get("CF-IPCountry") ?? cf?.country ?? "").toUpperCase();
+ const consentRequired = country === "" || CONSENT_REQUIRED_COUNTRIES.has(country);
+ return new Response(JSON.stringify({ country, consentRequired }), {
+ status: 200,
+ headers: {
+ "Content-Type": "application/json",
+ "Cache-Control": "no-store",
+ },
+ });
+}
diff --git a/website/lib/consent.ts b/website/lib/consent.ts
new file mode 100644
index 00000000..2208a2a4
--- /dev/null
+++ b/website/lib/consent.ts
@@ -0,0 +1,144 @@
+import { CONSENT_COOKIE, GA_MEASUREMENT_ID } from "@/lib/legal";
+
+export type Consent = { analytics: boolean };
+
+export const CONSENT_SETTINGS_EVENT = "tw:cookie-settings";
+export const CONSENT_CHANGED_EVENT = "tw:consent-changed";
+
+const CONSENT_MAX_AGE_SECONDS = 182 * 24 * 60 * 60;
+
+declare global {
+ interface Window {
+ dataLayer?: unknown[];
+ gtag?: (...args: unknown[]) => void;
+ [key: `ga-disable-${string}`]: boolean | undefined;
+ }
+}
+
+export function readConsent(): Consent | null {
+ if (typeof document === "undefined") return null;
+ const match = document.cookie
+ .split("; ")
+ .find((c) => c.startsWith(`${CONSENT_COOKIE}=`));
+ if (!match) return null;
+ const value = match.slice(CONSENT_COOKIE.length + 1);
+ if (!value.startsWith("v1:")) return null;
+ return { analytics: value.includes("analytics=1") };
+}
+
+export function writeConsent(consent: Consent) {
+ const value = `v1:analytics=${consent.analytics ? 1 : 0}`;
+ const secure = location.protocol === "https:" ? "; Secure" : "";
+ document.cookie = `${CONSENT_COOKIE}=${value}; Max-Age=${CONSENT_MAX_AGE_SECONDS}; Path=/; SameSite=Lax${secure}`;
+ applyConsent(consent);
+ window.dispatchEvent(
+ new CustomEvent<Consent>(CONSENT_CHANGED_EVENT, { detail: consent }),
+ );
+}
+
+export const SERVER_SNAPSHOT = "server";
+
+export function consentSnapshot(): string {
+ if (typeof document === "undefined") return SERVER_SNAPSHOT;
+ const stored = readConsent();
+ return stored ? `v1:analytics=${stored.analytics ? 1 : 0}` : "";
+}
+
+export function subscribeConsent(onChange: () => void) {
+ window.addEventListener(CONSENT_CHANGED_EVENT, onChange);
+ return () => window.removeEventListener(CONSENT_CHANGED_EVENT, onChange);
+}
+
+export function hasGlobalPrivacyControl(): boolean {
+ return (
+ (navigator as Navigator & { globalPrivacyControl?: boolean })
+ .globalPrivacyControl === true
+ );
+}
+
+const GEO_CACHE_KEY = "tw_geo";
+
+// Whether this visitor is somewhere analytics needs opt-in consent. Any
+// failure answers true so the banner is shown rather than skipped.
+export async function consentRequired(): Promise<boolean> {
+ try {
+ const cached = sessionStorage.getItem(GEO_CACHE_KEY);
+ if (cached === "optin" || cached === "optout") return cached === "optin";
+ } catch {}
+ try {
+ const controller = new AbortController();
+ const timer = setTimeout(() => controller.abort(), 2500);
+ const res = await fetch("/api/geo", {
+ signal: controller.signal,
+ cache: "no-store",
+ });
+ clearTimeout(timer);
+ if (!res.ok) return true;
+ const body = (await res.json()) as { consentRequired?: boolean };
+ const required = body.consentRequired !== false;
+ try {
+ sessionStorage.setItem(GEO_CACHE_KEY, required ? "optin" : "optout");
+ } catch {}
+ return required;
+ } catch {
+ return true;
+ }
+}
+
+export function openConsentSettings() {
+ window.dispatchEvent(new Event(CONSENT_SETTINGS_EVENT));
+}
+
+export function applyConsent(consent: Consent) {
+ if (consent.analytics) loadAnalytics();
+ else disableAnalytics();
+}
+
+let analyticsLoaded = false;
+
+// gtag.js ignores dataLayer entries that are not an Arguments object.
+const gtag = function () {
+ window.dataLayer = window.dataLayer || [];
+ // eslint-disable-next-line prefer-rest-params
+ window.dataLayer.push(arguments);
+} as (...args: unknown[]) => void;
+
+function loadAnalytics() {
+ window[`ga-disable-${GA_MEASUREMENT_ID}`] = false;
+ if (analyticsLoaded) return;
+ analyticsLoaded = true;
+
+ window.gtag = gtag;
+ gtag("consent", "default", {
+ ad_storage: "denied",
+ ad_user_data: "denied",
+ ad_personalization: "denied",
+ analytics_storage: "denied",
+ });
+ gtag("consent", "update", { analytics_storage: "granted" });
+ gtag("js", new Date());
+ gtag("config", GA_MEASUREMENT_ID);
+
+ const script = document.createElement("script");
+ script.async = true;
+ script.src = `https://www.googletagmanager.com/gtag/js?id=${GA_MEASUREMENT_ID}`;
+ document.head.appendChild(script);
+}
+
+function disableAnalytics() {
+ window[`ga-disable-${GA_MEASUREMENT_ID}`] = true;
+ if (analyticsLoaded) {
+ gtag("consent", "update", { analytics_storage: "denied" });
+ }
+ const expired = "Max-Age=0; Path=/";
+ const hosts = [location.hostname, `.${location.hostname}`];
+ const parts = location.hostname.split(".");
+ if (parts.length > 2) hosts.push(`.${parts.slice(-2).join(".")}`);
+ for (const name of document.cookie.split("; ").map((c) => c.split("=")[0])) {
+ if (name !== "_ga" && !name.startsWith("_ga_")) continue;
+ for (const host of hosts) {
+ document.cookie = `${name}=; ${expired}; Domain=${host}`;
+ }
+ document.cookie = `${name}=; ${expired}`;
+ }
+}
diff --git a/website/lib/legal.ts b/website/lib/legal.ts
new file mode 100644
index 00000000..1a80a121
--- /dev/null
+++ b/website/lib/legal.ts
@@ -0,0 +1,83 @@
+export const LEGAL = {
+ entity: "Traceway Tech, Inc.",
+ entityDescription: "a Delaware corporation",
+ address: "Dallas, TX, United States",
+ country: "United States",
+ governingLaw: "the State of Delaware, United States",
+ venue: "the State of Delaware",
+ privacyEmail: "[email protected]",
+ updated: "October 24, 2026",
+ website: "https://tracewayapp.com",
+ cloud: "https://cloud.tracewayapp.com",
+ docs: "https://docs.tracewayapp.com",
+};
+
+export const GA_MEASUREMENT_ID = "G-KSB465GF2W";
+
+export const CONSENT_COOKIE = "tw_consent";
+
+export type Subprocessor = {
+ name: string;
+ entity: string;
+ location: string;
+ purpose: string;
+ customerData: boolean;
+ transfer: string;
+};
+
+export const SUBPROCESSORS: Subprocessor[] = [
+ {
+ name: "Amazon Web Services",
+ entity: "Amazon Web Services, Inc.",
+ location: "United States (us-east-1, N. Virginia)",
+ purpose:
+ "Hosting of Traceway Cloud: compute, PostgreSQL, ClickHouse, object storage for session replays and AI conversation payloads, backups",
+ customerData: true,
+ transfer: "EU-US Data Privacy Framework, Standard Contractual Clauses",
+ },
+ {
+ name: "Twilio SendGrid",
+ entity: "Twilio Inc.",
+ location: "United States",
+ purpose:
+ "Transactional email: invitations, password resets, alert and on-call emails, and submissions of the website contact and subscribe forms",
+ customerData: true,
+ transfer: "EU-US Data Privacy Framework, Standard Contractual Clauses",
+ },
+ {
+ name: "Twilio",
+ entity: "Twilio Inc.",
+ location: "United States",
+ purpose:
+ "SMS delivery for on-call paging, only for users who add an SMS contact method",
+ customerData: true,
+ transfer: "EU-US Data Privacy Framework, Standard Contractual Clauses",
+ },
+ {
+ name: "Stripe",
+ entity: "Stripe, Inc. / Stripe Payments Europe, Ltd.",
+ location: "United States / Ireland",
+ purpose:
+ "Subscription billing and payment processing. Card details are entered on Stripe-hosted pages and never reach our servers",
+ customerData: false,
+ transfer: "EU-US Data Privacy Framework, Standard Contractual Clauses",
+ },
+ {
+ name: "Cloudflare",
+ entity: "Cloudflare, Inc.",
+ location: "Global edge network, United States",
+ purpose:
+ "Hosting and protection of tracewayapp.com and docs.tracewayapp.com, the website form handler, and the Turnstile bot check on the sign-up form",
+ customerData: false,
+ transfer: "EU-US Data Privacy Framework, Standard Contractual Clauses",
+ },
+ {
+ name: "Google Analytics",
+ entity: "Google LLC",
+ location: "United States",
+ purpose:
+ "Aggregate usage statistics for tracewayapp.com, only with your consent in the EEA, UK and Switzerland, and unless you opt out elsewhere",
+ customerData: false,
+ transfer: "EU-US Data Privacy Framework, Standard Contractual Clauses",
+ },
+];