UTM Form Tracking for WordPress | User Analytics | Ninja Forms
User Analytics for WordPress forms Ninja Forms

Ninja Forms +
User Analytics

Automatically capture UTM parameters, referrer URLs, browser, and OS data with every Ninja Forms submission.

Every form submission carries a story about where that visitor came from – but only if you capture it. User Analytics adds hidden fields to your Ninja Forms that automatically record UTM parameters, referrer URLs, browser type, and operating system with every submission. You get the campaign attribution data you need without adding a single visible field to your form.

With User Analytics, you can:

Capture UTM Parameters
Record utm_source, utm_medium, utm_campaign, and utm_content from every tagged URL automatically.
Track Referrer URLs
See the exact page a visitor came from before landing on your form. Search results, social posts, or partner sites.
Detect Browser & OS
Capture the visitor’s browser name, version, and operating system with every form submission.
Hidden from Visitors
All analytics fields are invisible to form submitters. Your form design stays clean; the data collection happens in the background.
Stored in WordPress
Analytics data lives in the standard Ninja Forms submissions table. No external dashboard or third-party account required.
And Much More…
Filter, search, and export your analytics-enriched submissions using the same Ninja Forms tools you already know.

Key Features of User Analytics

Automatic UTM parameter capture

UTM parameters are the tracking codes marketers add to URLs – things like ?utm_source=google&utm_medium=cpc&utm_campaign=spring-sale – that tell you exactly which ad, email, or social post drove a visitor to your site. User Analytics reads those values from the page URL the moment your form loads and saves them alongside the submission automatically.

The fields capture four UTM values: utm_source (where the traffic originated, such as google or newsletter), utm_medium (the channel, such as cpc or email), utm_campaign (the specific campaign name), and utm_content (used to distinguish ads or links within the same campaign). If a visitor arrives without UTM parameters, those fields simply record as empty – no errors, no noise.

Ninja Forms builder showing UTM parameter hidden fields added to a form

Referrer URL tracking

The referrer URL is the web address the visitor was on before they landed on your form page. User Analytics records this automatically, giving you a direct answer to the question: where did this lead come from?

Referrer data shows you whether a submission arrived from a Google search results page, a Facebook post, a partner site link, or a direct visit. When someone fills out your contact form after clicking a link in a guest blog post you wrote three months ago, the referrer field tells you that. It is the kind of attribution insight that is otherwise invisible.

Browser detection

User Analytics captures the browser name and version used to submit each form – Chrome, Firefox, Safari, Edge, and others. This is practical data for two different audiences on your team.

Marketing teams can use it to understand which browsers your audience uses most, which can inform design and testing priorities. Support teams get immediate context when a user reports a problem: if three consecutive form errors all came from the same browser version, you have a starting point for diagnosing the issue.

Ninja Forms submission showing the Browser field populated with browser name and version

Operating system detection

Alongside browser data, User Analytics records the visitor’s operating system – Windows, macOS, iOS, Android, Linux, and others. On its own, OS data tells you whether your audience is primarily desktop or mobile. Combined with browser data, it gives you a fuller technical profile of each submitter.

If you ever need to reproduce a form issue a user reported, knowing they were on iOS Safari versus Windows Chrome is the difference between a fast fix and a long debugging session.

Ninja Forms submission showing the Operating System field populated with an OS name

Hidden form fields

All of the analytics data User Analytics captures is stored in hidden fields. Your form visitors never see them, and the fields do not take up any visible space in your form layout. The form experience your users see is exactly what you designed.

You control which fields to add. Open any form in the Ninja Forms builder, click the Add Field button, and choose the User Analytics fields you want. Add all of them, or just the ones relevant to your current campaign. Each field label is customizable so the data column names make sense to you when you review submissions.

Native submissions storage

The data User Analytics captures lives in the same place as every other Ninja Forms submission. There is no separate dashboard, no third-party service to log into, and no data export step before you can read your results. Open Ninja Forms, go to Submissions, and your UTM parameters, referrer, browser, and OS data are right there alongside the rest of the form fields.

Because the data is in the standard submissions table, you can filter, search, and export it using the same tools you already use for all your other form submissions. Your analytics data travels with your form data – always together, always in WordPress.

Know Exactly Where Your Leads Come From

User Analytics is included with the Ninja Forms Elite membership, or available as a standalone purchase. Pick your plan above and start capturing campaign attribution data with every form submission.

Priority email support and 14-day money-back guarantee included.

What Are UTM Parameters and Why Do They Matter?

UTM parameters are short pieces of text added to the end of a URL that tell your analytics tools where a visitor came from. The name comes from “Urchin Tracking Module,” the predecessor to Google Analytics. You have almost certainly seen them without realizing it: they are the long string that appears after a ? in a URL when you click a link in an email or an ad.

For small business owners, UTM parameters answer a question that matters a lot: which of my marketing activities is actually bringing in leads? If you are running a Google Ads campaign, sending a monthly email newsletter, and posting on LinkedIn, UTM parameters let you see which channel produced each form submission. Without them, you know someone submitted a form – but you do not know why they showed up.

User Analytics captures UTM parameters passively. You add the fields to your form once, and every future submission that arrives via a UTM-tagged link will have that campaign data recorded. No ongoing configuration, no manual tagging of individual form entries.

See Your Form Submission Data in Context

Knowing that a submission happened is the starting point. Knowing that a submission came from a paid Facebook ad, on a MacOS device, using Chrome, after the visitor clicked through from a specific campaign you ran in February – that is actionable intelligence.

When you open a submission in Ninja Forms with User Analytics installed, you see the full picture: every standard field your visitor filled in, plus the analytics data fields running alongside. There is no pivot, no export, no cross-referencing against a separate report. The attribution context is part of the submission record itself.

This matters most when you are trying to explain results to a client, justify a campaign budget, or decide where to spend next month’s ad dollars. The data is already there, in plain language, in the tool you already use to manage your forms.

Common Use Cases

  • Prove which campaigns generate real leads: Tag your ad and email URLs with UTM parameters and use User Analytics to see exactly which campaigns are producing form submissions, not just clicks. Start with a pre-built contact form template or build your own.
  • Track organic vs. paid traffic attribution: See whether your form leads are coming from paid search, organic search, social media, or direct visits – all without leaving WordPress or logging into a separate analytics platform.
  • Identify high-performing referral sources: Spot the partner sites, guest posts, or directory listings that consistently send converting traffic to your forms. The referrer URL field gives you the source without requiring any additional setup.
  • Support browser-specific form issues: When a user reports a problem submitting your form, the browser and OS fields in their submission record tell your support team exactly what environment to reproduce the issue in.
  • Audit form performance across devices: Understand whether your audience submits forms predominantly on desktop or mobile, and which operating systems they use. Use that data to prioritize testing and design decisions.
  • Attribute leads without a third-party analytics account: Keep all your form submission data self-contained inside WordPress. User Analytics gives small teams the campaign attribution data they need without requiring a Google Analytics account or any external service.

Stop Guessing. Start Attributing.

User Analytics is included with the Ninja Forms Elite membership, or available as a standalone purchase. Give every form submission the campaign context it deserves.

Priority email support and 14-day money-back guarantee included.

Frequently Asked Questions

How do I track UTM parameters in WordPress forms?

Install the User Analytics add-on for Ninja Forms, open any form in the builder, and add the UTM hidden fields (utm_source, utm_medium, utm_campaign, utm_content) using the Add Field button. Once the fields are in place, any visitor who arrives via a UTM-tagged URL will have those parameter values captured automatically and stored with their submission. No coding or third-party service required.

What is form analytics and why does it matter?

Form analytics refers to collecting contextual data alongside each form submission: things like where the visitor came from, which campaign drove them to your site, and what device they used. This matters because it turns a raw form submission into an attributed lead. Instead of knowing someone filled out your contact form, you know they came from your March email campaign on a mobile iOS device. That context drives smarter marketing decisions.

Can I see which marketing campaigns generate form submissions?

Yes. User Analytics captures the UTM parameters from the visitor’s URL when they load a page with your form. If you tag your campaign links with UTM values (utm_source, utm_medium, utm_campaign, utm_content), those values are recorded with every submission that arrives via those links. You can view the data in the Ninja Forms submissions table inside WordPress.

How do I track where my form leads come from?

User Analytics captures two pieces of source data: UTM parameters (for leads arriving via tagged campaign links) and referrer URL (the web address the visitor was on before landing on your form page). Together, these two fields give you campaign-level attribution and organic source tracking for every form submission, all stored natively in WordPress.

Does User Analytics require a Google Analytics account?

No. User Analytics stores all captured data directly in your WordPress site’s Ninja Forms submissions table. You do not need a Google Analytics account, a third-party analytics service, or any external login to view your data. Everything is available inside the Ninja Forms Submissions screen.

Do the analytics fields appear on the front-end form?

No. All User Analytics fields are hidden field types. Visitors who fill out your form will never see them. The fields are only visible on the back end, inside your Ninja Forms submission records. Your form’s design and user experience are completely unaffected.

What UTM parameters does User Analytics capture?

User Analytics captures four standard UTM parameter values: utm_source (the traffic source, such as google or facebook), utm_medium (the channel, such as cpc or email), utm_campaign (the campaign name), and utm_content (used to differentiate links within the same campaign). Each is captured as a separate hidden field so you can filter and sort submissions by any individual UTM value.

Can I export the UTM and analytics data from my form submissions?

Yes. Because User Analytics data is stored in the standard Ninja Forms submissions table, it is included in any submission export you run. The UTM, referrer, browser, and OS fields export alongside all other form fields using the same export tools built into Ninja Forms.

Changelog

3.0.5 (9 February 2026)

Bug Fixes:

  • remove bottom margin from user analytics fields
  • account for double encoded argument separators in URL referer

Enhancements:

  • add detection for Microsoft Edge browser

3.0.4 (2024.03.27)

Bug Fixes:

  • Remove legacy geolocation fields from builder

3.0.3 (2023.09.14)

Bug Fixes:

  • Remove obsolete geolocation dependency

Other:

  • Automate build process
  • Remove deprecated files

3.0.2 (2023.01.18)

  • Avoid unnecessarily large data requests by adding instance management to field loading

3.0.1

  • Change: Switched our Geolocation API from geoplugin.net to freegeoip.app in hopes of seeing less n/a responses.

3.0.0

  • Updated with Ninja Forms v3.x compatibility
  • Deprecated Ninja Forms v2.9.x compatible code

1.2.6

  • Tweak: Switched geo-location API to improve and fix unstable geo-location data.
  • Tweak: Fixed HTTP_REFERER notice.

1.2.5

  • Tweak: Route hostip.info request via own server to add secure connections (443).

1.2.4

  • Tweak – Added URL Referer field.

1.2.3

  • Bug – Using NF 2.9 tab name. Fixes issue adding UA fields to forms.

1.2.2

  • Tweak – No longer passing variables by reference. Causes issues in PHP 5.4+ (http://php.net/manual/en/language.references.pass.php)

1.2.1

  • Bug – Replacing GeoIP service with HostIp.info
  • Tweak – Using HTTP_X_FORWARDED_FOR to get IP address

1.2.0

  • Feature – Adding UTM fields

1.1.0

  • Feature – Allow other plugins to access UA fields

1.0.2

  • Tweak – Implementing Ninja Forms licensing

1.0.1

  • Tweak – Adding icons to updater
  • Tweak – Changing main plugin file slug to be more consistent with other Ninja Forms extensions
  • Tweak – Refactoring custom fields

1.0

  • Initial release