Add cookie support to Elementor Pro

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


Revision #12
Created Tue, Jul 13, 2021 10:59 PM by Leman
Updated Thu, Feb 24, 2022 12:17 AM by Leman