How to Integrate the iubenda All-in-one Compliance Plugin with Google Site Kit on WordPress
You already use the iubenda All-in-one Compliance plugin to keep your WordPress site compliant. If you also use Google Site Kit for Analytics, Tag Manager, and other tools, integrating the two lets you manage Google Consent Mode more effectively. This ensures Google services respect user consent automatically, keeps your analytics accurate, and reduces manual work.
This guide will show you, step by step, how to set up the iubenda plugin and Site Kit so they work smoothly together.
Step 1: Check Google Consent Mode in Site Kit
Log in to your WordPress dashboard.
Go to Site Kit → Settings.
Look for the Consent Mode section.
Check if it is enabled.
If you want iubenda to manage consent: Disable Consent Mode in Site Kit. This lets the iubenda plugin control everything.
If you want Site Kit to manage consent: Keep Consent Mode enabled and continue to the next step.
Step 2: Set Up the WP Consent API (If Using Site Kit to Manage Consent)
If you keep Consent Mode enabled in Site Kit, you must install the WP Consent API plugin.
Install the WP Consent API Plugin
Go to Plugins → Add New in your WordPress admin.
Search for WP Consent API.
Click Install and then Activate.
Check iubenda Settings
In WordPress, go to iubenda → Privacy Controls and Cookie Solution → Configure.
Look for the checkbox Integrate with WP Consent API (recommended).
Make sure this box is checked.
After enabling the checkbox, click Save settings.
Note: This checkbox will only appear if Site Kit is active and the WP Consent API plugin is installed and activated.
Step 3: Test Your Setup
Once your settings are in place:
Reload your website to apply changes.
Clear any cache: WordPress caching plugin cache and browser cache
Check with Google Tag Assistant to confirm that Consent Mode is working as expected.
💡 Wondering if Google Consent Mode is already active on your website or just installed it and want to check if it’s working correctly? Follow this guide for step-by-step instructions.
Important Notes
If you disable Consent Mode in Site Kit, iubenda will manage all consent functions.
If you keep Consent Mode enabled in Site Kit, you must also have the WP Consent API plugin installed and linked to iubenda.
Always test your configuration after changes to avoid tracking issues.
That’s it! In just a few steps, iubenda and Site Kit can work together to keep your site compliant.