Support

Setting up Forminator for UTM Tracking and marketing attribution

Step-by-step setup to capture marketing channel, campaign, and landing page attribution with Forminator
Start capturing attribution →
Attribution is broken
Automation icon indicating hands-free marketing attribution and data flow.
Analytics report icon, indicating data insights and reporting.
Impact measurement icon, symbolizing marketing effectiveness.
Personalization icon, representing customization features.

Forminator is a fast, flexible WordPress form builder with a clean drag‑and‑drop editor and both free and paid tiers to collect attribution, making it a strong choice for teams of any size. On its own, Forminator does not track full marketing attribution or persist UTM parameters across a visitor’s session.

Madlitics fills that gap by automatically capturing attribution data (like first-touch channel, campaign, source, and landing page) and writing it into your Forminator forms, making it easy to see which marketing efforts generate high‑quality leads, without changing your existing forms or workflows.

In this guide, you’ll learn how to:

  • Confirm Madlitics is installed and writing attribution on your WordPress site
  • Add Madlitics attribution fields to your Forminator forms
  • Ensure UTM parameters and other attribution data are submitted alongside your lead data
Make sure Madlitics is installed on the site where this Forminator lives (ie. Wordpress). The form alone won’t capture attribution data, and needs Madlitics running on your site to pass lead data into your submissions.

1. Install and activate the Forminator plugin

Forminator is available directly from the WordPress plugin directory, making it easy to get started. From the WordPress dashboard, head into the Plugins section and select Add New. Search for Forminator in the directory, then click Install Now. Once installation finishes, hit Activate to turn it on.

You’ll know everything worked when a new Forminator menu appears in your WordPress sidebar; That’s your hub for creating and managing forms.

Plugins > Add Plugin > Install > Activate

Plugins > Add Plugin > Search 'Forminator' > Install. Search for and install the Forminator plugin

Activate the plugin to enable it

Confirm Forminator is installed and activated
Madlitics multi-channel attribution visualization, showing marketing platforms like TikTok, Instagram, Google, and Facebook. The graphic highlights how different sources contribute to high-performing marketing channels.
Screenshot of a form builder interface with a highlighted 'Hidden Input' field. Accompanied by text explaining how to install and set up Madlitics by adding hidden fields to capture marketing attribution data.
CRM interface showing a detailed view of captured attribution data, including marketing channels, segments, and landing pages. A business profile of a lead is displayed, highlighting how Madlitics enriches lead data for sales and marketing teams.
Graph showing new customer growth from TikTok, Instagram, Snapchat, and Google over time, with social media icons surrounding the chart and a callout for social revenue impact.

2. Create a form to capture attribution data

With Forminator active, you’re ready to build a form that captures both your lead details and Madlitics attribution data. Head over to the Forminator menu in your Wordpress dashboard and click '+ Add New' form.

You can start fresh with a New Blank Form if you want full control, or pick from one of the built-in templates to speed things up. Either way, the form will work seamlessly with Madlitics once you’ve added the hidden fields in the next step.

If you already have a form set up, no problem — just open it from your Forms list and click Edit to start configuring for Madlitics fields.

Click '+ Add New' in the Forminator dashboard to begin building

Choose a blank form to start from scratch, or using one an existing one

3. Configure Forminator with Madlitics fields

Build your form however you like — whether that’s a simple contact form or something more advanced. To capture attribution data with submissions, you’ll need to drop in seven (7) fields powered by Madlitics.

From the form editor, click a '+ Insert Form Fields' into your form, and select an 'Input Field'. In the 'Customize Input Field panel', update the Label and Default Value so they line up with a Madlitics field. For example, to configure Madlitics Field 1, set the Label to Channel and the Default Value to [channel].

In the same modal, click the 'Styling' tab and add a css class to the field 'forminator-hidden'. Click Apply to save your changes.

Repeat this process for all of the Madlitics fields. Once you’ve got all the Madlitics fields in place, publish your form to start capturing attribution data alongside your lead details.

Configure additional Madlitics field value pairs for deeper customization and richer insights.

From the form editor, click a '+ Insert Form Fields

In the Customize Input Field panel -> Update the Label and Default Value (ie. Channel, [channel])

Add a css class to the field 'forminator-hidden'

Repeat this process for all 7 Madlitics fields

Forminator Madlitics fields

Marketing Channel Category
Categorizes the visit’s marketing channel based on multiple signals, including traffic type, referring domain, and known platforms.
Admin Field Label: Channel
Default value: [channel]
CSS Class: forminator-hidden

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.
Admin Field Label: Segment 1
Default value: [segment1]
CSS Class: forminator-hidden

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.
Admin Field Label: Segment 2
Default value: [segment2]
CSS Class: forminator-hidden

Segment 3
Captures the keyword, creative variation, or content-level detail that influenced the visit, such as a paid search term, specific ad, post type, or format; for paid traffic, this field records the utm_term, for organic traffic the full referring URL when available, and for direct traffic no value is captured.
Admin Field Label: Segment 3
Default value: [segment3]
CSS Class: forminator-hidden

Segment 4
Captures the audience, ad group, or offer associated with the visit, showing how the traffic was segmented within a campaign; for paid traffic, this field records the utm_content, and for organic and direct traffic no value is captured.
Admin Field Label: Segment 4
Default value: [segment4]
CSS Class: forminator-hidden

Landing Page
Captures the exact page where the visitor first entered your site, recording the original entry point of the session.
Admin Field Label: LP
Default value: [lp]
CSS Class: forminator-hidden

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.
Admin Field Label: LPG
Default value: [lpg]
CSS Class: forminator-hidden

Select Appearance > 'Enable Custom CSS' (toggle on) and add custom css code: 
.forminator-row:has(> div.forminator-hidden) { margin: 0;}

🚨 CSS Update
Wordpress may add whitespace to the .forminator-hidden fields that we can add quickly remedy. Within the 'Customize Form Panel', Select Appearance -> Custom CSS -> Toggle ON 'Enable Custom CSS'. Copy and paste the following code into the css input area:
.forminator-row:has(> div.forminator-hidden) { margin: 0;}.

4. Embed your form on a page

Now that your form includes the Madlitics fields, add it to a live page so visitors can submit.

Click 'Publish Changes' on your form to save your updates.

Open the WordPress page or post where you want the form to appear, and add the Forminator block (or use the shortcode) to embed your form, then publish the page to make it live.

Once published, every form submission will automatically include marketing attribution data and UTM parameters, so you can see exactly how customers found you.

Publish and embed your form to start capturing attribution data

5. Capturing attribution data

Test your form by visiting your site, using a url with unique utm parameters. Captured attribution data will populate in your Forminator entries page which can then be passed to CRMs, Intelligence tools, etc. for advanced reporting.

Captured data will display within Forminator entries

Markeing atribution data is displayed along side customer submission data
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.
Stacked bar chart illustrating lead volume across different marketing campaigns, including Black Friday, Retargeted, Spring Promo, Referral, and SEO. Highlights trends in campaign effectiveness.
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.

With Madlitics now activated and your Forminator forms ready to capture marketing attribution data, every new submission will include the full context — channel, campaign, source, and landing page. See what's really driving leads and pass attribution data into your CRM, email platform, or business intelligence tool for advanced reporting and ROI analysis.

Related articles to get you started with Madlitics

Frequently asked questions

Answers to your top questions about our UTM parameters
Everything you need for reliable lead attribution
Accurate, persistent, and automated tracking — so your campaigns perform at their best.
Performance icon symbolizing marketing campaign effectiveness and results tracking.
Outperforms basic UTM tracking
Madlitics captures, categorizes, and persists attribution data across sessions, giving you a complete, structured view of what’s working in your marketing. Say goodbye to losing attribution when users navigate your site, struggling with formatting inconsistencies, and ingored non-UTM traffic.
Capture icon indicating data collection from various marketing channels and sources.
Capture all traffic
Madlitics categorizes all inbound leads — whether they have UTM parameters or not — so every conversion is accounted for, and you won't miss out on Organic Search, Organic Social, and Referral traffic.
Routing icon representing the flow of marketing data and attribution pathways.
Attribution across pages and sessions
A LinkedIn ad click should be attributed correctly—even if the visitor signs up on a different page later. If someone clicks an ad, browses multiple pages, then submits a form later, Madlitics persists attribution data across sessions, ensuring your reports reflect true performance.
List icon representing structured marketing data, reports, or campaign breakdowns.
Cleaner, more reliable data
Duplicate UTMs and inconsistent formatting break reports and mislead teams. Madlitics cleans and organizes attribution data before sending it to your CRM, giving you accurate insights.
Target icon symbolizing precise audience targeting and marketing campaign focus
See which content converts
Attribution isn’t just about where visitors came from—it’s about what convinced them to convert. By capturing landing page data alongside UTM parameters, Madlitics shows you which blog posts, case studies, or pricing pages drive the most revenue, helping you scale content that works.
Action icon representing campaign execution, optimization, and engagement.
Transform form submissions into actionable insights
Madlitics connects marketing touchpoints to lead generation, ensuring every form submission is fully attributed — optimize ad spend by identifying high-ROI channels, refine messaging based on what content drives engagement, make data-driven decisions with clean, structured reports, and more.