Skip to content

Fix GA4 SPA funnel and key-event instrumentation#55

Merged
profilesearch merged 1 commit into
mainfrom
fix/ga4-funnel-instrumentation
Jun 22, 2026
Merged

Fix GA4 SPA funnel and key-event instrumentation#55
profilesearch merged 1 commit into
mainfrom
fix/ga4-funnel-instrumentation

Conversation

@profilesearch

Copy link
Copy Markdown
Owner

Summary

  • disable GA4 automatic shell page_view and emit explicit SPA virtual page_view events for hash routes
  • add GA4 recommended events for signup/login/lead generation
  • emit existing configured GA4 key events (qualify_lead, close_convert_lead) from meaningful marketplace funnel actions
  • add regression assertions for analytics instrumentation

Evidence

  • GA4 last-28-days audit showed existing lower-funnel intent events but 0 conversions
  • GA4 property currently has key events configured for purchase, close_convert_lead, and qualify_lead
  • Browser local verification showed spa_page_view and page_view events for /#/services with route-specific page_path / spa_route

Tests

  • python3 -m unittest test_deep_audit_regressions.py — 37 tests OK
  • python3 -m unittest test_diagnostics.py — 6 tests OK

@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
gohire-humans Ready Ready Preview, Comment Jun 22, 2026 5:23am

Request Review

@profilesearch profilesearch merged commit eae6e41 into main Jun 22, 2026
4 checks passed
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