How to capture UTM parameters in Typeform

Capture UTM parameters in Typeform and preserve original campaign details across pages and return visits.
Attribution is broken

Typeform can record UTM parameters passed into a form, but the challenge is keeping those values available when someone browses your website or returns later before submitting.

Madlitics captures the visitor’s original campaign details on arrival, preserves them in their browser, and passes them into your configured Typeform submissions. Each response can then include source, campaign, term, and content values alongside the lead’s answers.

This guide explains how UTM capture works, what data reaches Typeform, and how to test that the original campaign survives the journey to submission.

How to capture and preserve UTMs in Typeform

Tag your campaign links, capture attribution when visitors arrive, and pass the stored values into your embedded Typeform.

1.

Tag your campaign links

Add UTMs to links in ads, emails, social posts, and other external campaigns. Use consistent values for source, medium, campaign, term, and content where relevant.

ex. URL with UTMs: https://example.com/demo?utm_source=google&utm_medium=cpc&utm_campaign=demo_q2&utm_term=attribution_software&utm_content=text_ad_1

Install Madlitics
Add UTM parameters
2.

Capture UTMs when visitors arrive

Install Madlitics on your website to capture and preserve original campaign details as visitors browse or return later.

Installing Madlitics
3.

Pass the stored values into Typeform

Configure your Typeform’s custom URL parameters using Madlitics field names. Madlitics passes the stored attribution into your embed, so those values are saved with the response.

Set up Typeform for attribution
Receive enriched submission data
Connect to reporting
4.

Send attribution into your reporting tools

Map the response parameters to fields in your CRM, spreadsheet, or other connected tool. Use the campaign details alongside lead and customer records to evaluate marketing performance.

Which UTM values are captured in Typeform?

Madlitics maps the original UTM values into your configured Typeform parameters:
Campaign detail
UTM parameter
Madlitics field
Source
utm_source
Segment 1
Campaign
utm_campaign
Segment 2
Keyword or targeting detail
utm_term
Segment 3
Creative or content
utm_content
Segment 4
Campaign identifier
utm_id
Segment 5

Madlitics also includes the classified marketing channel (channel), original landing page (lp), and landing page group (lpg).
‍
Classified marketing channel
—
Channel
Original landing page
—
lp
Landing page group
—
lpg
Click IDs
—
10+

* Values depend on the campaign tags and source information available when the visitor first arrives.

Use Typeform UTM data in your CRM reports

Map the captured attribution into your CRM, then connect it to lead, customer, and deal records, comparing campaign performance beyond Typeform response counts.

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.

Leads by channel
Compare leads across Paid Social, Paid Search, Organic Search, and other channels to understand which marketing channels generate Typeform submissions.

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.

Lead-to-customer conversion
Compare how many leads from each campaign become customers and identify campaigns that generate qualified business, even when they produce fewer submissions.

Line chart showing revenue performance by marketing campaign, comparing Google Ads, Facebook Ads, and LinkedIn Ads. Helps identify top-performing and underperforming campaigns.

Revenue by campaign
Connect campaign attribution to associated deals or customer revenue in your CRM to see which campaigns contribute revenue alongside the leads they generate.

Related articles

Keep campaign context with every Typeform lead

Preserve the original UTM values as visitors browse and return, then capture them alongside their Typeform answers. With attribution mapped into your CRM, you can connect campaigns to leads, customers, and revenue.

Start capturing Typeform attribution with a Madlitics free trial.

Why use Madlitics with Typeform to capture UTM and attribution data

See which channels, campaigns, and content actually drive pipeline and revenue.

Keep campaign details with each lead
Capture source, campaign, term, and content values alongside Typeform answers.

Preserve first-touch UTMs
Keep the original campaign details when visitors browse other pages or return later.

Include the original landing page
See where visitors first arrived alongside the campaign that brought them.

Use consistent attribution fields
Organize campaign details into the same Madlitics Fields across your Typeform responses.

Recognize untagged sources
Classify organic search, social, and referral visits using available referral information.

‍

Report inside your CRM
Map attribution into lead records to compare campaign contributions to customers and revenue.
Start a Madlitics free trial

Frequently asked questions

Answers to common questions about UTM tracking with Madlitics and Typeform