FROM CACHE - en_header

Google Analytics tracking id

Danman
Tourist
7 1 5

Hi, I am trying to set up Google Analytics and I'm having trouble with the ID. The measurement ID on GA's web stream is of the format, "G-XXXXXXXXXX" but when I enter it in online store->settings I get the error, "Analytics snippet does not look valid (UA-xxxx-x)"

 

Where can I get the right ID?

Replies 17 (17)
simonski
Shopify Partner
130 9 45

One is for a data stream, the other one for a property:

https://support.google.com/analytics/answer/9539598?hl=en

GN2020
New Member
1 0 1

Hi there! Did you solve this? I'm facing the same issue. Shopify doesn't accept the G- format.

Thanks!

ZouZouHome
New Member
1 0 1

Hi. I walked through the article link and don't see a way to get a UA tag. Do you - or anyone - have  step by step solution?

Knttd
Tourist
4 0 12

I am having the same issue aaahhhhh

Knttd
Tourist
4 0 12

Ive fixed it. Its when you create your account. Step 2 Property Set up there is an advanced options button. 

Expand that.

Toggle the create a universal analytics property

Choose the second option “create a universal analytics property only”

Next

 

This worked for me! 

Madeofmoxie
New Member
1 0 1

Thank you! This worked for me.

jamesfearon01
New Member
2 0 0

Hi,

I'm having the same issue but can't find the advanced options under step 2.

Any help much appreciated!

Thanks,

James

 

Knttd
Tourist
4 0 12

Hope these help

 

Scroll to bottom of step 2 and choose “show advanced options”

442084B5-BF77-4073-941B-620DEC5EEF03.jpeg49886C3E-3400-4246-B1C9-28A62931C0F2.jpeg

jamesfearon01
New Member
2 0 0

This worked! Thank you so much, really appreciate the screenshots.

Out of interest, did you upgrade to the standard GA 4 afterwards?

Thanks again,

James

inspirador
Excursionist
15 1 5

This works. Thanks!

BB88
New Member
1 0 1

amazing very helpful! thanks 🙂

Bicharaja
New Member
1 0 0

This worked! Thank you so much, really appreciate the screenshots.

 

You are the best.

Shivam840
New Member
3 0 0

What if we create account. Tell me what to do after creating an account.  

mefunda
New Member
1 0 0

You are a beast! Thank you so much!!!

chokobo
Tourist
3 0 1

Me too, we also created an account. After creating an account, can anyone tell me what to do?

Knttd
Tourist
4 0 12

Hi you have to do it when creating the account. Not after it’s done. I had to make a new account and use that. 

fineartprint
Excursionist
11 0 3

this is so frustrating, i had a property with the UA but it did not work, no data from analytics were created. I had to find this post and create a new property from scratch in order to make it ONLY UNIVERSAL after finding the advanced options etc etc