Set up Jotform to capture UTM parameters and marketing attribution


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 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.


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.



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.
channel. [channel] and set the option for Hide Field to 'On'.



Channel.

[channel], and set the Hide Field option to 'On'.

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.
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.




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.

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.
Answers to common questions about setting up tracking with Madlitics and Jotform