Where should I paste the gtag snippet of code?

throneforyotone
New Member
6 0 0

I hear that it must be applied to each page I want to track.

 

But can't I just add the code to theme.liquid?

 

Would that be site-wide?

0 Likes
Peter
Shopify Staff
Shopify Staff
2025 163 436

Hi, @throneforyotone

What are you trying to setup? Google Tag Manager, or something else?

Peter | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

0 Likes