Set up Jotform to capture UTM parameters and marketing attribution

Step-by-step setup to add Madlitics fields to Jotform so every response includes channel, campaign, and landing page attribution.
Attribution is broken

Madlitics captures first-touch attribution when someone arrives on your website and preserves it as they browse. When they submit your Jotform, hidden fields record the original channel, campaign and landing page alongside their answers. Map those fields through your existing Jotform connection so the attribution is available where you manage leads and report on performance.

This guide shows you how to add Madlitics fields to a new or existing Jotform, configure your embed, and confirm the captured data reaches your submissions and connected tools. Before you begin, install the Madlitics script on your website, including pages where you’ll embed your Jotform.
‍

Step-by-step setup walkthrough

‍

Register for Jotform

Step 1: Jotform is an online form builder that lets you create and share lead-capture forms without installing any plugins or writing code. To get started, visit the Jotform website and click “Sign Up”. You can register using your email address or quickly sign up with Google.

Jotform’s free Starter plan includes everything you need to begin collecting customer leads — so you can start building right away without any upfront cost.

‍

Go to the Jotform website and sign up for a free account using your email or Google account.

‍

Once you’ve created your account, click "+ Create" in the dashboard to start building your first form.

Create a form or use an existing one

Step 2: Create a new form from scratch or choose a template.

This walkthrough uses Jotform’s Classic Form layout, with Short Text fields to hold the Madlitics attribution values. If you already have a Classic Form, open it from My Forms, select Edit Form, and add attribution fields in the next step, to your existing form without rebuilding its questions.

‍

Choose Form to create a standard online form for capturing leads

‍

Pick how to begin; select Start from Scratch for a blank form or Use Template to get started with a pre-made design.

‍

Select Classic Form to follow the layout used in this walkthrough.

Add Madlitics fields for attribution

Step 3: Add the seven default Madlitics fields to your form to hold the marketing channel, campaign segments, landing page URL and landing page group data alongside the visitor’s answers. Use a Short Text field for each value so the fields stay invisible to visitors but still collect data behind the scenes.

  • From the Form Elements panel, drag a Short Text Field onto your form and place it just above the Submit button.
  • Then open the field’s Properties › General settings to define the Field Label as channel.
  • Open the field’s Properties › Advanced settings to define Default Value as [channel] and set the option for Hide Field to 'On'.
  • Repeat this process for the remaining six (6) Madlitics fields (complete listing below). Once you’ve got all seven Madlitics fields configured, save your form

‍

Open your form in Jotform’s builder and click 'Add Element' to access available field types.

‍

Build your form as usual, then add a Short Text field just above the Submit button, for Madlitics to capture attribution data.

‍

Within Properties › General, set the Field Label to Channel.

‍

Within Properties › Advanced, set the Default Value to [channel], and set the Hide Field option to 'On'.

‍

Repeat this process for the 6 remaining Madlitics fields, and save the form to begin collecting customer lead data.

‍

Default Madlitics fields and values

Marketing Channel Category
Categorizes the visit’s marketing channel based on multiple signals, including traffic type, referring domain, and known platforms.
Field label: channel
Default value: [channel]  

Segment 1
Captures the source of the traffic, identifying the specific platform, publisher, or partner that sent the visitor to your site; for paid traffic, this field records the utm_source, for organic traffic the platform, for referrals the referring domain, and for direct traffic no value is captured.
Field label: segment1
Default value: [segment1]

Segment 2
Captures the campaign-level details associated with the visit, identifying which campaign, promotion, or initiative led the visitor to your site; for paid traffic, this field records the utm_campaign, for organic traffic the referring domain, and for direct traffic no value is captured.
Field label: segment2
Default value: [segment2]

Segment 3

Captures the value supplied in utm_term for tagged campaigns. Depending on your tagging convention, this may identify a keyword, ad group or another campaign detail. For organic traffic, it may contain available referring URL information.
Field label: segment3
Default value: [segment3]

Segment 4
Captures the value supplied in utm_content for tagged campaigns to distinguish ads, creative variations, placements or other details defined in your campaign links.
Field label: segment4
Default value: [segment4]

Landing Page
Captures the exact page where the visitor first entered your site, recording the original entry point of the session.
Field label: lp
Default value: [lp]

Landing Page Group
Captures the category or logical grouping of the landing page, allowing multiple related entry points to be analyzed under a shared identifier.
Field label: lpg
Default value: [lpg]

‍

Configure additional Madlitics field value pairs for deeper customization and richer insights.

Embed the form

Step 4: In Jotform, open Publish › Embed and choose Source Code, Lightbox or iFrame. Add the embed to a website page where the Madlitics script is installed.

Source Code places the form’s HTML and scripts on your page. Lightbox opens the form in a pop-up. An iframe displays the hosted form within your page. Each method uses your configured Madlitics fields to receive attribution.

‍

‍

Go to Publish › Embed for the form embed options: Source code, Lightbox, iFrame.

‍

Copy the Source Code to paste the full form HTML and scripts directly into your site for maximum customization.

‍

Use the Lightbox option to display the form in a pop-up that appears when visitors click a button or link.
Copy the code and paste it into your site.

‍

Choose the iFrame option to embed the form securely within your page without affecting existing site code.

‍

‍

View captured attribution in Jotform

When someone submits your Jotform, the configured Madlitics fields record their first-touch channel, available campaign details, landing page URL and landing page group alongside their answers.

Open a submission to see which source and campaign brought the lead to your website and where they first landed. These values stay with the submission, ready to map into your CRM and reporting tools through your configured connections.

‍

Open a Jotform submission to view the captured channel, campaign and landing page data alongside the lead’s details.
Stacked bar chart showing lead generation by marketing channel over time, comparing sources like Paid Search, Paid Social, Organic Search, Direct, and Email. Helps visualize which channels drive the most traffic.
Line chart displaying lead-to-customer conversion rates by channel, comparing Google Ads, Facebook Ads, LinkedIn Ads, Organic Search, and Email. Shows how different sources drive qualified leads over time.
Line chart showing revenue performance by marketing campaign, comparing Google Ads, Facebook Ads, and LinkedIn Ads. Helps identify top-performing and underperforming campaigns.

Related articles

Your Jotform submissions can now carry attribution alongside the lead’s details. Map those fields into your connected tools to compare lead sources with pipeline and customer outcomes. For an overview of how that data supports reporting and follow-up, see the Jotform integration overview.

Frequently Asked Questions

Answers to common questions about setting up tracking with Madlitics and Jotform