Title: Pardot Tracking Code
Last modified: December 8, 2016

---

# Pardot Tracking Code

 *  Resolved [spring14125](https://wordpress.org/support/users/spring14125/)
 * (@spring14125)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/pardot-tracking-code/)
 * Can someone help me confirm if I have the Pardot tracking code on this website.
   Someone on my team confirmed that it was already put in, but I don’t think I 
   see it? It’s on this page [http://www.costarmanager.com/test](http://www.costarmanager.com/test).
 * If it’s not there, I need to put it in, but I don’t know how to switch to html
   so that i can add the code before the end of the close /body>.
 * [http://help.pardot.com/customer/portal/articles/2133733-implementing-tracking-code](http://help.pardot.com/customer/portal/articles/2133733-implementing-tracking-code)
 * Thanks,
    Fengning

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [Cliff Seal](https://wordpress.org/support/users/cliffseal/)
 * (@cliffseal)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/pardot-tracking-code/#post-8529425)
 * I don’t see a tracking code on the page you linked.
 * This plugin enables you to embed a tracking code without fiddling with code, 
   and will work as long as your theme has the `wp_footer()` call (which it should).
 * If you have further questions about implementing things without using this plugin,
   just get in touch with Pardot Support for more prompt and thorough assistance.
   🙂
 *  Thread Starter [spring14125](https://wordpress.org/support/users/spring14125/)
 * (@spring14125)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/pardot-tracking-code/#post-8529610)
 * So do you have to install this plugin on every page on the website? I thought
   installing the plugin on one page made the benefits available for all pages.
 * Also, perhaps this is why Pardot shows my prospects having viewed the test page,
   but no completion action fired, because the page is not tracked.
 *  Plugin Author [Cliff Seal](https://wordpress.org/support/users/cliffseal/)
 * (@cliffseal)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/pardot-tracking-code/#post-8529635)
 * No, the global campaign can be set on the Settings page, and then the tracking
   code shows on every page.
 * It’s likely showing activity because the embedded form is also tied to a campaign,
   so it tracks activity as well.
 *  Plugin Author [Cliff Seal](https://wordpress.org/support/users/cliffseal/)
 * (@cliffseal)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/pardot-tracking-code/#post-8529641)
 * Make sure you’ve followed the [initial installation instructions](https://wordpress.org/plugins/pardot/installation/).
 *  Thread Starter [spring14125](https://wordpress.org/support/users/spring14125/)
 * (@spring14125)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/pardot-tracking-code/#post-8529651)
 * I’m still confused. The plugin is correctly installed because we are actively
   using Pardot forms on our webpages, but why does my test page not have the plugin
   code in it?
 *  Plugin Author [Cliff Seal](https://wordpress.org/support/users/cliffseal/)
 * (@cliffseal)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/pardot-tracking-code/#post-8529668)
 * Ok, I’ve mentioned the things you need to check, so please clarify if these have
   been done:
 * 1. The campaign is chosen in the Pardot Settings area.
    2. Your theme contains
   the `wp_footer()` call.
 *  Thread Starter [spring14125](https://wordpress.org/support/users/spring14125/)
 * (@spring14125)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/pardot-tracking-code/#post-8529694)
 * 1. I’ve just selected a campaign.
    2. How can I tell if my theme contain the 
   wp_footer() call?
 *  Thread Starter [spring14125](https://wordpress.org/support/users/spring14125/)
 * (@spring14125)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/pardot-tracking-code/#post-8529756)
 * I’m trying to follow this article, but I can’t find Footer. I do see Theme Footer,
   footer reveal-close, and footer reveal – open. Do any of those work too?
 * [https://themeskills.com/detect-add-wordpress-hooks-wp-head-wp-footer/](https://themeskills.com/detect-add-wordpress-hooks-wp-head-wp-footer/)
 *  Plugin Author [Cliff Seal](https://wordpress.org/support/users/cliffseal/)
 * (@cliffseal)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/pardot-tracking-code/#post-8530243)
 * I’m now seeing a Pardot campaign on the test page you linked above. You can always
   look for something like this in the source code:
 *     ```
       <script type="text/javascript">
       <!--
       piCId = '12345';
       piAId = '12345';
   
       (function() {
       	function async_load(){
       		var s = document.createElement('script'); s.type = 'text/javascript';
       		s.src = ('https:' == document.location.protocol ? 'https://pi' : 'http://cdn') + '.pardot.com/pd.js';
       		var c = document.getElementsByTagName('script')[0]; c.parentNode.insertBefore(s, c);
       	}
       	if(window.attachEvent) { window.attachEvent('onload', async_load); }
       	else { window.addEventListener('load', async_load, false); }
       })();
       -->
       </script>
       ```
   

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Pardot Tracking Code’ is closed to new replies.

 * ![](https://ps.w.org/pardot/assets/icon-256x256.png?rev=2995205)
 * [Account Engagement](https://wordpress.org/plugins/pardot/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pardot/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pardot/)
 * [Active Topics](https://wordpress.org/support/plugin/pardot/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pardot/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pardot/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [Cliff Seal](https://wordpress.org/support/users/cliffseal/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/pardot-tracking-code/#post-8530243)
 * Status: resolved