Forms integration
Framer form attribution with a single hidden field
Add one hidden field to your Framer form and SourceLoop fills in the rest: where the visitor came from, which campaign, and what they read, whether the visitor came from Product Hunt, an X thread, a Google search, or a paid campaign.
Free 7-day trial. No credit card required.
- Script location
- Site Settings, Custom Code, Head
- Fields to add
- One: sl_aid
- Form styles
- Inline and modal
- Visible to visitors
- No, field is hidden
How do you track lead source in Framer forms with SourceLoop?
SourceLoop gives Framer forms marketing attribution using a first-party script placed in Framer's Site Settings, Custom Code, Head, and one hidden field named sl_aid on each form. The script records each visitor's channel, UTM parameters, landing page, and page sequence across the published site; the sl_aid value on the submission lets SourceLoop look all of it up server-side, including first and last touch and click IDs. Inline and modal forms both work, and attributed leads sync to your CRM and can be reported to ChatGPT Ads, Google Ads, Meta, and Microsoft Ads.
Updated November 2026
The gap
What Framer form submissions don't record
-
Submissions arrive as bare answers
Framer stores what the visitor typed. Which launch post, search result, or ad sent them to the site isn't saved with the submission.
-
A dozen hidden fields per form
Capturing UTMs yourself means a hidden field for every parameter on every form, and they stay empty unless the person signs up on the very page they entered.
-
Site analytics stop at the page view
Framer's analytics show traffic, but not which visitors became leads or which channels produced the ones that converted.
What you get
What your Framer site gains
-
One field instead of many
The sl_aid identifier is all SourceLoop needs to look up channel, source, medium, campaign, landing page, click IDs, and first and last touch.
-
Works across the whole site
The script in Site Settings loads on every published page, so a visitor who reads the blog then converts on pricing keeps their original source.
-
Inline or modal, same setup
The hidden field is a property of the form field, so it behaves the same whether the form sits on the page or in a popup.
-
Straight into your CRM, with source
Each signup can be pushed to Pipedrive, HubSpot, or Salesforce already attributed, then counted toward revenue and ROAS, credited first-touch, last-touch, or across touches with a multi-touch attribution model.
The data
What each Framer submission arrives with
Each Framer submission shows up in Contacts with the details below.
| Field | Example | Written to |
|---|---|---|
| Where they came from | Referral · producthunt.com, plus UTMs | Lead |
| Pages in order before submitting | / → /changelog → /pricing | Journey |
| Visits and time on site | 3 visits · 9 min | Lead |
| Landing page and referring URL | /launch · x.com | Lead |
| Contact details | Name and email typed into the form | Lead |
Compared
Framer forms vs per-parameter fields vs SourceLoop
Per-parameter fields means adding a hidden input for each UTM value to every Framer form and populating it from the URL.
| Capability | Framer forms | Per-parameter fields | SourceLoop |
|---|---|---|---|
| Channel stored with the submission | No | Partly Only on the arrival page | Yes Kept site-wide |
| Hidden fields per form | Yes None | No One per UTM | Yes Just one |
| First and last touch | No | No | Yes Both |
| Modal and inline forms | Yes | Partly Each set up | Yes Same field |
| Leads sent to ad platforms | No | No | Yes Server-side |
Why it holds up
Attribution that fits a no-code Framer workflow
Designers can set it up without a developer: paste a script, add one field, publish. SourceLoop keeps visitor data first-party on your Framer domain and does the lookups on its servers.
First-party data on your Framer domain
Leads reported to ads from the server
Pages a visitor explored before signing up
Signups and revenue per channel
How it works
Three steps in the Framer editor
Screenshots are in How to track lead source in Framer forms.
-
<script async src="https://t.sourceloop.ai/tracking-v3.js"></script>
01Add the script in Site Settings
Paste SourceLoop's script into Site Settings, Custom Code, Head, then publish.
-
Form field
- Name sl_aid
- Type Hidden
02Add the sl_aid hidden field
In the form, add a field, set its Type to Hidden, and name it sl_aid.
-
- Channel Referral
- Source producthunt.com
- Visits 3
03Submit a test
Add ?utm_source=test to your published site's URL, send the form, then find the lead in Contacts.
Conversion sync
Report Framer signups to your ad platforms
Report each Framer signup to Meta, ChatGPT Ads, Google Ads, and Microsoft Ads as an offline conversion, all of them or just the ones rated Good, so launch and growth campaigns optimise toward real signups.
- Each signup
- Signups your rules rate Good
- Signups that start paying
Used by 750+ marketing teams, agencies, and SaaS companies
FAQ
Framer form tracking FAQ
Why only one hidden field?
The sl_aid identifier lets SourceLoop look up all the attribution data server-side, so you don't maintain a field per parameter on every form.
Where does the script go in Framer?
In your project's Site Settings, under Custom Code, Head. It then loads on every page of the published site.
Do modal and popup forms work?
Yes. The hidden field is set on the form field itself, so inline and modal forms behave the same.
I used an older setup with many hidden fields. Do I keep them?
No. You can delete them and keep only sl_aid. The rest of the data is now filled in on SourceLoop's side.
Will visitors see the hidden field?
No. With its Type set to Hidden, Framer doesn't render it. Visitors only see your visible fields.
Is the tracking privacy-friendly?
Yes. The tracker lives on your own Framer domain, honours Consent Mode choices, and has a no-cookie mode.