Set up Fillout forms to capture UTMs and marketing attribution

Add original channel, campaign and landing-page data to your Fillout submissions, ready for follow-up and reporting.
Attribution is broken

Madlitics captures first-touch attribution when leads arrive on your website and preserves it as they browse. Your configured Fillout form receives the original channel, campaign details and landing page alongside the lead’s answers, giving your team useful marketing context in the records they already use.

This guide walks through adding the attribution fields and URL parameters to a new or existing Fillout form, embedding it on your website and using the captured data in Fillout Results and connected tools. This walkthrough uses a Fillout form embedded on your website. Keep your existing questions and design; the attribution fields will stay hidden.
‍

Install Madlitics across your website, including the pages where leads first arrive and the page containing your embedded form. This lets it capture the original visit before the lead reaches Fillout.

Create a new form or open an existing one

Step 1: In your Fillout dashboard, open Fillout → My forms and select the form you want to use. To create one, click + New form, then choose Blank form. Build forms as usual adding or keeping any questions your leads need to answer, and the details of their inquiry.
‍

Open an existing Fillout form or click + New form to start a new one.

‍

Choose how you want to create your form.

Configuring Fillout attribution fields

Step 2: Drag a Short answer field into your form. Replace “Type your question here” with Channel, then click the field’s settings gear to open the right-hand panel.

Inside the Default value input, click + to open the references panel. Select the link icon, then click Configure URL parameters.

‍

Add a Short answer field and name it Channel.

‍

Open the Default value picker, then select Configure URL parameters.

‍

Create the attribution URL parameters

  1. Click + Add new, enter channel as the parameter name, then click Add parameter.
  2. Repeat for segment1, segment2, segment3, segment4, lp and lpg. Enter each name exactly as shown, using lowercase letters and no spaces.
  3. Once all seven parameters are created, close the settings modal to return to your form.
    ‍
Click + Add new to register an attribution parameter.

‍

Enter channel and click Add parameter.

‍

Register all seven Madlitics parameters, then close the settings window.

‍

Connect URL parameters to attribution fields

  1. Open the Channel field’s settings if the panel is no longer visible.
  2. Under Default value, click +, select the URL parameters link icon, then choose channel. The selected parameter will appear as a reference inside the Default value input.
  3. Expand the Logic section and enable Hide always. The field will remain hidden from leads while its value is included in the form results.
  4. Add a Short answer field for each remaining attribution value. Select its matching URL parameter as the Default value, then enable Hide always, using the table below as your reference.

‍

Open the Channel field’s Default value picker.

‍

Select channel from the URL parameters list.

‍

Enable Hide always to hide the field while including its value in submissions.

‍

Repeat for the remaining attribution fields, then open Share to embed your form.

‍

Madlitics fields

Use Short answer fields. Select the matching URL parameter as each field's Default value, and enable Hide always for all seven fields. Enter the parameter names exactly as shown: lowercase, with no spaces.

Name

URL Parameter

Captures

Channel

channel

Original marketing channel

Segment 1

segment1

Traffic source, including utm_source for tagged campaigns

Segment 2

segment2

Campaign name from utm_campaign, when supplied

Segment 3

segment3

Keyword or targeting detail from utm_term, when supplied

Segment 4

segment4

Ad creative or content variation from utm_content, when supplied

Landing Page

lp

URL of the page where the lead first entered your website

Landing Page Group

lpg

Reporting group for the original landing page

Name

URL Parameter

Captures

Channel

channel

Original marketing channel

Segment 1

segment1

Traffic source, including utm_source for tagged campaigns

Segment 2

segment2

Campaign name from utm_campaign, when supplied

Segment 3

segment3

Keyword or targeting detail from utm_term, when supplied

Segment 4

segment4

Ad creative or content variation from utm_content, when supplied

Landing Page

lp

URL of the page where the lead first entered your website

Landing Page Group

lpg

Reporting group for the original landing page

Embed your Fillout form

Step 3: With your attribution fields configured, open the Share tab. If your form hasn’t been published, click Publish to enable the sharing options. Under Embed form, select Standard for an inline form. Adjust the embed settings, then click Get the code. Copy the complete embed code into an HTML or embed block on your website, then publish the page.

Make sure Madlitics is installed on that website, including the pages where leads first arrive and the page containing your form.
‍

Open Share after configuring your attribution fields.

‍

Publish your form to enable sharing and embedding options.

‍

Select an embed style

‍

Click Get the code, then copy the complete embed code into your website.

See attribution alongside your Fillout submissions

Step 4: Open your form’s Results tab to see channel, campaign and landing-page data alongside each lead’s answers.

To carry that context into your CRM or database, open Integrate and map the attribution fields through your Fillout connection to the matching properties or columns in tools such as HubSpot, Salesforce, Airtable or Notion. You can also include them in your configured webhook or automation workflow.
‍

Review channel and campaign data beside lead details in Fillout Results.

‍

Open an individual submission to see the lead’s answers and captured attribution together.
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

Put your Fillout attribution to work

With Madlitics connected, your Fillout submissions include the original marketing context behind each inquiry. Channel, campaign and landing-page details sit alongside the lead’s answers, giving your team a clearer picture of what brought them in—even after they’ve browsed other pages.

Carry those fields into your CRM, database and reporting tools to guide follow-up and compare lead quality across sources. Bring attribution together with sales outcomes to see which campaigns introduce qualified opportunities and customers, then use that insight to decide where to invest next.

Frequently Asked Questions

Answers about configuring embedded Fillout forms to capture and use Madlitics attribution data.