Skip to content

fix(analytics): keep initial pageviews enabled - #31

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

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

Conversation

@gbzarelli

Copy link
Copy Markdown
Member

Summary\n- Allow the Google tag config to send the initial pageview on each document load.\n- Skip that first path in the client tracker and keep queued manual pageviews for later App Router path changes.\n- This keeps pageview collection independent of React effect timing while avoiding duplicate initial events.\n\n## Validation\n- npm run lint\n- npm run build\n- Static export assertion: active ID present, old ID absent, initial suppression removed, SPA pageview code retained.\n- git diff --check

@gbzarelli
gbzarelli merged commit 2237e9d into main Oct 25, 2026
1 check passed
@gbzarelli
gbzarelli deleted the gz/fix-ga-initial-pageview branch October 25, 2026 17:43

This branch was previously deployed

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