Who was the client?
The client is an e-commerce business that runs its store on Shopify. It relied on Universal Analytics for purchase reporting, and that data was not reliable.
- 1Challenge
What was the challenge?
Standard tracking could not follow every sale, so part of the store's revenue was missing from its reports.
Unreliable purchase data
Universal Analytics was not capturing purchases reliably.
Post-purchase offers
Resale products shown on the post-purchase page were not tracked.
Third-party upsells
Upsell products bought through third-party interfaces were not tracked.
- 2Approach
What did AnalyticsLiv do?
We built the tracking into the store itself, in place of relying on a standard tag setup.
Custom tracking library
We built a custom library that works inside the store's Shopify Liquid files.
Enhanced ecommerce data layers
The library added enhanced ecommerce data layers across the store.
Dynamic product values
Snippets fetch product values dynamically on Shopify product pages.
Sent to GA4 through GTM
Google Tag Manager sends the ecommerce events and Shopify parameters to GA4.
- 3Results
What were the results?
- 90%of purchase events captured in GA4
- 70%of purchase events captured in Universal Analytics
- Allenhanced ecommerce events and Shopify parameters sent to GA4
- More purchases counted. GA4 captured 90% of purchase events, compared with 70% in Universal Analytics.
- Upsells included. Purchase tracking was extended to post-purchase and third-party upsell sales.
- Full ecommerce data. All GA4 enhanced ecommerce events and Shopify parameters now reach GA4.
The store moved to GA4 with more of its purchases counted and its Shopify product data attached.