Embed lead capture forms on your website
In addition to sharing forms via a direct link, you can embed lead capture forms directly into your business website using multiple embed code formats. This lets visitors fill out and submit the form without leaving your site.
Before you begin
Permission: Edit (under All Leads) -- Required to generate embed codes for forms.
- The lead capture form must be in Active status before you can generate an embed code.
- Only Lead Capture forms (not Master forms or Details Collection forms) support embedding.
Generate an embed code
Navigate to Lead Management > AI Lead Manager > Forms.
Select the active lead capture form you want to embed.
Select Share.
In the share dialog, select the Embedded code tab.
Choose the embed format that matches your website platform:
Format Best for HTML iframe Any website that supports custom HTML. Embeds the form in a standard iframe element. JavaScript embed Websites where you want the form to load dynamically. Provides a script tag that renders the form inline. WordPress shortcode WordPress sites. Paste the shortcode into any page or post. HubSpot embed HubSpot CMS-hosted websites. Uses HubSpot-compatible embed format. Copy the generated code.
Paste the code into your website's HTML, page editor, or CMS.
Share via direct link
If you prefer to share the form as a standalone page rather than embedding it:
- In the share dialog, select the Share link tab.
- Copy the generated URL.
- Share the URL via email, social media, or any other channel.
Visitors who open the link see the form on a dedicated page.
How form submissions are processed
When a visitor submits an embedded or linked form:
- The system validates the submission to prevent automated or spam entries.
- The submission is processed through the lead capture pipeline.
- A new lead is created in AI Lead Manager with the submitted data mapped to the appropriate lead fields.
- The lead appears in your team's lead list and can trigger any active workflows.
Tips
- Test the embedded form on your website after adding the code to verify it displays and submits correctly.
- Use the JavaScript embed format for the closest visual integration with your website's design.
- The HTML iframe format is the most broadly compatible option and works on virtually any website.
- If you update the form fields after embedding, the embedded form automatically reflects the changes -- you do not need to update the embed code.
- To invalidate an existing share link or embed, deactivate the form. Visitors who access the old link or embed see an inactive form message.