# Integrate HandL UTM Grabber with Ultimate GDPR & CCPA

## UTM attribution overview

Set up Ultimate GDPR &amp;amp; CCPA 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 and activate **Ultimate GDPR &amp; CCPA** and **HandL UTM Grabber V3**
2. UTM Grabber registers itself as compatible with Ultimate GDPR automatically
3. In Ultimate GDPR cookie settings, ensure marketing/statistics cookies require consent
4. Enable GDPR mode for Ultimate GDPR in **HandL UTM Grabber &gt; GDPR**
5. Test: decline cookies and confirm no UTM cookies are set. Then accept cookies and visit a page with UTM params to confirm capture works

**Note:** UTM Grabber only captures UTMs after valid consent when cookie display is set to require consent in Ultimate GDPR.

### 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 Ultimate GDPR &amp; CCPA 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