Enable WP Consent API Integration
Our plugin functions by default. This means it collects UTM data regardless of consent status, assuming no consent restrictions are in place.
If you wish to collect data irrespective of consent, then there's no need to adjust any settings.
Only proceed if you want UTM Grabber to wait for user consent before gathering data. Please be aware that enabling this feature could result in missing data from users who did not provide consent.
How to Enable
If you wish to respect user consent via WP Consent API, follow these steps:
Step 1: Install Required Plugins
- Install WP Consent API plugin (free from WordPress.org)
- Install a consent management plugin that supports WP Consent API, such as:
- Complianz GDPR/CCPA
- CookieYes
- Cookie Notice
- Or any other WP Consent API compatible plugin
Step 2: Enable in HandL Settings
![![GDPR Settings Screenshot - Enable WP Consent API]](https://docs.utmgrabber.com/uploads/images/gallery/2025-11/xscreenshot-2025-11-25-at-4-31-45-in-the-afternoon.png.pagespeed.ic.L-NQ8tYp-d.png)
Once enabled, HandL UTM Grabber will:
- ✅ Wait for marketing consent before tracking
- ✅ Only set cookies after user accepts
- ✅ Work automatically with any consent plugin using WP Consent API
- ✅ Start collecting data immediately when consent is given (no page reload needed)
How It Works
The integration uses WP Consent API's native event system:
- User visits your site → Cookie banner appears (from your consent plugin)
- User accepts marketing cookies → Consent plugin notifies WP Consent API
- WP Consent API notifies HandL → UTM tracking starts immediately
- No page reload needed → Data collection begins instantly
Important Notes
About Data Collection
- Before consent: No UTM parameters are saved, no cookies are set
- After consent: Full tracking begins immediately
- Data loss: Users who deny consent will not have their UTM data tracked
- Compliance: Helps meet GDPR, CCPA, and other privacy regulations
Automatic Operation
Once enabled in settings, the integration works automatically. You don't need to configure anything in WP Consent API or your consent management plugin - they communicate automatically through the standard API.
Works with Multiple Plugins
The beauty of WP Consent API is that it works with dozens of consent plugins. If you switch from Complianz to CookieYes, or add a different consent plugin later, HandL will continue working without any changes needed.
Need Help?
If you need assistance with WP Consent API integration, please contact our support team or visit our documentation site.