# Cookie Notice UTM Tracking Integration

Use HandL UTM Grabber with Cookie Notice to respect cookie consent while preserving UTM parameters and attribution for GDPR compliant WordPress tracking.

# Integrate HandL UTM Grabber with Cookie Notice

## UTM attribution overview

Set up Cookie Notice 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 Notice** and **HandL UTM Grabber V3**
2. Enable GDPR mode for Cookie Notice in **HandL UTM Grabber &gt; GDPR**
3. UTM Grabber checks the `cookie_notice_accepted` cookie before capturing UTMs
4. Until the visitor clicks Accept, no UTM cookies are set
5. Test in incognito window after clearing cookies

**Note:** UTM capture is blocked until the visitor accepts cookies via the Cookie Notice banner.

### 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 Notice 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

# Troubleshooting Consent and UTM Capture

## UTM attribution overview

Troubleshooting guide for Cookie Notice UTM Tracking Integration. Fix common issues when UTM Grabber attribution is blocked or delayed by cookie consent.

### Common issues

- **UTMs not capturing after consent:** Reload the page after accepting cookies, or visit with UTM params after consent is granted
- **Partial consent:** UTM Grabber typically requires marketing/statistics consent. Functional-only consent may not be enough
- **Cached pages:** Clear cache plugins (WP Rocket, LiteSpeed) after changing consent settings
- **Multiple consent plugins:** Disable duplicate cookie plugins. Only one should manage consent

Main setup guide: [Integrate HandL UTM Grabber with Cookie Notice](https://docs.utmgrabber.com/books/cookie-notice/page/integrate-handl-utm-grabber-with-cookie-notice)

GDPR overview: [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)