# Integrate HandL UTM Grabber with Cookie Information

## UTM attribution overview

Set up Cookie Information with HandL UTM Grabber so UTM parameters are only captured after the visitor gives cookie consent. This keeps attribution compliant with GDPR and CCPA.

### Setup

1. Install **Cookie Information** and **HandL UTM Grabber V3**
2. Enable GDPR integration for Cookie Information in **HandL UTM Grabber &gt; GDPR**
3. UTM Grabber checks the `CookieInformationConsent` cookie for `cookie_cat_marketing` approval
4. Until marketing consent is given, no UTM cookies are written
5. Test in incognito: reject marketing cookies, then accept, and verify capture

**Note:** Marketing consent category must be approved before UTM Grabber stores cookies.

### How it works

HandL UTM Grabber hooks into the `is_ok_to_capture_utms` filter. Until consent is granted, no UTM cookies are written. After consent, everything works as usual: shortcodes, hidden fields, and webhook data all pull from stored cookies.

### Enable GDPR mode in UTM Grabber

Go to **HandL UTM Grabber &gt; GDPR** and enable the Cookie Information integration toggle. See [GDPR Implementation Guide](https://docs.utmgrabber.com/books/102-getting-started-for-handl-utm-grabber-v3/page/gdpr-implementation-guide-for-handl-utm-grabber-plugin).

### Troubleshooting

- UTMs not capturing? Confirm marketing/statistics consent was accepted, not just functional cookies
- Clear cookies and test in an incognito window after changing consent settings
- Ensure UTM Grabber is listed/enabled in the consent plugin's integration or script blocker settings