Skip to content

Add privacy-friendly download and checkout attribution#106

Merged
SeoFood merged 1 commit into
mainfrom
seofood/privacy-friendly-attribution
Jul 12, 2026
Merged

Add privacy-friendly download and checkout attribution#106
SeoFood merged 1 commit into
mainfrom
seofood/privacy-friendly-attribution

Conversation

@SeoFood

@SeoFood SeoFood commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

Context

TypeWhisper needs aggregate insight into referral sources, selected download targets, and checkout starts while remaining cookieless and avoiding persistent visitor identifiers.

Changes

  • Load Plausible only in production and send typed Download and Checkout Started events.
  • Preserve campaign UTMs only for the current browser session and forward them to Polar checkout links.
  • Track the main Mac, Windows, iOS, GitHub, Store, TestFlight, and Homebrew download paths.
  • Add safe website attribution defaults for direct visits.
  • Update the German and English privacy disclosures.
  • Add unit and browser coverage for attribution and blocked-tracking navigation.

User impact

Download choices and checkout starts can be analyzed by source in Plausible, while Polar receives the same campaign attribution for completed purchases.

Test plan

  • npm run test:unit
  • npm run test:e2e
  • npm run build
  • npx astro check

@coderabbitai

coderabbitai Bot commented Jul 12, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@SeoFood, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 58 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 6cc88ac0-56cf-4cb4-95d4-244f46b53f6b

📥 Commits

Reviewing files that changed from the base of the PR and between dd64e98 and 78ac143.

📒 Files selected for processing (24)
  • package.json
  • src/components/landing/download-cta.tsx
  • src/components/landing/hero.tsx
  • src/components/landing/platform-download-menu.tsx
  • src/components/landing/platforms-coming-soon.tsx
  • src/components/layout/header.tsx
  • src/components/pricing/commercial-table.tsx
  • src/components/pricing/supporter-section.tsx
  • src/components/use-cases/use-case-cta.tsx
  • src/components/use-cases/use-case-hero.tsx
  • src/i18n/locales/de/privacy.json
  • src/i18n/locales/en/privacy.json
  • src/layouts/BaseLayout.astro
  • src/lib/attribution.ts
  • src/lib/platform-download.ts
  • src/pages/[locale]/business.astro
  • src/pages/[locale]/privacy.astro
  • src/pages/[locale]/release-status.astro
  • src/pages/docs/_ios.tsx
  • src/pages/docs/mac/_installation.tsx
  • src/pages/docs/windows/_installation.tsx
  • src/pages/use-cases/_index.tsx
  • tests/attribution.test.ts
  • tests/download-routing.spec.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch seofood/privacy-friendly-attribution

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@SeoFood
SeoFood marked this pull request as ready for review July 12, 2026 13:27
@SeoFood
SeoFood merged commit 35b2ece into main Jul 12, 2026
2 checks passed
@SeoFood
SeoFood deleted the seofood/privacy-friendly-attribution branch July 12, 2026 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant