Where to add Google Tag Manager code in my online store?

Where to add Google Tag Manager code in my online store?

28 0 4


I want to know where I need to add this code to in my store!


Store is: www.aussieicebaths.com.au

TIA (Thanks In Advance)

Replies 4 (4)

Shopify Partner
1184 335 283

Hi @marlerjake 

This is Henry from PageFly - Landing Page Builder App


For this Google Tag Manager Code, you add the code above to Theme.liquid


You can try this code by following these steps: 

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3:

For code 1 you can add it in tag <head>



For code 2 you can add it in tang <body>




Hope that my solution works for you.

Best regards,

Henry | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!

PageFly - #1 Page Builder for Shopify merchants.

All features are available from Free plan. Live Chat Support is available 24/7.

28 0 4

thanks so much brother, just added in then. 

do you have good experience in all these finer details/back ends of shopify and/or teach it? 

I'd love to learn more

5 0 1

Hello Henry,

there is no the <body> tag in my shopify theme code when i add tag 2.Why is that?Could you help pls?Thanks!

Shopify Partner
5 0 0

Hi @marlerjake,


I'm Irene from UpTag: Google Tag + Ads Tracking.

Our app supports Shopify merchants in installing Google Analytics 4, Google Tag, and Google Ads Tracking into their Shopify store without embedding codes. With UpTag, you only need to insert your Tracking ID into the app, and UpTag will set up all the tracking tools for you.

Furthermore, UpTag can assist merchants in customizing events if your store is using a third-party theme.


Hope that UpTag has the opportunity to support you in setting up GA4, Google Tag, and Google Ads. You can find the app at https://apps.shopify.com/uptag-google-tag-conversion


Best regards,

Irene | UpTag