Skip to content

fix(analytics): queue gtag arguments in standard format - #35

Merged
gbzarelli merged 1 commit into
mainfrom
gz/ga-data-layer-arguments
Oct 25, 2026
Merged

gbzarelli merged 1 commit into
mainfrom
gz/ga-data-layer-arguments

Conversation

@gbzarelli

Copy link
Copy Markdown
Member

Summary

  • Match Google's gtag bootstrap by queueing the arguments object for each command.
  • Keep the validated measurement ID and automatic pageview detection.

Validation

  • npm run lint
  • npm run build
  • Static output assertions confirm the standard queue implementation and active measurement ID.
  • A real Playwright browser loaded gtag.js, but GA commands using the prior array-based stub stayed queued and produced no collect request.

@gbzarelli
gbzarelli merged commit fdb955f into main Oct 25, 2026
1 check passed
@gbzarelli
gbzarelli deleted the gz/ga-data-layer-arguments branch October 25, 2026 18:15

This branch was successfully deployed

1 active deployment
deploy — bc3c654a Deployed Oct 25, 2026 by gbzarelli via build #82
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