How to upgrade to Google Analytics 4?

Solved
Tourist
5 0 2

Hi everyone, has anyone tried this solution? https://www.getelevar.com/how-to/launch-google-analytics-4-shopify/ 

0 Likes
New Member
3 0 0

Hi there, 

That solution could save you time, but I prefer to create my own "workaround". I guess that the main problem is related to what shopify service do you have. 

1. If you have the basic plan: Then you could use GTM to configure both tags of GA4 (config and event) I guess that the session of the user will brake when checkout process. 

2. You have premium one so you can modify custom code: Ideal one because then you can implement GA via GTM in all the pages (also checkout process). 

I'm in the option one but in order to see data in a ga4 I've made a test and I saw the new features of GA4 in terms of new metrics, events etc...

 

kind regards!

0 Likes
Excursionist
15 0 10

Can someone from Shopify give detailed answer here?

New Member
1 0 1

Hi @shamhen, I did what you said and it worked but it's not tracking any Ecommerce metrics. Can't figure out why as in GA everything in enable. Does it track them in your case?

The details of the issue are covered in this video overview. https://youtu.be/x2cPha1q75w

Shopify Marketing Tutorials https://youtube.com/c/zimamedia
0 Likes

Hey guys,

I'm Radi from TAGinstall.

We do have a GA4 implementation in our app Easy Tag - GTM & Data Layerhttps://apps.shopify.com/google-tag-manager-installer

Shoot me an email to support@taginstall.com if you need more details.

 

Cheers,

Radi

0 Likes
New Member
1 0 0

I am having issue! I have pasted the .json tag to my header but it is not reading revenue... ? Just traffic

0 Likes
Shopify Partner
3 0 0

For those of you reading this that have the ability to modify your theme.liquid file, this video will walk you through the steps to generate a GA4 tracking code and inserting it within your theme file. As of today, this is the only way to take advantage of the powerful features of Google Analytics 4 until Shopify supports it by default. 

0 Likes
New Member
1 0 0

I'm confused. Didn't Shopify stop directing checkouts to their domain? I thought there's no domain switching anymore. I don't understand why you need Plus in order for the code to fire on checkout pages. 

-oo

0 Likes
New Member
1 0 0

Hi Andrew,

I have couple of questions:

1. Can shopify be integrated with GA4 through Google Tag Manager (I have installed google tag manager code to head of liquid).

2. So far there 2 options for GA4 given: installing global tag (which youhave mentioned and showed in your comment) or linking throught tag manager (GA4 configurations-all pages). I did it through tag manager with GA4 configurations and all pages. Checked preview and it all works. Checked on debugview and all works too. After I had entered realtime overview and saw my activity. The problem is that GA4 realtime overview does not get any life data at all (complete ZERO). While Google Analytics  data worsk fine and I got instant updates. 

3. I am also confused with google tag manager. I have installed the code to the head but there is also google analytics account UA-xxxxxx in the Preferences-google analytics-google analytics account (there is nothing in - additional google analytics javascript). My question should I keep the UA code in the google analytics account or should I delete it, since I have installed google tag manager code into the head in liquid. (I have google tag for google analytics too - universal analytics-all pages)

I would greatly appreciated your answer! Greetings

0 Likes