Skip to content
SourceLoop
Web form tracking

How to track lead source in Jotform

Get full attribution on every Jotform submission, with channel, source, campaign, click ID, and landing page captured as hidden fields right inside the form data.

On this page
  1. What SourceLoop captures from Jotform
  2. Before you start
  3. Step 1: Install the SourceLoop tracking script
  4. Step 2: Add latest-touch hidden fields to your Jotform
  5. Step 3: Track first-touch attribution (optional)
  6. Step 4: Embed the Jotform on your website
  7. Where to see Jotform submissions in SourceLoop
  8. Contacts Hub
  9. Attribution dashboard
  10. Funnel reports

Jotform is the workhorse of online forms: HR intake, healthcare onboarding, education, government, you name it. It’s powerful and flexible, but the source data flowing to your downstream tools is usually just “Web Form Filled”, with no detail about which marketing channel actually produced the submission. This guide makes the attribution data part of every form submission itself.

Four steps, about ten minutes total. Works on every Jotform plan including Free.

What SourceLoop captures from Jotform

After setup, every Jotform submission arrives in your destination tools (and in SourceLoop) with these attribution values populated as hidden fields:

  • Channel + Latest Source, Medium, Campaign, Term, Content (the closing session’s UTM details)
  • Latest Landing Page (where the closing session began)
  • Click IDs for paid ads (gclid, fbclid, msclkid, li_fat_id, ttclid)
  • Optional First Channel / Source / Medium / Campaign / Term / Content / Landing Page for multi-touch attribution
  • The respondent’s regular form fields (email, name, etc.) flow through unchanged

Before you start

You’ll need:

  • A SourceLoop workspace (free trial)
  • Edit access to the website where the Jotform will be embedded
  • A Jotform account (any plan) with at least one form built

Step 1: Install the SourceLoop tracking script

Sign in to SourceLoop, open Setup from the left sidebar, and click the Tracking code tab. Copy the snippet on display.

SourceLoop Setup page with the tracking code snippet to copy

Add the snippet to the <head> of every page on your site. Site-wide coverage gives SourceLoop the full picture of the respondent’s journey, not just their visit to the form page.

Step 2: Add latest-touch hidden fields to your Jotform

For each field below, repeat the same workflow: add a Short Text field, name it, mark it hidden, and set the Unique Name. The Unique Name is what matters, that’s how SourceLoop knows which attribution value to put where.

The repeatable workflow:

  1. Open your form in the Jotform Form Builder.
Jotform Form Builder with a form open
  1. Click Add Form Element on the left sidebar.
Jotform Add Form Element panel
  1. Add a Short Text field.
Jotform Short Text field added to the form
  1. Open the field’s Properties panel and name the field per the table below.
Jotform field Properties panel
  1. Navigate to the Advanced tab, enable Hide Field so visitors don’t see it, then set the Unique Name per the table below.
Jotform field Advanced tab with Hide Field and Unique Name configuration

Latest-touch fields (recommended baseline):

Field LabelUnique Name
Channelchannel
Latest Sourceattribution_source
Latest Mediumattribution_medium
Latest Campaignattribution_campaign
Latest Termattribution_term
Latest Contentattribution_content
Latest Landing Pagelandingpage

Click ID fields (only if you run paid ads on these networks):

Field LabelUnique Name
Google Click IDgclid
Facebook Click IDfbclid
Microsoft Click IDmsclkid
LinkedIn Click IDli_fat_id
TikTok Click IDttclid

Step 3: Track first-touch attribution (optional)

Skip this step unless you want multi-touch attribution, the ability to compare the original acquisition channel against the most recent one. If you do, repeat the same workflow from step 2 for each field below:

Field LabelUnique Name
First Channelfirst_channel
First Sourcefirst_source
First Mediumfirst_medium
First Campaignfirst_campaign
First Termfirst_term
First Contentfirst_content
First Landing Pagefirst_landingpage

With both touch sets in place, your Jotform submissions carry the complete picture: which channel originally found the prospect, and which channel finally converted them.

Step 4: Embed the Jotform on your website

The form needs to live on a page where the SourceLoop tracking script is already running.

  1. In Jotform, click Publish at the top of the form builder.
Jotform Publish button highlighted at the top of the builder
  1. Select Embed from the left menu, then pick either iFrame or JavaScript.
Jotform Embed options with iFrame and JavaScript
  1. Copy the embed code and paste it on your site where you want the form to appear.

Now, every time someone completes the form, the attribution values appear alongside the rest of the answers in the form submission.

Jotform submission with attribution hidden field values populated

Where to see Jotform submissions in SourceLoop

Beyond the attribution data being inside each Jotform submission itself, SourceLoop also gives you three dedicated views:

Contacts Hub

Each Jotform submission becomes a row in the Contacts Hub at app.sourceloop.ai/contacts. Expand a row to see the visitor’s full pre-submission timeline: the campaign that brought them in, the pages they browsed, and how long they took before submitting.

SourceLoop Contacts Hub with a Jotform submission expanded to show the lead's full pre-submission journey

Attribution dashboard

Pull up app.sourceloop.ai/dashboards/traffic to see Jotform submissions grouped by source, campaign, and landing page. Great for spotting which channels generate qualified leads versus those that produce traffic but no conversions.

SourceLoop attribution dashboard with Jotform submissions grouped by source and campaign

Funnel reports

Build a funnel in app.sourceloop.ai/funnels ending in “Jotform submission”. Cut it by source, campaign, or landing page to see your most-converting paths.

SourceLoop funnel report ending in a Jotform submission conversion step

If paid acquisition is part of your strategy, forward the Jotform submissions to Google Ads, Meta, and LinkedIn as offline conversions so the bidding algorithms can optimize against real lead generation. Connect your Google Ads account walks through that setup.

Frequently asked questions

  1. Does this work with Jotform's Free plan?

    Yes. The setup is entirely on the form-builder side and on your website, no webhooks or API connections involved. Every Jotform plan supports hidden fields.

  2. Why are the attribution values shown as hidden fields instead of being added separately?

    This is the "manual" integration pattern, the attribution data lives directly on the Jotform submission. That way it flows automatically into whatever downstream system you've connected (CRM, Zapier, Make, email autoresponder) without needing a separate webhook for SourceLoop.

  3. Do I have to add every field? That's a lot of hidden inputs.

    No. The latest-touch fields in step 2 are recommended for a baseline view of attribution. The click-ID fields are only needed if you run paid ads on those networks. First-touch fields in step 3 are optional and only matter if you want multi-touch attribution. Skip what doesn't apply.

  4. What happens to the hidden fields when someone fills the form?

    They're populated automatically as soon as the form loads on a page where the SourceLoop tracker is running. The respondent never sees them, but the values come through on the submission alongside the visible answers.

  5. I share my Jotform via its direct form.jotform.com link. Will those submissions carry attribution?

    No. Submissions made through a raw `form.jotform.com/<form-id>` link won't carry attribution data, because the visitor never lands on a page with the tracker. To attribute that traffic, embed the form on a landing page that has the SourceLoop snippet.

Track every conversion to its true source

Capture and send full attribution data from every signup, lead, booking, and sale to your CRM and ad platforms, so you know exactly what's driving revenue.

Without SourceLoop

Untagged

Kayden Floyd

kayden@abc.com

  • SourceUnknown
  • MediumUnknown
  • CampaignUnknown
  • Landing pageUnknown
Journey
No touchpoints captured

With SourceLoop

Auto-tagged

Kayden Floyd

kayden@abc.com · Acme Co.

  • Channel Paid Social
  • CampaignFree_demo
  • Landing page/pricing
Journey
Synced to HubSpot Google Ads Meta