Jannes & Mannes Google Analytics
This plugin adds Google Analytics code to your website only if you are in production based on the Bedrock WP_ENV constant.
Plugin info
Maintenance & Compatibility
Maintenance score
Possibly abandoned • Last updated 2532 days ago
Is Jannes & Mannes Google Analytics abandoned?
Possibly abandoned (last update 2532 days ago).
Compatibility
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
Description
This plugin adds Google Analytics code to your website only if you are in production based on the Bedrock WP_ENV constant.
Installation
- Activate the plugin
- Copy the Google Analytics UA code from your Google Analytics account
- Go to the Google Analytics section in your dashboard, paste the UA code in the form field and save the settings page
- You are done
Frequently Asked Questions
What is Bedrock?
You can read all about Bedrock here: https://roots.io/bedrock/
Why doesn the Google Analytics code show up in my source on my local environment?
Make sure that you are using Bedrock and you have set the environment to “debug”. The code shows only when the constant WP_ENV is defined and is set to “production”.
Review feed
Screenshots
Changelog
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.