Skip to content

Add shared consent and privacy compliance utilities#137

Merged
samkim merged 2 commits into
mainfrom
consent-update
Apr 29, 2026
Merged

Add shared consent and privacy compliance utilities#137
samkim merged 2 commits into
mainfrom
consent-update

Conversation

@samkim
Copy link
Copy Markdown
Member

@samkim samkim commented Apr 28, 2026

Summary

  • Add a portable consent module (src/lib/consent/) copied from authzed/web for reading cookie-based privacy preferences
  • Update analytics initialization to respect visitor consent decisions and regional privacy requirements

Test Scenarios

  • Non-EU visitor: analytics loads normally, consent cookie from authzed.com is honored if present
  • EU visitor with no prior consent: analytics starts in privacy-preserving mode
  • EU visitor who accepted on authzed.com: consent cookie is read, analytics loads normally

🤖 Generated with Claude Code

Add a portable consent module for reading cookie-based privacy
preferences across AuthZed properties. Update analytics initialization
to respect visitor consent decisions and regional privacy requirements.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 28, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
playground Ready Ready Preview, Comment Apr 28, 2026 5:52am

Request Review

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@samkim samkim merged commit 3399ca0 into main Apr 29, 2026
5 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 29, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants