Set up FormAssembly to capture UTM parameters and marketing attribution

Configure FormAssembly hidden fields to capture each lead’s original channel, campaign details, and landing page alongside their submission.
Attribution is broken

Madlitics captures each visitor’s original marketing source and preserves it as they browse your website and return. Configured FormAssembly hidden fields receive that attribution when the visitor submits your form.

This walkthrough shows you how to add the attribution fields, configure their default values, embed your form, and check the captured submission data. FormAssembly can then pass those fields to your CRM through your existing connection.

Create new or use an existing form

Step 1: Start with a new form and select your preferred creation method — Blank, template, etc. You can also use an existing form from your Forms List.

‍

Start with a new form or use an existing one

‍

Build forms as you usually would

Configure FormAssembly to capture attribution

Step 2: To make sure attribution data comes through with every submission, you’ll need to drop in seven (7) fields powered by Madlitics. These fields work behind the scenes, automatically pulling in details like channel, campaign, and landing page details without adding anything extra for your visitors to fill out.

  1. Begin by adding a 'Hidden Field' to your form.
  2. Update the 'Field Label' = Channel.
  3. Add a 'Default Value' = [channel]
  4. Repeat for all Madlitics fields.

‍

Add 'Hidden Field's' to capture attribution data with Madlitics.

‍

Update the 'Field Label' = Channel. Add a 'Default Value' = [channel]

‍

Repeat for all Madlitics fields

‍

Default Madlitics fields and values

Channel Category
Identifies the visitor’s original marketing channel, such as Paid Search, Paid Social, Organic Search, Email, or Referral, using campaign tags and available traffic signals.

Field label: Channel
Default value: [channel]  

Segment 1
Records the traffic source. For tagged campaigns, this captures utm_source, identifying the platform, publisher, or partner that brought the visitor to your site.
Field label: Segment 1
Default value: [segment1]

Segment 2
Records utm_campaign for tagged campaigns, identifying the campaign, promotion, or marketing initiative associated with the visit.
Field label: Segment 2
Default value: [segment2]

Segment 3

Records utm_term for tagged campaigns. Depending on your tagging convention, this can identify a paid keyword, ad group, or another campaign detail. It does not recover unavailable organic search queries.
Field label: Segment 3
Default value: [segment3]

Segment 4
Records utm_content for tagged campaigns, helping distinguish individual ads, creative variations, or links within the same campaign.
Field label: Segment 4
Default value: [segment4]

Landing Page
Records the original page where the visitor first entered your website, preserving that entry point even if they submit a form on another page or return later.
Field label: Landing page
Default value: [lp]

Landing Page Group
Records the grouping associated with the original landing page, allowing related entry pages to be compared together in your reporting.
Field label: Landing page group
Default value: [lpg]

‍

Additional Madlitics fields configurations available — clickIDs, etc.

Embed the form

Step 4: After you’ve finished building the form, the next step is to embed it on your site so Madlitics can record attribution data whenever someone submits an entry.

Go to Publish to see the embed options. Madlitics works with Javascript embeds, publishing on your own site, or using Wordpress.

‍

Go to Publish for the embed options: Embed Javascript, Publish on your site, or Wordpress.

‍

Publish and test submission data

Test your form by visiting your site, using a url with unique utm parameters. The captured attribution data will appear in your FormAssembly Responses page, showing details like channel, campaign, and landing page. Data can be seamlessly passed into your connected tools, CRM, analytics platform, etc. giving you full visibility for reporting and optimization.

‍

View attribution details alongside lead data.

Don't forget to install Madlitics

Signing up for a Madlitics account is quick, and you can get started collecting attribution data in a matter of minutes.

  1. Head over to Madlitics.com and up for a free trial to get started.
  2. Fill out the registration form to get an account
  3. Locate the Madlitics Code Snippet, on your dashboard
  4. Copy that snippet on your site within the <Head> tag
  5. Publish your site to active Madlitics

‍

Head over to Madlitics.com

‍

Register for an account

‍

Copy the snippet, and install it on your site in the <head> section, before the closing </head>
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

With Madlitics now activated and your forms ready to accept marketing attribution data, you can start tracking valuable insights immediately, and pass attribution data into your CRM, email marketing platform, business intelligence tool, for advanced reporting.

Frequently Asked Questions

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