Skip to content

Add Tag Manager with Consent Mode v2 - #596

Merged
samkim merged 1 commit into
mainfrom
add-google-tag-manager
Sep 24, 2026
Merged

samkim merged 1 commit into
mainfrom
add-google-tag-manager

Conversation

@samkim

@samkim samkim commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Adds GTM to docs with support for consent mode v2

Mirrors the GTM + Consent Mode v2 setup from authzed/web, adapted for
docs' read-only consumer role: since docs shares the `az-consent`
cookie set by the marketing site and never shows its own banner, the
consent default is resolved server-side from the cookie (no flash,
no wait_for_update) and falls back to web's region-based default when
no cookie is present yet. Shared logic lives in lib/consent/gtm.ts.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment status for this pull request.

Name Status Preview Updated (UTC)
docs 🟢 Ready Visit Preview Sep 24, 2026 06:27am

@samkim samkim changed the title Add Google Tag Manager with Consent Mode v2 Add Tag Manager with Consent Mode v2 Sep 24, 2026
@samkim
samkim requested a review from josephschorr September 24, 2026 06:28
@samkim
samkim merged commit 90354af into main Sep 24, 2026
13 checks passed
@samkim
samkim deleted the add-google-tag-manager branch September 24, 2026 18:24
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 24, 2026

This branch was successfully deployed

1 active deployment
Preview (GitHub Actions) — 2671d8f2 Deployed Sep 24, 2026 by github-actions[bot]
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