A snippet does not look valid (UA-xxxx-x)

New Member
1 0 0

I’m trying to connect google analytics to my Shopify account and keep getting an error error message of analytics snippet does not look valid (UA-xxxx-x). I have googled and tried everything and it’s still not working! Does anyone know how to fix this ?

 

thanks in advance

0 Likes
New Member
2 0 2

when you create site in google analytics   , you need to click "Universal Analytics" options,it will create "UA-xxx"

if no click the option ,default create "G-xxx"

New Member
1 0 0

this is also happening to me. Do you know where i can go to change that setting? i have tried to google everything but cannot find it at all.

0 Likes

It looks like it's not possible to change the setting. You'd need to create a new property. When creating the property, click on Show advanced options and enable Create a Universal Analytics property

image.png

I'm a software engineer. I make things happen automatically.