Skip to content

fix: forward consent state to analytics tag loader#155

Open
samkim wants to merge 1 commit into
mainfrom
fix/tag-consent-signal
Open

fix: forward consent state to analytics tag loader#155
samkim wants to merge 1 commit into
mainfrom
fix/tag-consent-signal

Conversation

@samkim

@samkim samkim commented Jul 2, 2026

Copy link
Copy Markdown
Member

Summary

  • Tag signals now reflect the existing consent cookie instead of defaulting silently

Test plan

  • tsc --noEmit passes
  • npm run lint passes (0 errors)
  • Verified consent signal resolves correctly across all four cases (region x cookie present/absent) via local build
  • Confirm on a preview deployment that the downstream tag actually fires once consent is granted (couldn't fully confirm from this sandbox due to outbound network restrictions unrelated to the code change)

Ensures tag signals reflect the existing consent cookie
instead of defaulting silently, matching opt-in/opt-out handling
already used elsewhere.
@vercel

vercel Bot commented Jul 2, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
playground Ready Ready Preview, Comment Jul 2, 2026 11:11pm

Request Review

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