Lead source tracking for Fluent Forms.
Fluent Forms is the fast one, with a lot built in. Source is the piece it still reads at the wrong moment.
Works with all Fluent Forms features
Two ways to run it on Fluent Forms.
Install the free official plugin and keep every lead inside your own WordPress admin, or drop in one hosted script and send leads to your Lead Source dashboard. Same capture, the difference is where your data lives.
The official plugin
- Captures the source on every Fluent Forms submission, stored in your WordPress admin
- Two-click install from the directory, no account needed
- Sits alongside your existing Fluent Forms entries, no Smart Code to add
The one-line script
- One JavaScript line in your <head>, no plugin and no PHP
- Leads land in your Lead Source dashboard, independent of WordPress
- Survives a rebuild, host change or full migration
Fluent Forms gives you more for free than most. Source is still read too late.
Fluent Forms earns its reputation for speed and for packing conditional logic, multi-step, payments, and entry storage into the free tier. It can even drop a UTM into a hidden field with a Smart Code. The catch is the same one every form plugin shares: that value is read when the form loads, not when the visitor first arrived.
A fast form, fully featured
- Entries stored with built-in reporting
- Smart Codes for dynamic and hidden values
- Conversational and multi-step layouts
- Conditional logic, payments, repeat fields
Where that lead came from
- The source the visitor arrived with, not the URL at submit
- A named campaign instead of a raw UTM string
- The page journey before the form
- Source that holds when the visitor browses first
Smart Codes capture the URL. They just capture it too late.
Fluent Forms can map a query-string UTM into a hidden field with a Smart Code, which feels like source tracking until a visitor lands on one page and submits on another. By then the URL is clean and the Smart Code has nothing to read.
The manual way
- 01Add a hidden field per UTM to every form, each mapped to the matching query-string Smart Code.
- 02The Smart Code reads the URL at load, so a visitor who browses before submitting leaves a clean URL and an empty field.
- 03Add a cookie-persistence script to hold the source across pageviews, then confirm it survives the AJAX submit.
- 04Repeat the same hidden fields and Smart Codes on every new form, and recheck after Fluent Forms updates.
With Lead Source
- 01Add Lead Source once, the free plugin or one script tag, and every Fluent Forms form is covered.
- 02The source is captured at landing and held across the visit, so it is still attached at submit, clean URL or not.
- 03The campaign name is written out in plain language rather than left as a raw UTM string.
- 04New form next month? Already tracked. No hidden fields, no Smart Codes, no per-form setup.
Fluent Forms is built for speed and does a lot out of the box. Holding the source from arrival to submission is the part it leaves to a tool built for that one job.
One script tag. That’s the whole thing.
Prefer not to run a plugin? Sign up, copy the snippet from your dashboard, and paste it into your WordPress header. Every Fluent Forms form on the site gets detected automatically, including conversational and multi-step layouts. The block below shows what the snippet looks like, with placeholder text where your unique site ID will be.
<!-- illustrative. Paste your real snippet from app.leadsource.co --> <script src="https://leadsource.co/s/[your-site-id].js" async></script>
The real snippet is generated for your account when you sign up. Copy it from the install page in your dashboard. Under 50ms execution. Async, so it doesn’t block your page. No dependencies.
Three steps. Most sites are done in five minutes.
Pick your path
Install the free Lead Source plugin from the WordPress.org directory, or grab your one-line snippet from the dashboard if you would rather not run a plugin. Either covers every Fluent Forms form on the site.
Activate, or paste the snippet
With the plugin, click Activate and run the short setup wizard. With the script, paste it anywhere inside your <head> using WPCode, Insert Headers and Footers, or your theme.
Submit a test through any Fluent Forms form
Open a page with a Fluent Forms form on it. Fill it in. Submit. Within a minute or two, the lead appears with the source, the campaign, and every page visited before submitting.
?utm_source=test to the URL before you submit. That’ll be the source on the lead.Questions, answered.
Do I use the plugin or the script for Fluent Forms?
Either works and both capture the same thing. Install the free Lead Source plugin from the WordPress.org directory if you want every lead stored inside your own WordPress admin with no account. Use the one-line hosted script if you would rather keep leads in your Lead Source dashboard, independent of WordPress. Pick based on where you want the data to live.
Is there an official Fluent Forms plugin on WordPress.org?
Yes. The free Lead Source plugin is on the WordPress.org directory. Search Plugins, Add New for "Lead Source", install and activate, and it captures the source on every Fluent Forms submission. There is no Smart Code or hidden field to set up.
I already use a Smart Code to capture UTMs. Do I still need this?
A Smart Code reads the URL when the form loads, so it captures the source only when the visitor lands directly on the form page with the parameters intact. Lead Source captures the source at first arrival and holds it across the visit, so it is still attached when someone browses a few pages and then submits on a clean URL.
Does it work with conversational and multi-step Fluent Forms?
Yes. Lead Source captures the source at the moment of final submission, so conversational layouts, multi-step forms, and conditional logic all work the same way. It listens for the submission event and attaches the source.
Will it slow down a site I chose Fluent Forms to keep fast?
No. The Lead Source script is small, loads async, and runs after the page is interactive, with typical execution under 50ms. It will not move your Core Web Vitals, which is usually the reason people pick Fluent Forms in the first place.
Track your Fluent Forms leads. Free to start.
The free plugin or one script captures the source, UTM parameters, and page journey on every Fluent Forms submission, without slowing the fast site you built.
Start freeFree to start ยท no card