Advanced Configuration: Collect all data and require explicit consent before running

Are you interested in complying with the EU GDPR, but still collect all data?

This requires an advanced configuration: requiring explicit consent before running Google Analytics tracking.

Read on for more details.

This guide is part of our series on Getting Started with the EU Compliance Addon. Please see that link for the full instructions.

Please see the bottom of this guide for an important legal disclaimer.

Some users might want to require users to explicitly opt into tracking and continue tracking normal information like demographics. This has the upside of not changing the data you were collecting before and allow reports like MonsterInsights’s demographics report to work, but has the downside that unless users opt in, they won’t be tracked into Google Analytics (can lead to a lot of missing GA sessions being tracked, or being tracked fully). We don’t recommend this option, but enough users have asked us how to do this, so we’ve included a guide here.

If you want to collect all information MonsterInsights would normally collect by requiring an explicit opt-in via the integration with Cookie Notice, CookieBot, CookieYes, or Complianz, you can ignore the above Google Analytics account configuration changes and use the snippet

add_filter( 'monsterinsights_eu_compliance_require_optin', '__return_true' );

We recommend adding this to your site using the plugin Code Snippets.

If you choose to do this option:

  • Make sure your privacy policy and cookie information pages are up to date and explained in clear language
  • Make sure you provide a clear opt-out option (that must be as easy to opt out as it is to opt in)
  • We would highly recommend consulting with an appropriate attorney to ensure you have met all compliance obligations for the storage of PII (personally identifiable information)
  • We cannot provide support for incomplete or missing Google Analytics data
  • We cannot guarantee the above method will always work in the future. We make development decisions based on how the majority of our users use our product, and emphasize use of best practices. Therefore, if you choose to utilize this practice, we recommend following MonsterInsights’s blog and/or this page for future changes that might impact this method.

That’s it! Now you know how to require users to explicitly opt into tracking and continue tracking normal information like demographics.

Please see our complete guide: Getting Started with the EU Compliance Addon for more detailed instructions on your compliance with the EU GDPR for your Google Analytics tracking.

Legal Disclaimer: This addon is designed to automate some of the settings change required to be in compliance with various EU laws however due to the dynamic nature of websites, no plugin can offer 100% legal compliance. Please consult a specialist internet law attorney to determine if you are in compliance with all applicable laws for your jurisdictions and your use cases.

As a website operator, it is solely your responsibility to ensure that you are in compliance with all applicable laws and regulations governing your use of our plugin.

MonsterInsights, its employees/contractors, and other affiliated parties are not lawyers. Any advice given in our support, documentation, website, other mediums or through our services/products should not be considered legal advice and is for informational and/or educational purposes only and are not guaranteed to be correct, complete or up-to-date, and do not constitute creating/entering an Attorney-Client relationship.