How to track lead source in Ninja Forms
Ninja Forms keeps the entry. Lead Source hands it the campaign, the landing page and everything read before the first field.
- Channel
- Campaign
- october-newsletter
- Landing page
- /blog/managed-it-costs
- Ninja Forms
- Project enquiry
- /blog/managed-it-costs
- /managed-it
- /contact
Ninja Forms entries, with campaigns
The entries Ninja Forms already saves now say which campaign earned them.
Ninja Forms counts without reloading
AJAX submissions land credited. No thank-you page required.
Multi-part Ninja Forms, one lead
Three steps in, one lead out, recorded the moment the last step completes.
Ninja Forms tracked in minutes
One snippet in the header. Nothing to configure inside Ninja Forms.
Ninja Forms entries, with campaigns
Ninja Forms stores every entry automatically, which is a fine head start. Lead Source adds the marketing to each one: the channel, the campaign and the page it landed on. The pricey ad and the old blog post finally get told apart. Fund the one that wins.
- Channel and campaign beside every entry.
- Full UTM set, click IDs and referrer.
- First visit and last visit, on one lead.
- /managed-it
- /pricing
- /contact
- Channel
- Google Ads
- Thank-you page
- None needed
Ninja Forms counts without reloading
Ninja Forms submits by AJAX, so the page never reloads and no thank-you page loads for a conversion tag to fire on. Lead Source records the submission itself. Every entry arrives credited. The missing reload stops mattering.
- Credited on submit, wherever the form sits.
- No redirect to build, no tag to time.
- The page the form sat on, recorded.
Ninja Forms actions, exactly as built
Email notifications, integrations and every action you configured keep running untouched. Lead Source reads the visit from the page and leaves the form alone. No hidden fields to add, no mapping to babysit.
Multi-part Ninja Forms, one lead
A Ninja Forms form split across several steps only completes on the final step. Lead Source records one lead when it does, with one source and one journey. Three steps, counted once.
- One completed form, one lead.
- The campaign from the visit, carried to the end.
- Every page read before step one, kept.
- Step 1
- Contact details
- Step 2
- The project
- Step 3
- Completed
- Leads
- 1
- Lead
- Grace Liang
- Campaign
- october-newsletter
Ninja Forms tracked in minutes
- Install the free WPCode plugin from the WordPress plugin directory.
- Open Code Snippets, then Header and Footer, paste the Lead Source tracking code into the Header section and save.
- Clear your page cache. Cached pages pick up the code once the cache refreshes.
No field mapping and nothing to configure inside Ninja Forms. The snippet sits on the page, the way the WordPress lead tracking setup does for every plugin.
<script async src="https://app.leadsource.co/ft.js" data-site="YOUR_SITE_KEY"></script>
How do I see which campaign sent a Ninja Forms entry?
Add the Lead Source tracking code to your WordPress header with WPCode and clear the cache. Each completed Ninja Forms submission then arrives as a lead carrying its channel, campaign, click IDs, landing page and page journey.
When does a Ninja Forms entry arrive without a source?
Only when Lead Source never saw the visitor before they submitted. Then there is no visit to match, and the attribution comes back limited or unknown. Clear the cache after installing. Every page then runs the code.
Ninja Forms questions, answered.
Does it work with multi-part forms?
Yes. One completed form is one lead.
Do I need to add hidden fields?
No.
Will it interfere with my Ninja Forms actions or integrations?
No. Lead Source does not modify your forms or their actions.
Give every Ninja Forms entry its campaign.
Completed forms arrive as leads with their channel, campaign and page journey attached. Free to start.
Start freeFree to start · no card









