Skip to main content

Pardot Forms

We want to improve this guide on Pardot. If you are interested in helping out, reach out to us at ag@dreamdata.io.

Our automatic form tracking supports tracking Pardot form submissions.

We do not identify the unique name of the form submission. The name will appear as 'form-iframe-submit'.

Pardot forms are usually embedded as iframes, meaning we can use our iframe tracking. To do this, enable iframe tracking in your main script:

dreamdata.load('<DREAMDATA_API_KEY>', {
formTracking: {
iframe: true,
},
})

Next, add the following script to your Pardot form template.

<script
charset="utf-8"
id="dreamdata-iframe"
type="text/javascript"
src="https://cdn.dreamdata.cloud/scripts/analytics/next/iframe-identify-form.js"
></script>

Place this script in the "Below Form" section when you're setting up or editing the form in Pardot’s "Look and Feel" step:

Pardot Template