How to capture UTM Parameters in Ninja Forms


See which marketing channels, campaigns, and content actually drive your customers, pipeline and revenue.
Turn attribution into decisions
Move beyond “Direct/Unknown” sources. Capture accurate attribution data to understand what's driving conversions, pipeline, and revenue.
Spot top channels
Break down leads by channel such as Organic, Paid Search, Paid Social, and referrals. Identify what is working and shift budget toward top performers.
Find campaigns that convert
Track performance by campaign, source, medium, and landing page. See which efforts generate qualified leads and customers, not just form fills.
Persistent attribution tracking
Keep UTM and session data attached to each lead, even if they return later or convert on a different page.
Ninja Forms makes it easy to build flexible WordPress forms, but capturing reliable UTM parameters for attribution is still a persistent challenge for marketers. Ninja Forms can read UTMs from the URL, but it only sees what’s present when the page (and form) loads—so if a visitor clicks around your site first, lands on a different page, or returns later to submit, attribution often disappears. In practice, UTMs show up on only a small fraction of submissions, while most entries come through with blank or incomplete tracking fields, making it hard to see which campaigns are actually driving results.
The result is incomplete lead insights and a broken link between campaigns and the Ninja Forms submissions they generate. Madlitics solves this by automatically enriching each Ninja Forms response with persistent, first-touch attribution data—channel, source, campaign, and more—without manual scripts or complex hidden-field workarounds. Instead of wrestling with brittle tracking setups, you get clean, consistent attribution on every submission that’s ready to flow straight into your CRM and reporting stack.
Accurate marketing attribution starts with capturing where leads come from. Madlitics works with Ninja Forms to automatically capture UTM parameters, channel data, and first-touch attribution, then writes it into every form submission for your CRM and reporting workflows.

Add UTM parameters to every marketing link you use, including paid ads, email, social, and organic search. Madlitics captures UTM parameters and marketing context automatically, then writes that data into every Ninja Forms submission so your CRM receives complete lead records. Use Madlitics' URL campaign builder to easily add UTMs to URLs.
An example of a URL with UTMs:
yoursite.com/ninjaforms?utm_source=google &utm_medium=cpc l&utm_campaign=demand_gen_q1 &utm_content=crm+software
Follow the setup guide to install Madlitics on Wordpress to capture and write data, into each Ninja Forms submission. Setup Guide: Install Madlitics on Wordpress ->
Once UTM tracking is added to inbound links, the next step is configuring your Ninja Forms to collect attribution data automatically. Madlitics writes attribution values into dedicated form fields at submission so every lead includes its associated marketing context, while staying hidden from respondents. Madlitics fields allow channel, campaign, and landing page data to travel alongside the lead into your CRM and downstream tools, and include:
Setup Guide: Configure Ninja Forms to collect UTM parameters ->


When a visitor submits a Ninja Forms, Madlitics automatically writes the captured UTM parameters and attribution data into the hidden fields you configured. This turns each submission into a complete record that includes both customer details and the full marketing context in one place.
Once the form submits, Gravity Forms receives the customer’s details alongside full attribution data. The submission can then flow into your CRM, marketing automation platform, spreadsheets, BI tools, or reporting workflows just like any other lead record. With attribution data connected directly to form submissions, marketing teams can clearly see which Google Ads campaigns are generating leads, customers, and revenue for the business.

Madlitics adds a persistent attribution layer in front of your Ninja Forms so that every submission inherits clean, consistent tracking data — regardless of which page the user converts on.
When a visitor lands on your site, Madlitics captures first-touch information such as channel, source, campaign, keyword or ad content (if available), and landing page details. That data is stored client-side and associated with the visitor’s session and subsequent sessions, so if they move from a campaign landing page to a blog article and then finally to a “Request Demo” Ninja Forms, the original context is still available.
This means Ninja Forms becomes a reliable capture mechanism instead of a dead end for attribution.
Capturing attribution is just the start—the real value comes from reports that reveal what actually drives pipeline and revenue. With Madlitics enriching every Ninja Forms submission, you replace "Direct/Unknown" black holes with actionable insights that shift budgets, kill underperformers, and double down on winners.
Spot your top channels instantly
Build leads-by-channel breakdowns to see how Organic Search, Paid Search, Paid Social, and referrals stack up on Ninja Forms conversions. Spot if SEO is quietly crushing paid efforts, then reallocate budget from low performers to scale what's working.
Compare ad networks head-to-head
Drill into submissions by network or campaign to benchmark Google vs. Meta vs. LinkedIn performance. Uncover which platforms deliver the lowest CPLs or highest demo-to-customer rates, even for the same form across funnels.
Find campaigns that close (not just click)
Connect Ninja Forms data to your CRM and track customers + revenue by campaign, keyword, or landing page. Pinpoint which efforts generate cheap form fills but zero pipeline versus the ones quietly producing your highest LTV deals.
Prioritize high-ROI content and keywords
Group by landing page or directory (/blog vs. /features) to measure content performance, or slice revenue by keyword/gclid to bid smarter in ad platforms. Turn Ninja Forms responses into a mirror of your ad account breakdowns—but tied to actual leads and sales.
When Fluent Forms send complete UTM and attribution data into your CRM, you can finally report on more than just submission counts. You can analyze which forms, traffic sources, and campaigns drive your best leads and customers, then double down on the workflows and pages that move the needle.
Leads by channel
Compare lead generation across Paid Search, Paid Social, Organic Search, Email, Referral, and Direct traffic. This makes it easy to see how each channel contributes to pipeline and revenue so you can prioritize the ones that perform best.
Leads by campaign
Track which campaigns generate the highest volume of qualified leads using UTM parameters from your Ninja Forms. Campaign-level reporting helps you compare audiences, offers, and messaging across all channels, not just a single ad platform.
Conversion rate by channel
Measure which traffic sources convert leads into customers most effectively using the channel data captured in Ninja Forms submissions. Some channels may drive lots of form fills but low-quality leads, while others consistently produce higher-value customers and stronger revenue.
Revenue by campaign
Connect Ninja Forms attribution data to customers and revenue to see which campaigns are driving real business impact. This makes it easier to optimize budget, scale the campaigns that perform best, and reduce spend on efforts that fail to turn leads into revenue.
Ninja Forms is a powerful tool for creating engaging, high-converting forms that capture leads across your site, from demos to content upgrades. Its conversational design and embed flexibility make it a go-to for performance marketers chasing better response rates.
Pairing it with Madlitics unlocks even more potential by turning every submission into a full attribution record—persistent channel, campaign, keyword, click ID, and landing page data that flows straight to your CRM. No more "Direct/Unknown" gaps or manual stitching; you get clean insights on what truly drives pipeline and revenue.
Start today with a 4-step setup that takes minutes, then build reports that shift budgets from guesswork to proven winners. This integration makes Ninja Forms not just a form builder, but a revenue attribution engine for your entire marketing stack.
Answers to common questions about UTM tracking with Madlitics and Ninja Forms