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?

Reply 1 (1)
Trevor
Community Moderator
Community Moderator
3316 447 874

Hi, @throneforyotone

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

Trevor | Community Moderator @ 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