Skip to main content

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

Step 2: Enable in HandL Settings

  1. Navigate to WordPress Admin → UTM → GDPR
  2. Look for "WP Consent API" in the list of detected plugins
  3. Check the checkbox next to it
  4. Click Save Changes

![GDPR Settings Screenshot - Enable WP Consent API]

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:

  1. User visits your site → Cookie banner appears (from your consent plugin)
  2. User accepts marketing cookies → Consent plugin notifies WP Consent API
  3. WP Consent API notifies HandL → UTM tracking starts immediately
  4. 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.

Troubleshooting

Q: I enabled it but tracking still happens immediately
A: Make sure your consent management plugin (Complianz, CookieYes, etc.) is properly configured to show a banner and is actively managing consent.

Q: Can I use this with Cookiebot/Complianz direct integration?
A: You can, but it's not necessary. If you already have Cookiebot or Complianz enabled in HandL's GDPR settings, you don't need to enable WP Consent API as well. Use one or the other, not both.

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.