Repository navigation
privacy(fix): stop the consent banner overstating what declining does - #417
Conversation
The banner said "We use Google Analytics, Vercel Analytics, and PostHog … Decline and none of them load." After the cookieless split that is false: Vercel Analytics and Speed Insights mount for everyone. /privacy and contributing.mdx were updated for the split; the banner was missed. That is the worst place to leave it, because the banner is the notice a visitor reads while deciding — a consent prompt that misdescribes the choice undermines the consent it collects. Now names only the two providers the choice actually governs, states what declining prevents (no cookie, no identifier), and discloses that page-speed measurement runs either way and stores nothing — matching the wording already on /privacy. Verified in a browser against a production build rather than by reading the source: the rendered banner claims GA and PostHog are gated and page-speed is not, and in the same page load googletagmanager is absent while the Vercel script is present. lint clean, tsc clean, format:check clean, 379 int tests, consent + a11y e2e 20/20. Co-Authored-By: Claude Opus 5 <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe consent banner copy now explains that declining prevents Google Analytics and PostHog from loading, stores no cookie or identifier, and does not affect page-speed measurement. ChangesConsent banner
Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint install failed: dependency version conflict. Check your lock file or package.json. 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. Comment |
The banner said:
After the cookieless split that is false — Vercel Analytics and Speed Insights mount for everyone.
/privacyandcontributing.mdxwere updated for the split; the banner was missed.That's the worst place to leave it. The banner is the notice a visitor reads while deciding, and a consent prompt that misdescribes the choice undermines the consent it collects.
Now
Names only the two providers the choice actually governs, says what declining prevents, and discloses the cookieless tier — matching the wording already on
/privacy.Verified in a browser, not by reading the source
Against a production build, the rendered banner asserts GA and PostHog are gated and page-speed is not — and in the same page load
googletagmanageris absent while the Vercel script is present. The claim and the behaviour were checked together, which is the only way this class of defect stays fixed.lint clean ·
tscclean ·format:checkclean · 379 int tests · consent + a11y e2e 20/20 (banner a11y included, and its accessible name is unchanged).Summary by CodeRabbit