Skip to content

fix(analytics): load Google tag before hydration - #33

Merged
gbzarelli merged 1 commit into
mainfrom
gz/ga-before-interactive-script
Oct 25, 2026
Merged

gbzarelli merged 1 commit into
mainfrom
gz/ga-before-interactive-script

Conversation

@gbzarelli

Copy link
Copy Markdown
Member

Summary

  • Load the external Google tag before hydration so the configured GA4 pageview can be sent as early as possible.
  • Keep the validated measurement ID and Google-managed pageview detection.

Validation

  • npm run lint
  • npm run build
  • Confirmed the static export contains the active measurement ID, Google tag preload, and config initialization.

@gbzarelli
gbzarelli merged commit e9588fc into main Oct 25, 2026
1 check passed
@gbzarelli
gbzarelli deleted the gz/ga-before-interactive-script branch October 25, 2026 17:58

This branch was previously deployed

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