How do I apply GTM when switching themes?

The process for installing GTM on a new Shopify theme is quick and easy

Q: How do I apply GTM to other themes for when I wish to switch themes?

A: The process for installing on a new theme is quick and easy: In the app settings if you click "Save and Update" on the GTM container ID then this will inject the Elevar snippets into the theme automatically. Nothing else is needed from you to manually update.


Q: When implementing GTM App with my Non-Plus Shopify Store, do I need to change anything to the GA code in the theme?

A: You will want to keep GA configured in Shopify for normal tracking. GTM can be setup for your AdWords, dataLayer, and other marketing scripts. But best to keep GA setup in Shopify.


Q: Do I need to update anything at all after the my new theme goes live?

A: The only thing you will need to do when installing a new theme is just click "Save and Update" in the App settings with your GTM ID as you did on the initial setup. This will automatically install all of our GTM/dataLayer snippets again for you!

Additional Resources

How to QA Shopify Store with GTM Container In Preview Mode

Removing Shopify GTM App from Theme

The GTM Tag is Not Firing on Page


Worried You’re Making Decisions on Data You Can’t Trust?

Check out our blog and discover Shopify Optimization & Analytics Tips from Elevar's data experts.