UTM Tracker for Gravity Forms

Description

UTM Tracker for Gravity Forms is a simple and reliable solution for capturing UTM parameters and passing them into Gravity Forms fields.

The plugin stores UTM values in cookies for 90 days, ensuring your marketing attribution remains intact — even if visitors browse multiple pages or return later.

It automatically fills Gravity Forms hidden fields with values for:

  • utm_source
  • utm_medium
  • utm_campaign

This works even in:

  • Cached pages
  • AJAX-loaded Gravity Forms
  • Multi-page forms

No configuration needed beyond enabling “Allow field to be populated dynamically”.

Features

  • Automatically captures UTM Source, Medium, and Campaign
  • Stores UTM values in cookies for 90 days
  • Auto-fills Gravity Forms hidden fields
  • Works with AJAX-enabled and multi-step forms
  • Works on fully cached WordPress sites
  • Lightweight and fast — no database usage
  • No external dependencies

Installation

  1. Upload the plugin ZIP file via Plugins Add New Upload Plugin.
  2. Activate the plugin.
  3. In Gravity Forms, add hidden fields with these dynamic population names:
    • utm_source
    • utm_medium
    • utm_campaign
  4. Enable “Allow field to be populated dynamically” for each field.
  5. That’s it — the plugin works automatically.

FAQ

How does this plugin store UTM parameters?

UTM values are stored in browser cookies for 90 days. This ensures attribution works even if the visitor returns later or browses multiple pages.

Does this plugin support cached pages?

Yes. The plugin uses JavaScript-based detection, so it works with all caching systems including WP Rocket, LiteSpeed Cache, Cloudflare, and server-level caching.

Does this plugin support multi-step Gravity Forms?

Yes. The UTM values populate correctly across all pages of multi-step forms.

Do I need to add any shortcodes or custom code?

No. Once the plugin is activated, it works automatically.

What if the user arrives without UTM parameters?

Then the fields remain empty (no errors).

Does the plugin track additional UTMs?

Currently the plugin supports Source, Medium, and Campaign. Additional fields can be added upon request.

Reviews

جنوري 21, 2026
This plugin does exactly what it promises and does it extremely well. It automatically captures utm_source, utm_medium, and utm_campaign and fills them into Gravity Forms without any complex setup. I really like that it works seamlessly with cached pages, AJAX-loaded forms, and multi-step Gravity Forms. The 90-day cookie storage is perfect for proper marketing attribution, and the fact that it doesn’t use the database keeps it lightweight and fast. Setup is straightforward—just enable dynamic population on the hidden fields and you’re good to go. No extra configuration, no unnecessary features, just clean and efficient functionality. Highly recommended for anyone using Gravity Forms and running marketing campaigns. Great work by the developers!
Read all 1 review

Contributors & Developers

“UTM Tracker for Gravity Forms” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0

Initial release.