How to embed routing from Pardot forms
Updated March 17, 2026·2 min read
Available to Owners and Admins on Teams and Enterprise plans.View plans
Before you begin
- Make sure your Pardot routing form is already imported in Calendly. For instructions on importing Pardot routing forms into Calendly, check out this article.
- To embed a Pardot form on your site, follow Salesforce's steps.
Generating and copying the Advanced Routing embed script
- From your Calendly home page, navigate to Routing page.
- Find the form you’d like to embed, and select Share to the right of it.
- Select Share to the right of the routing form you'd like to embed.
- Under Step 1 in the Embed Code panel, select Copy to copy the script.
Inserting the Advanced Routing embed script in your Pardot form's Layout Template
- Navigate to Pardot.
- In the sidebar, expand Marketing > Forms.
- Select Layout Templates.
- Locate the Pardot form. Under Actions select the gear icon.
- Choose Edit to access the form's layout template.
- Paste the script copied in the previous step after the %%content%% tag within the script.

- Select Save in the bottom right.
Generating and copying the Advanced Routing embed code for your website
- From your Calendly home page, navigate to Routing page.
- Find the form you’d like to embed.
- Select Share to the right of it.
- Under Step 2 in the Embed Code panel, select Copy to copy the embed code.
- On your website, paste this code into your HTML above the Pardot form iFrame on your main site.
Was this article helpful?
Let us know so we can improve our content.