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
- Upload the plugin ZIP file via Plugins Add New Upload Plugin.
- Activate the plugin.
- In Gravity Forms, add hidden fields with these dynamic population names:
utm_sourceutm_mediumutm_campaign
- Enable “Allow field to be populated dynamically” for each field.
- 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
Contributors & Developers
“UTM Tracker for Gravity Forms” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “UTM Tracker for Gravity Forms” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0
Initial release.