Skip to content

fix(analytics): use automatic pageview detection - #32

Merged
gbzarelli merged 1 commit into
mainfrom
gz/use-google-automatic-pageviews
Oct 25, 2026
Merged

gbzarelli merged 1 commit into
mainfrom
gz/use-google-automatic-pageviews

Conversation

@gbzarelli

Copy link
Copy Markdown
Member

Summary\n- Keep the Google tag's automatic pageview on document load.\n- Remove the manual React pageview tracker because automatic page views on browser history changes are enabled in the Google tag settings.\n- Avoid duplicate SPA pageviews and keep collection independent of React effects.\n\n## Validation\n- npm run lint\n- npm run build\n- Static export assertion: active ID present, old ID absent, automatic config present, manual route events and disabled initial pageviews absent.\n- git diff --check

@gbzarelli
gbzarelli merged commit 4aef4bc into main Oct 25, 2026
1 check passed
@gbzarelli
gbzarelli deleted the gz/use-google-automatic-pageviews branch October 25, 2026 17:49

This branch was previously deployed

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