Enable WP Consent API Integration
Enable WP Consent API Integration
HandLOur plugin functions by default. This means it collects UTM Grabberdata /regardless Tracker
of Howconsent status, assuming no consent restrictions are in place.
If you wish to collect anddata trackirrespective UTMof variablesconsent, withthen WPthere's Consentno APIneed standard-compliantto consentadjust pluginsany settings.
WPOnly Consentproceed APIif isyou a standardized framework that enables HandLwant UTM Grabber to workwait seamlesslyfor with any cookieuser 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
theWP ConsentAPIAPI,standard,suchincluding:as:- Complianz GDPR/CCPA
Cookiebot- CookieYes
- Cookie Notice
GDPROrCookieanyComplianceAnd many more...
What is WP Consent API?WP Consent API acts as a universal communication layer between consent management plugins (cookie banners) and tracking plugins like HandL UTM Grabber. Instead of creating separate integrations for every consent plugin,other WP Consent APIprovidescompatibleaplugin
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
allanycompatibleconsentplugins.plugin using WP Consent API - ✅ Start collecting data immediately when consent is given (no page reload needed)
SetupHow RequirementsIt Works
ToThe useintegration thisuses integration,WP youConsent need: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
pluginnotifies HandL(free)→-UTMThetrackingmiddleware/communicationstartslayerimmediately ANocompatiblepageconsentreloadmanagement pluginneeded-→TheDataactualcollectioncookiebeginsbanner (e.g., Complianz, CookieYes, etc.)HandL UTM Grabber- Already installed!instantly
PagesImportant inNotes
About BookData Collection
EnableBefore 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 Integrationor 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.