Custom Pardot Form

Below you'll find the steps to embed a custom Pardot form:

  1. Add a new step and choose the "Lead Form" guide.

  2. Click on the "Embed Custom Form" button underneath the Storylane Lead Form.

  3. Choose "Custom" from the dropdown and copy-paste the code from Pardot.

  1. Above the code you pasted from Pardot, you'll need to add the following code:

window.addEventListener("message", function (event) { 
if ( && === "PARDOT_FORM_SUCCESS") { 
	          message: 'storylane-lead-submit',
	          payload: {
	               lead: { email: }
  1. In Pardot, under the "Thank you Code" tab from the "Completion Actions" section, you'll need to add the following code:

 email: "{{Recipient.Email}}"

You are now ready to test the Pardot form you embeded. Feel free to contact if you have any questions or need help with embedding a custom Pardot form.

Last updated