Google Analytics 4 Script

Highlighted
New Member
1 0 4

Hi , Ive recently built my store and want to add google analytics.

Google is only allowing me to create a google 4 analytics account - when im trying to add the script to my site via google analytic in the preference section i get the following

 

  • Analytics snippet does not look valid (UA-xxxx-x)

 

 

4 Likes
Highlighted
New Member
1 0 1

Yeah. Same. It looks we have to wait for Shopify to update their GA4 integration.

1 Like
Highlighted
Tourist
8 0 2

Same here. Can't add Google Analytics to our Shopify site.

1 Like
Highlighted
Tourist
8 0 2

It is still possible to do but is buried and hard to find out how.

  1. https://analytics.google.com/
  2. Create an account if you don't already have one
  3. Go to Admin on the bottom left
  4. Click Create Property in the middle (different than setting up an "app")
  5. Under Property Setup choose Show advanced options
0 Likes
Highlighted
Shopify Expert
46 1 9

GA4 properties aren't compatible with the default Enhanced Ecommerce setup in Shopify.

It's still possible to set it up but you'll need to edit the theme files. I'm writing a blog post describing your options here: https://aloagency.com/blog/shopify-and-ga4-analytics-setup

0 Likes