# 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](https://docs.utmgrabber.com/books/elementor-integration/page/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](https://docs.utmgrabber.com/attachments/2) 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

[![](https://docs.utmgrabber.com/uploads/images/gallery/2021-07/scaled-1680-/image-1626234322463.png)](https://docs.utmgrabber.com/uploads/images/gallery/2021-07/image-1626234322463.png)

### 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. 

[![](https://docs.utmgrabber.com/uploads/images/gallery/2021-07/scaled-1680-/image-1626234431455.png)](https://docs.utmgrabber.com/uploads/images/gallery/2021-07/image-1626234431455.png)

You can use any parameter name listed here [Native WP Shortcodes](https://docs.utmgrabber.com/books/102-getting-started-for-handl-utm-grabber-v3/page/native-wp-shortcodes)