This plugin adds Google Analytics code to your website only if you are in production based on the Bedrock WP_ENV constant.
1.3.0
Added option to disable pageview tracking
1.2.1
Cookie consent fix
1.2.0
Cookie consent fix
1.1.0
Cookie consent support
1.0.0
Feature: add Google Tag Manager integration
0.6
Set anonomize IP to true to comply to cookie laws
0.5
Google Optimize snippet implementation
0.4
We now use the alternative async tracking script provided by Google for modern browsers:
https://developers.google.com/analytics/devguides/collection/analyticsjs/#alternative_async_tracking_snippet
0.3
Tested up to 4.7
0.2
Do not show tracking code if the current user can edit posts, e.g. the user is a website editor
0.1
This is the first version of the plugin.