A Shopify store owner is missing critical e-commerce events (view_item, add_to_cart, purchase) in Google Analytics 4, receiving only default events like user_engagement and session_start.
Root Cause Identified:
The Shopify Google & YouTube app’s automatic tracking wasn’t functioning properly. The existing data layer used Universal Analytics schema instead of GA4 schema, preventing proper event transmission.
Solution:
Implementing Google Tag Manager (GTM) with custom GA4-compliant data layer events resolved the issue
The original poster successfully followed a YouTube tutorial to set up GTM and confirmed all events now appear in GA4
Key Technical Points:
Default Shopify app integration should track e-commerce events automatically, but often fails
Custom GTM setup with proper GA4 schema is more reliable than relying on automated app tracking
Data layer variables (value, currency, order_id, item_name) require proper configuration
Ongoing Issue:
Another user (tidalvape) followed the same tutorial but still cannot track purchase events. Initial audit suggests their GTM script needs modification to match their website structure, and they need to verify trigger configuration and GDPR compliance for EEA visitors.
Summarized with AI on October 29.
AI used: claude-sonnet-4-5-20250929.
Hey! Can anyone help set up Google Analytics? The problem is that I do not get events like view_item, add_to_cart, begin checkout, add_payment_info, and purchase reports.
I have only user_engagement, scroll, form_start, form_submit, first_visit, and session_start events, which are not so useful.
could you please share your website URL? I would love to check and audit.
The event you are getting in GA4 is by default event and these are enhanced measurement.
If you would like to get the e-commerce event like view content,add to cart, checkout, or purchase event in GA4 you must create the event through Google Tag Manager with Datalayer event.
when someone visit your website and take e-commerce action you would get the events in GA4. purchase event will be attributed as key events.
To get these event and datalayer variables like value, currency, order ID, item name, item id , you must have an datalayer setup for dynamic value tracking.
The data layer you are talking about is prebuilt by Google and YouTube apps.
when you select the GTM ID there would be no datalayer.
The One I attached is custom-built Datalayer for Google Tag Manager. as your google and you tube app is not sending data to GA4 you can move for Google Tag Manager.
If you observe closely you can see the difference on schema. the one you have attached is universal analytics schema where mine is GA4 schema.
I was wondering if instead of the pain of setting up GA wouldnt you be interested in a one-click solution that delivers you data (hundreds of dimensions and measures), reports and dashboards on product/variant level without a single involvement from your part?
I’ve conducted a thorough audit and noticed that while you have a Google Tag Manager (GTM) script implemented to push events into the data layer during user interactions, these events do not appear to be tracked correctly within GTM.
To resolve this, we will need to modify the GTM script to align with your website’s structure and ensure proper event capturing.
Additionally, I’d like to better understand:
How your current event tags and data layer variables were configured.?
Whether you’ve set up triggers to capture these events in GTM.
DId you check the GA4 realtime to verify the event tracking?
Important Compliance Note:
Since your website serves visitors from the European Economic Area (EEA), I recommend implementing a GDPR-compliant cookie consent banner (e.g., via Cookiebot, OneTrust, or Complianz) to ensure proper user data handling.
Please let me know if you’d like to proceed with these updates or discuss further. I’m happy to provide a detailed action plan.