New Shopify Certification now available: Liquid Storefronts for Theme Developers

My gtag.js UA is different from my Analytics UA.. Could someone please help me?

3 0 1

Good afternoon everyone,


Normally I don't post things like this and English isn't my main language, so I am sorry for that.

But I've been running into this for days.

For my education I had to use Google Tag Manager, but since I am not about to use that I have deleted that code, also because I saw that is not for the basic accounts.

I think I did that alright.

The question is about this, am I doing this right this way?

I just can't find it anywhere online.

Why are those two codes different and do I need both those codes?

The second code I also have in my settings in Shopify and that is also my Google Analytics code.

A friend who is webdesigner also couldn't find the issue, he went through my whole code. 


Thanks a lot in advance,




Replies 5 (5)
Not applicable

Hi Kelly - you're English is perfectly clear. Did you manage to solve for this issue? 

Let me know and I'll try and help. 


3 0 1

Hi, thanks for responding! I have sent a private message back. Thank you! 

Shopify Expert
1003 42 264

If you share your websites, people will be able to help you.

Run Google Shopping ads? Get the free definitive guide to Google Shopping for Shopify (no optin required):
3 0 1

My website is Thanks in advance everyone. 

Shopify Partner
47 0 17

Hello, Kelly. 

I have just checked your website - the issue seems to be resolved? Let me know if you still have the issue - I'd be happy to help.

Also, as I saw you used GTM - I have recently launched a free Google Tag Manager - Shopify course on Youtube. You can check it out here

Complete Tutorial: Setup GA4 on Shopify including E-comm Reports

Data Analytics & Marketing Focused Content Platform for Shopify Merchants: Analyzify Hub

Check out our free Shopify - Google Tag Manager Course on Youtube