MZ UTM Tracker for Gravity Form
MZ UTM Tracker for Gravity Form
Description
MZ UTM Tracker for Gravity Form allows you to easily track your marketing campaigns by capturing UTM parameters from the URL and saving them into your Gravity Forms submissions.
The plugin automatically detects the following UTM parameters:
* utm_source
* utm_medium
* utm_campaign
* utm_term
* utm_content
* utm_id
Key Features
- Automatic Capture: Detects UTM parameters in the URL and stores them in the user’s browser (Local Storage).
- Form Population: Automatically populates hidden fields in your Gravity Forms with the captured data.
- Field Creation: Automatically adds hidden fields to your forms if they don’t exist (optional but recommended to add them manually to map them correctly).
- Cross-Page Tracking: Because data is stored in Local Storage, the user can navigate your site before submitting the form, and the UTMs will still be captured.
- Clean URLs: Optionally cleans up the URL after capturing the data.
Installation
- Upload the plugin files to the
/wp-content/plugins/mondoloz-utm-tracker-for-gravity-formsdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- That’s it! The plugin works automatically. Just ensure your Gravity Forms have fields with the “Input Name” set to
utm_source,utm_medium, etc., or let the plugin add them as hidden fields.
Faq
Yes, it works with both AJAX and standard form submissions.
Yes, since the population happens via JavaScript, it is compatible with most caching plugins.
Reviews
Changelog
1.1.2
- Renamed plugin to “MZ UTM Tracker for Gravity Form” to comply with WordPress repository guidelines.
- Updated text domain and internal structure.
1.1.1
- Fixed security warnings.
- Fixed issue with UTM formatting (space encoding).
- Renamed plugin to avoid collisions.
1.1.0
- Refactored codebase for better performance and standards.
- Fixed issue where Local Storage was not cleared on non-AJAX redirects.
- Added
utm_idsupport.
1.0.0
- Initial release.