Set up Typeform to capture UTM parameters and marketing attribution


This guide shows you how to connect Madlitics to an embedded Typeform using custom URL parameters. You’ll configure the Madlitics Fields, publish your form, and submit a test to check the captured attribution.
Step 1: Open an existing Typeform form or create a new one, and add your lead-capture questions before configuring the attribution parameters.


Step 2: In your Typeform editor,
channel and save.Use the parameter names exactly as shown, in lowercase. Madlitics supplies the attribution values when visitors use your embedded form.




channelsegment1utm_source for tagged campaigns.segment2utm_campaign, with channel-specific values for untagged traffic.segment3utm_term, when provided.segment4utm_content, when provided.lplpgClick IDsPublish your Typeform changes, then add the form to your website using Typeform’s embed code.
Make sure Madlitics is installed on the website where the form appears. Test using that embedded form so you can verify that website attribution reaches your Typeform responses.

Open a fresh private browsing window to avoid previously stored attribution. Visit a page on your website using a tagged URL like this: https://yourwebsite.com/?utm_source=test&utm_medium=cpc&utm_campaign=typeform_setup&utm_term=test_keyword&utm_content=test_ad. Navigate to the page containing your embedded Typeform, then submit a test response. Open Results → Responses in Typeform and inspect the submission.

Check that segment1 contains test, segment2 contains typeform_setup, segment3 contains test_keyword, and segment4 contains test_ad. The lp field should contain the page where you started the visit.
If values are missing, check that Madlitics is running, your parameter names match exactly, and your latest Typeform changes are published. If you send responses to a CRM or another tool, also confirm that the Madlitics Fields are mapped and arrive with the test submission.
With Madlitics configured for your embedded Typeform, responses can include available original channel, campaign, and landing page data. Map those parameters into your CRM or reporting tools to connect marketing sources with leads, customers, and revenue.
If you’d like a hand getting everything live or want to confirm your setup is working correctly, our team is here to help. Reach out anytime and we’ll guide you through it.
Answers to common questions about Madlitics and Typeform