Skip to content

fix(analytics): queue pageviews until gtag is ready - #30

Merged
gbzarelli merged 1 commit into
mainfrom
gz/fix-ga-pageview-ready
Oct 25, 2026
Merged

gbzarelli merged 1 commit into
mainfrom
gz/fix-ga-pageview-ready

Conversation

@gbzarelli

Copy link
Copy Markdown
Member

Summary\n- Queue distinct route pageviews until the Google tag script is ready, then send them in order.\n- Keep automatic pageviews disabled to avoid duplicate events.\n\n## Validation\n- npm run lint\n- npm run build\n- Static export assertion: all 15 HTML files include the active measurement ID and exclude the old one; generated bundle contains gtag readiness and pageview logic.\n- git diff --check

@gbzarelli
gbzarelli merged commit cc63bca into main Oct 25, 2026
1 check passed
@gbzarelli
gbzarelli deleted the gz/fix-ga-pageview-ready branch October 25, 2026 17:34

This branch was previously deployed

1 inactive deployment
deploy — 152a6b80 Deployed Oct 25, 2026 by gbzarelli via build #72
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