Features include a cookie and tracking-script consent popup, integrations for WooCommerce and Contact Form 7. It logs when users first accept your privacy policy and can also inject your Google Analytics tracking code for you.
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
User privacy consent
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, Facebook Pixel and Microsoft Clarity 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.
Cookie/Analytics consent box
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.
No analytics scripts found
Analytics Scripts
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
Add Google Analytics tracker
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.
Google Analytics consent
Contact Form 7 Integration
To add user privacy-consent checkboxes to your Contact Form 7 forms:
In the back-end of your site, go to Settings > Mini WP GDPR and scroll down to the Contact Form 7 section
Clicking on Install Now next to one of your forms will do two things:
Add a checkbox control to your form.
Add the field to the email.
WP Mini GDPR & Contact Form 7
After you’ve installed Privacy Consent for a CF7 form, you can move the control (or the field in the email) to where ever you want: