Pardot and Google Analytics – Reporting on conversions through iFrames

So far in our series on the Pardot and Google Analytics connector we have covered:

The final blog in this series covers reporting one conversions when Pardot forms have been added to your website within an iframe.

To do this:

Add the Google Analytics tracking code to the Pardot form layout template [link] Access the Pardot form iframe code. This can be found by clicking on the form, selecting the down arrow in the top right hand side and selecting View HTML code (see screenshot below).

Copy the iframe code however changes will need to be made before adding this to your website.
Using the script below as an example replace the sections that state PARDOT FORM URL with your forms URL.

This Salesforce help knowledge article provides further information about passing URL parameters from your browser to iframe.

Recent Posts

Changes to Pardot User Sync and Creation

We have seen a lot of great changes over the last few months when it comes to Pardot and its integration with Salesforce. One change of significance is how to create and manage users. If you have missed out on any of this news, this blog will get you up to speed.