There is a special way to add the Google Tag Manager script into your site so that it functions properly on all pages of the site. To do this, you will need to add an HTML block to your footer with a portion of code and then the other portion you should place into the Head JS panel found under your Developer Tools area.
1. To begin the implementation process of your tracking code, you will first need to retrieve it from Google. If not already logged in to Google, go ahead and login to Google Tag Manager via this link:
2. The link above should take you to a list of all your Google Tag Manager accounts. Access the account for the site you are working on by selecting it's title.
3. Select your blue Tracking ID link, it starts with "GTM-". Selecting the ID opens a popup modal allowing you to copy your embed code.
4. This part requires detailed attention. In the modal, look at the code and in the first field box, highlight only the portion of code between <script> and </script>. The screenshot below shows the exact highlighted code that you need. Copy the highlighted code to your clipboard.
(CTRL+C or CMD+C depending on PC/MAC computer to copy)
5. Now, go into your website Dashboard in a new browser tab, enter your Developer Tools, then into the Head JS panel by selecting it's title.
6. Paste the copied code into the very top portion of the Head JS panel and select the blue Save button to complete placing your code into the Head JS area.
(CTRL+V or CMD+V depending on PC/MAC computer to paste)
7. Go back to your browser tab for Google Tag Manager. Highlight the entire code in the second field boxand copy it to your clipboard.
(CTRL+C or CMD+C depending on PC/MAC computer to copy)
8. Back into your website Dashboard again, select Content from the Dashboard navigation bar.
9. Select Footer in the sidebar under Global Content.
10. Select the green (+) button at the bottom of the page or between your current content blocks, you will see all of your available block options.
11. Select the green HTML option:
12. Now, paste the code you copied earlier into the large field box of your HTML block and select the blue Save button:
13. Select the green Publish button in the top righthand corner of the Dashboard to make your changes live on the site and your Google Tag Manager install is complete. That's all folks!
Optional: If you would like to verify that your pixel installation was a success, download this Google Chrome Extension and run it to verify your pixel.
Comments
0 comments
Please sign in to leave a comment.