How To Setup GA4 (Google Analytics 4) On Shopify

preview_player
Показать описание
Learn how to setup Google Analytics on Shopify in this step-by-step tutorial. This is a new, easier, free, and more accurate way to install GA4 (Google Analytics 4) on your Shopify store using Google Tag Manager and the Google Channel App. This is the easiest way I've found to capture item views, add to carts, and purchase events and send them to Google Analytics. Let's get started!

REGULAR EXPRESSION FOR THE TRIGGER:
view_item|view_item_list|select_item|add_to_cart|remove_from_cart|view_cart|begin_checkout|add_payment_info|add_shipping_info|purchase

YOUR EXTRA RESOURCES:

JUMP TO A TOPIC:
00:00 Introduction
00:33 Get the Google Tag Manager container code
01:30 Adding Google Tag Manager to Shopify
05:08 Exclude self-referrals in Google Analytics
06:47 Install the Google Channel App in Shopify
09:32 Check the data layer
11:08 Add GA4 to Google Tag Manager
12:28 Create the ecommerce event in Google Tag Manager
14:54 Preview and test the GA4 tags
16:45 Check events in the DebugView
17:23 Publish the tags
17:51 Conclusion

#googleanalytics #shopify #googleanalytics4 #ga4

Рекомендации по теме
Комментарии
Автор

A small thank you for all the GTM and GA4 videos. I know myself and a lot of others have benefited from it.

leea
Автор

THANK YOU!! Just wasted 2 hours on other videos were tags were not firing etc, this was so clean and simple, and best of all -- IT WORKEDDD!!

lunarpooch
Автор

Hi Benjamin,
I followed the same procedure. Connected google channel app to my ad account but still its not sending the data layer to GTM and I cant see the conversion actions in tag assistant window. Can anyone please help?

AsadAli-umjd
Автор

On all the step by step guide i have seen this is the best one. Thanks.

krmidell
Автор

I was stuck for so long on this. Finally went through it, thank you.

rabiyagondal
Автор

I added the gtm container into the head of the theme.liquid and checkout page and still none of the ecommerce events tags are firing. Do I need to add a data layer code for add to cart?

mikem
Автор

looks like the tags are not triggered by the whole chunk of events here 'view_item|view_item_list|select_item|add_to_cart|remove_from_cart|view_cart|begin_checkout|add_payment_info|add_shipping_info|purch', but just view_item, add_to_cart and purchase?

winnieleung
Автор

Thank you for this step by step! I was so lost!

ABEXJW
Автор

Thank you. Perfect video. Others were missing the important part about connected Google ads acount via Google Channels.

ElmarsArnieks
Автор

Now this was the only method that worked perfectly for me. Thank you!

dmrhimmet
Автор

Hi Benjamin ! Thank you so much for you fabulous videos. So helpful especially to our small business. I followed all the steps, but haven't being seeing the "view product" or "cart" events, in the Tag assistant. Once I proceed to the payment page, Tag Assistant stops showing up on the page, with no recognition. Same in Google analytics on debug mode, it does not see any of the conversions, which is unfortunate. Is there anything, off the top of your head, that you believe we may have ill configured, to fix this and register conversions ?

nopeachleftbehind
Автор

Really appreciate you for making this video. Simple, basic and refined and very very easy to grasp the content and understand the steps..

eshandesai
Автор

Such a helpful video! Thank you so much!!

Ariventuras
Автор

I followed this method but the purchase tag is not working

kaushikgm
Автор

Thank you alot, simple and easy to follow!! <3

goldfish
Автор

Hi! I followed the tutorial step by step but the "add-to-cart" and "purchase" events are not getting registered in tag assistant neither are being registered in my GA4 propiety. How can I solve this issue? Kind regards!

Ferreidea
Автор

The Google Ads Account section does not show under the settings of my Google Sales Channel even though the Ads Account is linked to the merchant id.

alanyjp
Автор

Love the videos. They have been very helpful in my journey. Two questions:
1) You had previously provided a work-a-round to the lack of an add-to-cart trigger in Shopify. We added some code to the checkout script. Do we now delete it and allow the balance of the recommendations.
2) Starting September 1, ownership of the Google Sales Channel is shifting from Shopify to Google. In fact our sales channel is now missing from Shopify but the catalogs still appear in Google. How does this affect the balance of the recommended implementation?
Thanks.

bartphillips
Автор

Awesome Video! I have been dreading moving over to GA4 as I have been so stuck in my ways! Thank you this was really helpful and is going to make the transition much easier.

ryansexton
Автор

THANK YOU AND BLESS YOU (u saved my life)

vaniaarulmathi