Implementation recovery
GTM Ecommerce Troubleshooting: conversions started counting again
A custom‐built e-commerce site was showing revenue in GTM Preview and GA4 real-time but not in the standard reports. In a focused one-hour Zoom session, we crafted custom JavaScript variables to simulate the missing dataLayer parameters and restored full revenue visibility, allowing the client to calculate ROAS accurately.

What was broken
- Revenue only visible in GTM Preview & GA4 real-time, not in reports
- No backend access to adjust the original dataLayer
- Google Support unable to resolve after 20+ emails
What we rebuilt
- 01Built custom JavaScript variables to reconstruct missing dataLayer parameters
- 02Live debugging and implementation during a one-hour Zoom session
- 03Provided reporting workaround via Looker Studio for immediate visibility
What started working again
- Revenue now populates in all GA4 reports
- Issue resolved in just one hour
- Client regained confidence to measure ROAS accurately
“Hassan resolved a complex GTM issue in just one hour, after I had spent nearly a month working with Google Support with no success. His expertise is exceptional, and I highly recommend his services!”
Luis Boani
Digital Markerting Agency Owner
Delivery path
- 01
Initial Diagnosis
Reviewed GTM Preview and GA4 real-time data to pinpoint why revenue wasn't persisting.
- 02
Custom JS Variable Implementation
Created and tested custom JavaScript variables in GTM to emulate the missing dataLayer keys on purchase events.
- 03
Validation & Handover
Validated tracking in GA4 across multiple test orders and walked the client through monitoring in Looker Studio.
Stop another blind week
Phone ringing. Meta empty. Path clear after we name the restriction.