Skip to content

chore(landing): point analytics to OneQuery GA4 property#276

Merged
lentil32 merged 1 commit into
mainfrom
ga4
Jun 4, 2026
Merged

chore(landing): point analytics to OneQuery GA4 property#276
lentil32 merged 1 commit into
mainfrom
ga4

Conversation

@lentil32

@lentil32 lentil32 commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

One-Line Summary

Point the OneQuery landing site Google tag at the new OneQuery-only GA4 measurement stream.

User-Facing Changes

  • OneQuery landing analytics now send events to measurement ID G-42E8B09EX6 instead of the previous Velen-associated ID.
  • Existing pageview and CTA event wiring remains unchanged.

Why This Changed

The landing site was using the same GA measurement setup as Velen, which caused OneQuery landing traffic to appear in the Velen analytics property and made product-specific analysis harder. The new GA4 property and web stream separate OneQuery reporting at the property level.

How It Changed

  • Updated apps/landing/src/shared/analytics/google-tag.ts to use the OneQuery web stream measurement ID.
  • Kept the existing Partytown Google tag loading, Astro after-swap pageview handling, and custom CTA events intact.

Verification

  • rtk bun install
  • rtk bun run build from apps/landing
  • rtk bun run format from the repository root
  • rtk rg -n "G-TVPWK9V4TE" apps/landing/src apps/landing/dist/client returned no matches
  • rtk rg -n "G-42E8B09EX6" apps/landing/src/shared/analytics/google-tag.ts apps/landing/dist/client/index.html
  • Pre-push hook ran type-aware lint and reported 0 warnings and 0 errors

Video / Screenshot (Optional)

  • N/A

@lentil32 lentil32 enabled auto-merge (squash) June 4, 2026 12:31
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
onequery-landing a90cf81 Commit Preview URL

Branch Preview URL
Jun 04 2026, 12:32 PM

@lentil32 lentil32 merged commit 13b321d into main Jun 4, 2026
9 checks passed
@lentil32 lentil32 deleted the ga4 branch June 4, 2026 12:33
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