Context
A SaaS B2B company had GA4 installed on their marketing site but was effectively flying blind. Pageviews were being tracked. Everything else — form submissions, demo requests, pricing page visits, CTA clicks — was invisible. Marketing decisions were being made without data.
Problem
GA4 out of the box tracks pageviews. It tracks nothing else unless you tell it to. The team had no visibility into which traffic sources were generating demo requests, which landing pages were converting, or where users were dropping off in the funnel. HubSpot was active but disconnected from web analytics — leads were arriving in the CRM with no source attribution.
Diagnosis
Constraints
Implementation
GTM container built from scratch — data layer configured, variables defined for consistent event naming across the funnel.
6 conversion events implemented and validated:
UTM attribution configured — source, medium, campaign, and content parameters captured on landing and passed through to HubSpot via hidden form fields.
HubSpot integration validated — leads arriving in CRM with full UTM attribution visible on contact record.
All events validated via GA4 DebugView in real time before handoff.
Tradeoffs
Implementing via GTM without codebase access means relying on CSS selectors and DOM triggers for event detection. These require maintenance if the site's HTML structure changes. This tradeoff was documented and communicated to the client at handoff.
Stack
Before / After
| Metric | Before | After |
|---|---|---|
| Conversion events | 0 | 6 |
| UTM attribution | None | Active |
| HubSpot source data | None | Full attribution |
| Funnel visibility | Pageviews only | Full funnel |
Outcome
Marketing team gained full visibility into funnel performance for the first time. Demo requests trackable by source, medium, and campaign. HubSpot leads arrive with complete attribution. Foundation in place for A/B testing and conversion optimization.
Lessons
GA4 is not a plug-and-play analytics solution. Installing the script is 5% of the work. The other 95% is defining what matters to the business, building the event taxonomy, and validating that what you're measuring is actually what you think you're measuring.