How Can I Check the Pardot Tracking Code Has Been Added to My Website?

By Lucy Mazalon

Pardot comes with a ‘Website Tracking’ tracking code you can place on your website. This is will track website visitor behaviour using something called a cookie, and ultimately, display as reports inside Pardot.

You’ve asked the favour from the IT team or website manager, and but now you want to check the task has been completed. Here’s 3 steps you can follow to check the Pardot tracking code has been added to your website.

Step 1: Find your Pardot Website Tracking Campaign

Every Pardot campaign has a tracking code associated with it. The code contains a reference to your Pardot account, and the specific campaign.

The ‘Website Tracking’ campaign is one Pardot campaign that comes out-of-the-box with Pardot. Find yours by going to the Pardot Campaigns tab*, then using the filter box to locate the ‘Website Tracking’ campaign.

*if you’re using the Pardot Lightning app.


Click into the campaign. On the top right-hand, the ‘View Tracking Code’ button will reveal the code.

Here you will see the reference to your Pardot account (piAId), and the specific campaign (piCId). This is useful to note for later on.

Step 2: Check the Visitor Count

The first check will tell you if the tracking code is picking up visitor and/or prospect data. Visitors indicate that the code is picking up uncooked website browsers, prospects show the number of prospects that have converted on your website. Either way, it proves the code is doing its job!


Step 3: Inspect your Website Pages

Simply seeing data come through is not enough. A trickle of data may have been picked up from a staging site, or a selection of website pages. I recommend you double check the code too.

You can easily check your website’s code by opening up the source code. I will show you how to do this on Chrome, my preferred browser.

Right click, and go to ‘View Page Source’.

A new tab will open up. Search (CTRL+F / Cmd+F) for your Pardot campaign (piCId) number, eg: piCId = ‘15475’;

Hopefully, you will find a result.


Here you have it, 3 steps you can follow to check the Pardot tracking code has been added to your website – which could take you less than 10 minutes! Now you can check out what reporting you can get out of Pardot Visitor Tracking.


The Author

Lucy Mazalon

Lucy is the Operations Director at Salesforce Ben. She is a 10x certified Marketing Champion and founder of The DRIP.


    November 09, 2021 6:54 pm
    Is there a way to pull reports on who visited your site, how long they stayed, and what pages they visited? Ideally want to build a dashboard in Salesforce if possible.
    July 12, 2022 6:10 pm
    I created a Landing page in landing page builder and I created a Campaign in Salesforce. I have a question on page views as I do not see a page views but did have form errors. How can I make sure that I have a tracking code on the landing page if Use Salesforce to manage all campaigns has been selected? shouldn't all views be tracked?

Leave a Reply