What's your biggest current challenge? Have your say in Community Polls along the right column.

Re: Measurement ID

How soon will Spotify Basic plans include Google Analytics Measurement ID?

WhoDunnit
Visitor
1 0 0

When are Spotify going to allow Basic plans to install Measurement ID from Google Analytics. I can't edit theme.liquid on my plan 

Reply 1 (1)

Chris-Jünemann
New Member
4 0 0

Hey @WhoDunnit 

You should be able to edit the the theme.liquid. Check your access level. 
They dont have a native integration yet. In order to install GA4, please do the following:

1. Find G-Example in the code below and insert the Measurement ID of your GA4.
2. Place this code in the <head> section of your theme.liquid.

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-EXAMPLE"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag()
gtag('js', new Date());
gtag('config', 'G-EXAMPLE');
</script>

Let me know if you have any questions.

I'm a certified Google Shopping Ads & Google Search Ads Expert, Google Partner and Tracking Specialist | https://www.google.com/partners/agency?id=4521900259 | Founder of Conversionizers | https://conversionizers.com/