Google Analytics - Getting error code when I try to post script

Highlighted
New Member
1 0 0

Thank you!!

0 Likes
Highlighted
New Member
1 0 0

Hi,

I'm really struggling with this, been trying for hours... Where exactly is this step? Google tag? Google analytics? Shopify? Thanks!

0 Likes
Highlighted
New Member
1 0 0

I have the same error, please help me, i need use Google Analytics 

0 Likes
Highlighted
New Member
1 0 0

Hello,

For anyone still struggling with this, here are the steps you need to take:

- Go to your analytics dashboard at analytics.google.com

- Click on the bottom left Admin button

 

Screenshot 2020-11-25 at 19.56.38.png

 

 

 

 

 

 

 

 

 

- From there click Create property

- Enter a name for your property (ex. Shopify)

- On the bottom, click Show advanced options

 

Screenshot 2020-11-25 at 19.57.22.png

 

 

 

 

 

 

 

 

 

- Check Create a Universal Analytics property

 

Screenshot 2020-11-25 at 20.04.09.png

 

 

 

 

 

- Enter your website

- You can select the option to create both or just the Universal Analytics (this is the one Shopify needs)

- Hit Next and copy the property the ID that starts with UA-

 

To give a bit more context, Google recently made an update to create by default a Measurement ID  (that starts with G-)instead of a Tracking ID (that starts with UA-). Shopify only accepts the tracking ID at the moment.

 

Hope this helps anyone else!

0 Likes
Highlighted
New Member
2 0 0

When I paste my analytics code starts with G-*******   it shows analytics snippet does not look valid . I tried to paste whole script but it also have same issue. I don't understand my mistake. 

0 Likes