Once you have updated to our Shopify source, Google Tag Manage(GTM) is loaded onto you site via the App Theme Embed portion of you thing. This places your GTM code in the head. If you have a need for the portion of the GTM tag follow this guide to manually add to your theme file.
Other uses would be for website ownership verification in Google Search Console. You are able to verify other ways if needed or you can manually ad the tag.
- You want to verify the ownership of the website in the Google Search Console with the “Verify with Google Tag Manager” option.
Login to your Google Tag Manager Account.
Select your container if you have access to multiple
Click you Container ID
Copy the second block of code for pasting in the tag
Open you theme.liquid file for your theme
Find the tag
Paste this script directly below the opening tag as shown below
If your tag is placed elsewhere in the body you may not be able to verify your website ownership in Google Search Console
Updated 3 months ago