Installing this plugin is no guarantee that your site will magically become fully GDPR compliant, but it should make it much easier for you to get there. Features
Automatically add Privacy consent check boxes to your ContactForm7 forms, with the consent coming through into the contact emails.
Detect and log Terms & Conditions consent in WooCommerce.
Detect tracking JS scripts and, in some cases, defer them running until the user consents.
Inject Google Analytics and Facebook Pixel trackers directly from Mini WP GDPR.
Works with the official WooCommerce Google Analytics Integration plugin.
See which WP users have given their consent in the main WP users admin table.
Getting started with the Mini WP GDPR WordPress plugin, and the default configuration will work for most sites.
Once it’s installed, go to the front end of your site and you should see the cookie & tracker consent popup. This confirms that it’s installed correctly.
If you’ve already got a Google Analytics tracker set up (with the Google Tag Manager,) then press the “Info” button to see if the consent box was able to auto-detect it. If you see a message that says “We don’t use any tracking scripts…” then you need to configure your Google Analytics script properly.
Configure Mini WP GDPR to to detect and/or inject Google Analytics trackers.
Technical Info: Mini WP GDPR looks for tracking scripts by scanning for scripts that have been enqueued “properly”, using WordPress’ wp_enqueue_script() function. Before the script tags are rendered, we scan all the enqueued script URLs for known Regular Expressions.
If you’re not using WooCommerce, the easiest thing to do is use Mini WP GDPR to add your Google Analytics tracking script for you. Just go to Settings > Mini GDPR
You can use the older “Universal Analytics” style code OR the newer GA4 type – either will work fine. Enter your tracking code, save the settings and go to the frontend of your site. In the consent popup, click “Info…” and you should see that Google Analytics has been correctly detected.