Skip to main content

Add cookie support to Elementor Pro for UTM Tracking Consent

UTM attribution overview

This guide explains Add cookie support to Elementor Pro for UTM Tracking Consent with HandL UTM Grabber. It helps you respect consent choices while preserving UTM parameters for compliant WordPress attribution and keep the marketing context needed for accurate reporting across forms, bookings, signups, and sales.

This method has been officially deprecated and archive only. Please use Native Elementor Form Support

In case Elementor Pro doesn't capture UTMs as it is supposed to. You can try this reliable method that allows Elementor Pro to grab the UTMs from COOKIES.

Install the cookies module

First of all, download the cookies.php file from the attachment (left sidebar) and upload it to wp-content/plugins/elementor-pro/modules/dynamic-tags/tags

Acitvate cookies module

Go and edit the wp-content/plugins/elementor-pro/modules/dynamic-tags/module.php:52 and add Cookies in the get_tag_classes_names function's array

Set your field to read the value from Cookies.

Go to your form you'd like to edit, select Default Value as "Cookies" under "Advanced". And then enter the the parameter name in the text field as shown below.

You can use any parameter name listed here Native WP Shortcodes

Never lose any UTMs ever 💪

Get HandL UTM Grabber V3