Skip to main content
All CollectionsWebsites by Parting ProSearch Engine Optimization (SEO)
Adding Google Tag Manager & Analytics to your Parting Pro Website
Adding Google Tag Manager & Analytics to your Parting Pro Website

How to add Google Tag Manager & Google Analytics tracking IDs to your website?

Sofia Ostrova avatar
Written by Sofia Ostrova
Updated over 5 months ago

Your website can easily connect to Google Analytics & Google Tag Manager to track visitors, but it also has a built-in tracking analytics feature, so adding Google tracking tool IDs is optional.
​

Note: To use Google Tracking Tools you need to set it up on your own and use your own unique Google Tracking IDs: click here for directions.

This integration with Google uses Google's Global Site Tag (gtag) technology, which supports several Google tracking tools. You can add IDs for the these Google services:

  • AdWords Conversion ID (AW-*)

  • Flood Light / Double Click Tracking ID (DC-*)

  • Google Global Measurement ID (G-*)

  • Google Analytics Property ID (UA-*)

Example email from Google with directions: (remember you must set this up on your own to obtain your unique Google IDs):
​
---
Please install Google Analytics and Google Tag Manager to the site using the directions below.

Google Analytics: G-uniqueID

Copy the global site tag into the <head> section of your HTML.

<!-- Google tag (gtag.js) --> <script async src=https://www.googletagmanager.com/gtag/js?id=G-uniqueID></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-uniqueID'); </script>

Google Tag Manager: GTM-uniqueID

Copy the code below and paste it onto every page of your website.

Head:

<!-- Google Tag Manager -->

<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':

new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],

j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=

})(window,document,'script','dataLayer','GTM-uniqueID');</script>

<!-- End Google Tag Manager -->

Body:

<!-- Google Tag Manager (noscript) -->

height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>

<!-- End Google Tag Manager (noscript) -->


Note: You must have access to your websites Content Management System in order to follow the steps below. If you do not have this access please contact [email protected] so we can grant that to you.


How to Add Google Tag Manager & Google Analytics ID

To add these IDs to your website:

  1. In the left panel, click SEO & Settings, and then click the Google Tools tab

  2. Add your unique IDs for:

    1. Google Analytics

    2. Google Tag Manager

  3. Hit Enter to confirm

Note: You can add these same IDs to your Parting Pro Online Store, click here for those directions.


How to Add Google Tag Manager & Google Analytics scripts to Head HTML & Body end HTML

Copy the code provided by Google to the Head HTML and Body end HTML sections of your website:

  1. In the left panel, click SEO & Settings

  2. Click Head HTML

    1. Add Head HTML script details in this section

    2. Add Body end HTML script details in this section

  3. Hit Save after each entry

Note: The code you are copying from the email Google has provided starts and ends with: <!-- >
​
It's important to copy the exact code or your tracking metrics will not work properly.

Did this answer your question?