Install the audit widget
You need your embed key, which is in your dashboard under Settings, then Integrations. Replace YOUR_EMBED_KEY below with it. Not set up yet? Get your widget.
The snippet
This is the whole widget. The iframe loads lazily, so it waits until a visitor scrolls near it.
<iframe
src="https://freesiteaudit.com/embed/YOUR_EMBED_KEY"
title="Free website audit"
loading="lazy"
width="100%"
height="560"
style="border:0;max-width:640px"
></iframe>Optional: auto-resize
The widget tells the page how tall it needs to be by sending a message with { type: 'fsa-widget-height', height }. Without this script the iframe keeps the fixed height you set. With it, the iframe grows and shrinks to fit the form and the report. Paste it once on the same page, after the iframe.
<script>
window.addEventListener("message", function (event) {
if (event.origin !== "https://freesiteaudit.com") return;
var data = event.data;
if (!data || data.type !== "fsa-widget-height") return;
var frame = document.querySelector('iframe[src^="https://freesiteaudit.com/embed/"]');
if (frame && typeof data.height === "number") {
frame.style.height = data.height + "px";
}
});
</script>Where to paste it
WordPress
Edit the page, add a Custom HTML block where you want the form, and paste the iframe snippet. Update the page.
Webflow
In the Designer, add an Embed element (Add panel, then Components) where you want the form, paste the iframe snippet, and save. Publish the site; embeds don’t render in some preview modes.
Wix
Add an Embed element, choose the custom code or HTML iframe option, paste the iframe snippet, and resize the box to fit. Publish the site.
Squarespace
Edit the page, add a Code block, paste the iframe snippet, and make sure “Display Source” is off so it renders. Save.
GoHighLevel
In the funnel or website builder, add a Custom HTML/JS element and paste the iframe snippet. To send each lead into a workflow, create a workflow with the Inbound Webhook trigger, copy the webhook URL it gives you, and paste that URL into the widget’s webhook field in your FreeSiteAudit dashboard (paid white-label plans). Then run a test lead so GoHighLevel can map the fields below.
Plain HTML
Paste the iframe snippet into your page’s HTML wherever you want the form to appear.
Builders rename their menus now and then. If a name differs, look for the option that adds custom HTML or an embed.
Webhook payload
On paid white-label plans, each new lead is also sent as a JSON POST to the webhook URL you set. Every plan emails you each lead.
Example (placeholder values)
{
"event": "partner.lead.created",
"partner": {
"id": "...",
"brandName": "Your Agency",
"attributionLabel": "..."
},
"lead": {
"id": "...",
"email": "sam@example.com",
"name": "Sam Rivera",
"websiteUrl": "https://example-plumbing.com",
"category": "...",
"status": "...",
"score": 61,
"resultToken": "...",
"resultUrl": "https://freesiteaudit.com/embed/report/...",
"createdAt": "2026-01-01T12:00:00.000Z"
},
"attribution": { }
}eventAlways "partner.lead.created".
partner.id, partner.brandName, partner.attributionLabelYour widget’s id, brand name and attribution label.
lead.idThe lead’s id.
lead.email, lead.nameWhat the visitor typed.
lead.websiteUrlThe website the visitor audited.
lead.categoryThe business category of the audit.
lead.statusWhere the lead is in the audit process.
lead.scoreThe audit score out of 100.
lead.resultToken, lead.resultUrlThe token and the link to the visitor’s report.
lead.createdAtWhen the lead was created (ISO 8601).
attributionAny attribution data passed along when the widget was loaded.
Your endpoint should answer with a 2xx status. A different status is recorded as a failed delivery; the lead email is still sent.
Questions about visitor data? See data processing for the audit widget. Back to the audit widget overview.