Home | Cool ClickDimensions Features | ClickDimensions and Google Tag Manager

ClickDimensions and Google Tag Manager

Do you use Google Tag Manager?

For those of you who do not, it is an easy way to add multiple tracking scripts and other pieces of code to your website. You just put Google’s one piece of code on your site and use Google’s manager to add/change the code without having to upload new files to your website. It also lets you choose what will trigger and when the trigger will occur.

If you already use it or would like to start using it, you can add your ClickDimensions tracking script as a tag. This means you can have both Google Analytics tracking script (or Universal Google Analytics) and ClickDimensions tracking script as tags.

Step 1: Once you have a Google Tag Manager account and are logged in, go to Tags on the left side of the screen and then click New.


Step 2: Name the tag.

Step 3: To add your ClickDimensions tracking script, click on Custom HTML Tag and click Continue.


Step 4: In your CRM environment, go to Settings > ClickDimensions Settings > Tracking Script and copy the script there.

Step 5: Paste it in the Configure Tag box.

Step 6: Make sure the Support document.write box is unchecked.

Step 7: Choose when you want it to fire this tag (I will choose All Pages), and click Save. 

ClickDimensions Tracking Script

Step 8: Press the red Publish button in the top right corner.


Step 9: If you don’t already have the Google Tag Manager code on your website, you’ll need to add it. Go to Admin at the top and click on Install Google Tag Manager. Copy the code there and follow their instructions for placement.


Happy Marketing!

Written by Allison Macedo, ClickDimensions Product Manager

About the Author:

Allison Macedo is the Product Manager at ClickDimensions.


  1. Jesper C February 22, 2017 at 5:28 am - Reply

    Is this article up to date ?

    We are trying to optimise our GA via GTM and are worried that there may be conflicts between both
    We found this info on CD blog but in the meantime GTM script installation has been changed


  2. Ben Hopkins August 11, 2017 at 3:18 pm - Reply

    And following up on this…

    In 2012 you said there was a conflict between GA and CD. http://help.clickdimensions.com/clickdimensions-and-google-analytics-tracking-scripts/ . This derived from variable names.

    In 2016 I was told by someone fairly expert that this clash still existed.

    However, does the fact that in 2017 we can use GTM to put on CD script mean that this clash no longer exists?

    Please confirm.

    • mm
      ClickDimensions Marketing August 15, 2017 at 5:16 pm - Reply

      That is correct. An update to our tracking script with the ClickDimensions 8.8 release has eliminated this conflict.

  3. Brandon September 25, 2017 at 1:33 pm - Reply

    Hi, I want set a tracking for pdf with this solution : http://help.clickdimensions.com/tracking-links-to-files/
    Is it possible to set firing rules on GTM and then skip the implementation on each action?


    • mm
      ClickDimensions Marketing October 3, 2017 at 8:35 am - Reply

      Thanks for your question, Brandon! For files, you actually don’t need to use this method to track the click anymore, as long as the file is hosted on the same domain as the page you have it on; we automatically track it. It will come in as a page view of type “Link.” (We will be updating the help article to reflect the updates – sorry for the confusion.) If the file is hosted somewhere else, you would need to do something extra. We have never tried doing this through Google Tag Manager, but you could definitely try it.

  4. Sophie Lewis March 5, 2018 at 11:15 am - Reply

    I’ve added the basic tracking script this way and it’s working. But how do you add the tracking script with the lead score into google tag manager? Do you need to create a new tag and trigger for only those specific pages? I tried this and it isn’t working. Do i need to exclude those specific pages i want to score higher from the basic tag trigger that i set up?

  5. Bernie May 17, 2018 at 1:03 pm - Reply

    Many of our PDFs seem to be registering in Click Dimensions as pages with a Page Title of gtm-msr and the host is https://gtm-msr.appspot.com/
    We have applied Click Dimensions tracking on our website through GTM. We also have Google Analytics Event tracking applied through GTM – I’m guessing that there’s a conflict between both codes. Has anyone else had this issue?

Leave A Comment