Not getting key events to Google Analytics

Solved

Not getting key events to Google Analytics

MaxKhramov
New Member
6 0 0

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.

 

Any help is much appreciated!

Accepted Solution (1)
Sam_Mahmud
Shopify Partner
207 5 10

This is an accepted solution.

If you link everything properly it is supposed to work automatically and track the e-commerce events. 

since it is automated and works on a specific algorithm we have nothing much to do.''

 

you can disconnect the app and reconnect to see if there is any changes.

 

if the issue still persist you can go for Google Tag Manager. 

 

Thanks

Your COFFEE TIP! Can Create something incredible!
Require Assistance with website design or enhanced conversion tracking Via Google Tag Manager GTM ?
[email protected]! or WhatsApp!
Solved? accept it as solution with like

View solution in original post

Replies 10 (10)
MaxKhramov
New Member
6 0 0

Hello Kristin!

Sure, what info you want me to share?

Sam_Mahmud
Shopify Partner
207 5 10

Hello Maxkhramov,

Thanks for your query.

 

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.

 

Feel free to ask if you have any questions.

 

Thanks

 

 

 

Preview
 
 
 
Your COFFEE TIP! Can Create something incredible!
Require Assistance with website design or enhanced conversion tracking Via Google Tag Manager GTM ?
[email protected]! or WhatsApp!
Solved? accept it as solution with like
MaxKhramov
New Member
6 0 0

Hello Sam!

the website is cutieme.com.ua

I'm using google App to link google analytics. I though it was made automatically

Sam_Mahmud
Shopify Partner
207 5 10

Hello Maxkhramov,

 

Thanks for sharing your website.

 

I can see you have not created any custom data layer For Google Tag Manager GTM to track e-commerce event.

 

If you would like to track the e-commerce events like view content, add to cart, checkout and purchase event through GTM create datalayer and data layer variables in Google Tag Manager.

 

you can check out the attachment what is datalayer event.

 

Feel free to ask if you have any question regarding datalayer and GTM event tag configuration.

If you need to activate datalayer don't hesitate to PM me.

Thanks

 

 

 

Theme dependent datalayer event begin checkout.pnggoogle ads and GA4 tags for server side tracking.png

 

 

 

Your COFFEE TIP! Can Create something incredible!
Require Assistance with website design or enhanced conversion tracking Via Google Tag Manager GTM ?
[email protected]! or WhatsApp!
Solved? accept it as solution with like
MaxKhramov
New Member
6 0 0

It already has a data layer message, but it does not send hit

 

MaxKhramov_0-1725908681568.png

MaxKhramov_1-1725908778254.png

 

 

Sam_Mahmud
Shopify Partner
207 5 10

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. 

https://developers.google.com/analytics/devguides/collection/ga4/ecommerce?client_type=gtm

 

 

 

Theme Independent datalayer event view item.png

 

Your COFFEE TIP! Can Create something incredible!
Require Assistance with website design or enhanced conversion tracking Via Google Tag Manager GTM ?
[email protected]! or WhatsApp!
Solved? accept it as solution with like
MaxKhramov
New Member
6 0 0

Sure, but in this article https://help.shopify.com/en/manual/reports-and-analytics/google-analytics/tracking-ecommerce-events-... they say that events should be reported automatically. I do not understand why I should create additional GTM for it. 

 

I thought it just some setting in the app itself blocking it, or something like that

Sam_Mahmud
Shopify Partner
207 5 10

This is an accepted solution.

If you link everything properly it is supposed to work automatically and track the e-commerce events. 

since it is automated and works on a specific algorithm we have nothing much to do.''

 

you can disconnect the app and reconnect to see if there is any changes.

 

if the issue still persist you can go for Google Tag Manager. 

 

Thanks

Your COFFEE TIP! Can Create something incredible!
Require Assistance with website design or enhanced conversion tracking Via Google Tag Manager GTM ?
[email protected]! or WhatsApp!
Solved? accept it as solution with like
MaxKhramov
New Member
6 0 0

Thanks, Sam! Google Tag Manager did the job, all events are visible in Google Analytics now. 

I followed this tutorial and everything works now https://youtu.be/krFHfkiANjc?si=R9Oibhgebfvc8ZH8

Peter_Datma
Shopify Partner
79 0 7

Hello Max! 

 

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?

No signup/registration demo can be found here to have an idea: https://demo.datma.io/ and this a direct link to a report with product metrics: https://demo.datma.io/shopify/reporting/metrics/1416 

 

Best,

Peter @ Datma