Pardot Knowledge Base

Using Google Tag Manager with Pardot

Last Updated: May 02, 2016 | Print this Article
You can use Google Tag Manager with your Pardot tracking code. Google Tag Manager does not affect Pardot tracking, provided that you set your filters to allow the Pardot tracking code to fire on the pages you wish to track with Pardot. You simply need to create a tag in Google Tag Manager that contains your Pardot tracking code.
These instructions assume that you are familiar with Google Tag Manager. In order to follow these instructions, you must already have a Pardot campaign, a Google Tag Manager account and container set up, and have properly placed your Google Tag Manager code on the pages you wish to track. See Google's Tag Manager documentation for help getting started.
Follow these steps to create a tag for your Pardot tracking code. In Pardot:
  1. Navigate to Marketing > Campaigns.
  2. Select the campaign you wish to use with Google Tag Manager.
  3. Click View Tracking Code, and copy the tracking code.
In Google Tag Manager:
  1. Navigate to the Account and Container you would like to create the tag in.
  2. Navigate to Tags and click New.
  3. Click Custom HTML Tag.
  4. Paste your Pardot tracking code in the Configure Tag box.
  5. Click Continue.
  6. In the Fire On section, select the triggers you want the Pardot tracking code to fire on. For example, if you want the Pardot tracking code to fire on every page the Tag Manager code is on, click All Pages.
  7. Click Create Tag.
  8. Rename the tag. We suggest something like "Pardot Tracking Code-[name of your campaign]".
  9. Click Save.
  10. Click Publish when you're done editing tags in your container.
This video walks through the basics of creating the tag in Google Tag Manager. Click here to expand the video.

Need more? Start a conversation with other Pardot users in the Trailblazer Community