Integrations

Which Tool Automatically Captures UTM Parameters and Marketing Source Data in NinjaForms?

Madlitics enriches your NinjaForms submissions with campaign, channel, and click data—so you always know what’s driving your leads.

Madlitics automatically captures UTM parameters, click IDs (like gclid and fbclid), and referrer data when someone visits your site — and passes that information straight into your NinjaForms submissions. There’s no coding required and no plugins to manage — a quick one-time setup to add the Madlitics script and fields to your form is all that's need to get setup.

Every time a visitor fills out your form, Madlitics ensures the submission includes exactly how they found you—whether it was from a paid campaign, a social post, or organic search.

Why this matters

NinjaForms makes it easy to collect leads on WordPress. But once a form is submitted, you’re often left wondering: where did that lead actually come from?

Most marketers try to solve this by manually adding hidden fields or stitching together Google Sheets to track UTM data. It’s clunky, unreliable, and inconsistent. Without dependable attribution data, your CRM can’t connect leads back to campaigns, and your reports become a guessing game.

Madlitics fixes this problem by adding a thin, powerful layer between your marketing channels and your forms. It captures attribution data automatically—so you always have consistent, structured insight into what’s driving conversions.

How Madlitics solves it

Madlitics works quietly in the background, collecting first-touch data for every visitor who lands on your site. It stores that information locally—UTMs, click IDs, referrer, and landing page details—and waits for a form submission event.

When a visitor fills out your NinjaForm, Madlitics instantly populates the Madlitics Fields with their original channel, campaign, and source information. That data then flows directly into your CRM or email marketing platform alongside the lead’s contact info, giving you a full, accurate picture of the customer journey.

The process is automatic and doesn’t require database integrations, API connections, or external dashboards. Madlitics simply ensures that every form submission carries the right context—so your lead data is both complete and consistent from the moment it’s captured.

How to set up Madlitics with Gravity Forms

Setting up Madlitics with NinjaForms takes just a few minutes.

Add the lightweight Madlitics script to your site (either manually or through Google Tag Manager), then include seven Madlitics Fields in your NinjaForms builder. These fields capture your visitor’s channel, campaign, and landing page data when they submit the form.

To verify everything is working, fill out your own form and check the submission details—you’ll see data automatically appear in the Channel and Landing Page fields.

For complete, step-by-step instructions, visit the NinjaForms integration guide. You can also read more about the data structure in the Madlitics Fields Value Pairs article, or review our Madlitics testing overview to confirm your setup.

Common Questions

Does Madlitics capture Google Ads click IDs in NinjaForms?
Yes. Madlitics automatically captures gclid, fbclid, and msclkid values when a visitor arrives from paid campaigns. Those IDs are stored and passed directly into your form submissions as part of the lead record.

Can I install Madlitics through Google Tag Manager?
Definitely. Madlitics can be added through GTM just like any other script. The key is to make sure it loads in the <head> of your site so attribution data is collected before your form appears.

Does it work with multi-step or AJAX-loaded forms?
Yes. Madlitics includes built-in support for NinjaForms’ dynamic behavior. It watches for forms that load asynchronously or span multiple pages, ensuring fields populate correctly no matter how your form is built.

What happens if the same visitor returns later?
Madlitics uses first-touch attribution by default. It records the visitor’s original source—the campaign or channel that brought them to your site first—and keeps that data consistent even if they return from a different link or ad.

How Madlitics Compares to Other Tools

Other tools can capture UTM data in NinjaForms, but most rely on complex setups, external dashboards, or partial data collection. Madlitics takes a form-first approach. Instead of tracking data in a separate system, it captures attribution directly inside your existing forms—no extra plugins or spreadsheets needed.

Tools like GA4 can provide similar insights, but they often stop short of giving you clean, form-level attribution data. Madlitics was built to solve that exact gap. By standardizing how data flows from your marketing channels into your CRM, it delivers a level of consistency that makes your reports more trustworthy and your insights more actionable.

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.
1. Add UTM parameters to all inbound links
Any marketing effort that drives traffic — whether it’s a paid ad, an email campaign, or an organic post — should have properly structured URLs that clearly define the visitor’s origin. Setting it up is a straightforward process that starts with ensuring all inbound links include UTM parameters.

A LinkedIn campaign, for example, might link to:
https://yoursite.com/?utm_source=linkedin&utm_medium=paidsocial&utm_campaign=q1_promo
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.
2. Add hidden fields
Once you’ve added UTM tracking to your inbound links, the next step is to install Madlitics on your site and update your Framer Forms to include hidden fields that will store attribution data when a visitor submits a form automatically. Hidden fields to include:
• Channel (e.g., Paid Search, Organic Social, Direct)
• Segment 1 (Platform name: Google, LinkedIn, Twitter)
• Segment 2 (Campaign name)
• Segment 3 (Ad group, offer name, or post type)
• Segment 4 (Creative type or ad variation)
• Landing page/group (Tracking & first-touch attribution)
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.
3. Utilize attribution data
With the setup complete, every form submission in Framer now carries full attribution data, ensuring accurate insights into where leads originate. Pass this data to your CRM, analytics tools, or marketing automation platforms to track performance, refine campaigns, and optimize marketing efforts with precision.

Next steps?

Start capturing attribution data automatically in your NinjaForms submissions.
Follow our integration guide and see how easily Madlitics connects your marketing efforts to real results.

Madlitics installs in minutes, runs silently in the background, and enriches every form submission with the context your marketing and sales teams need to make better decisions.

Put attribution data to work
Sync, analyze, and automate — turn insights into action.
Automation icon indicating hands-free marketing attribution and data flow.
Sync with your CRM
Pass UTM parameters into Salesforce, HubSpot, or ActiveCampaign so your sales team knows exactly where every lead came from — no more guessing.
Analytics report icon, indicating data insights and reporting.
Built smarter reports
Use Google Sheets, Looker Studio, or Airtable to create data-driven reports that reveal which campaigns drive real revenue — helping you make informed budget decisions.
Impact measurement icon, symbolizing marketing effectiveness.
Track revenue impact
Sync UTM data with Stripe, PayPal, or Chargebee to see which campaigns generate paying customers, not just leads — so you can scale what works.
Personalization icon, representing customization features.
Personalize email campaigns
Trigger personalized email flows in Klaviyo, Mailchimp, or ConvertKit based on a lead’s original source — ensuring the right message reaches the right audience.
Visualizing your marketing impact
See how attribution data translates into actionable insights.
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
See how different marketing channels contribute to lead generation over time. Understand which ones drive the most traffic and whether your marketing mix is balanced. Shift your budget toward the highest-performing channels to maximize results.
Stacked bar chart illustrating lead volume across different marketing campaigns, including Black Friday, Retargeted, Spring Promo, Referral, and SEO. Highlights trends in campaign effectiveness.
Leads by campaign
Track inbound leads across all campaigns, whether or not they have UTM parameters. Ensure every lead is categorized correctly, including Organic and Referral traffic. Use this insight to refine messaging, targeting, and budget allocation for better performance.
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.
Conversion rate by channel
See which channels convert leads into paying customers. Some bring buyers, while others generate unqualified leads. Focus your budget on what drives revenue.
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
Focus your budget on campaigns that drive revenue, not just leads. Identify top performers and optimize underperforming efforts to maximize profitability.
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.