You can use this plugin to integrate Google Analytics into EU law in compliance with data protection. For this you only need to enter your Google Analytics ID in the general settings. Other settings (e.g., AnonymizeIP) are preconfigured accordingly and need to be changed only when needed or desired extensions.
If you have any questions or problems, you can ask me: Pascal Bajorat – Webdesigner and WordPress Developer from Berlin
GNU General Public License v.3 – http://www.gnu.org/licenses/gpl-3.0.html