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

Crisis Communication for Business

If you want to be prepared for a crisis, your communications team needs to be proactive and can't afford to wait for other departments to help them. They need to get communications out quickly. 

Communicating during a crisis – why great strategy and preparation is key

The bushfire crisis has shown the good and the bad side of social media. From the ABC and Rural Fire Services using social media to warn affected residents, the huge fundraising response to the organised spread of disinformation one thing is certain - the average Australian is following nationally important news through social channels more than ever before. 

Adding the Google Analytics tracking code to Pardot Landing Pages and Forms

This guide will show you how to track conversions in Google Analytics when using Pardot Forms and Landing Pages.

2020-01-15T08:51:01+00:00