Supports Global Site Tag / gtag.js
GDPR compliant: does not collect any user data
This plugin enables Google Analytics for your entire WordPress site. Lightweight and fast with plenty of great features.
- Blazing fast performance
- Does one thing and does it well
- Drop-dead simple and easy to use
- Includes tracking code in header or footer
- Includes tracking code on all WordPress web pages
- Sleek plugin Settings page with toggling panels
- Option to enable page tracking in the Admin Area
- Easy to customize the tracking code
This is a lightweight plugin that inserts the required GA tracking code. To view your site statistics, visit your Google Analytics account.
GA Tracking Options
GA Feature Support
- Supports Display Advertising
- Supports Enhanced Link Attribution
- Supports IP Anonymization
- Supports Force SSL
- Supports Tracker Objects
- Supports Google Optimize
Learn more about Google Analytics!
This plugin does not collect any user data. Even so, the tracking code added by this plugin is used by Google to collect all sorts of user data. So this plugin does not do anything to make your site less compliant with GDPR. I have done my best to en’sure that this plugin is 100% GDPR compliant, but I’m not a lawyer so can’t guarantee anything. To en’sure that your site is compliant with GDPR, please con’sult an attorney, and also check with Google and/or configure your Google account settings and/or tracking code as required by GDPR.
Works perfectly with or without Gutenberg
- Upload the plugin to your blog and activate
- Visit the settings to configure your options
After configuring your settings, you can verify that GA tracking code is included by viewing the source code of your web pages.
Note: this plugin adds the required GA code to your web pages. In order for the code to do anything, it must correspond to an active, properly configured Google Analytics account. Learn more at the Google Analytics Help Center.
To enable Google Analytics tracking on your site, follow these steps:
- Visit the “Plugin Settings” panel
- Enter your GA Tracking ID
- Choose either Universal Analytics or Global Site Tag
- Configure any other plugin settings as desired (optional)
Save changes and done. After 24-48 hours, you can log into your Google Analytics account to view your stats.
Note that it can take 24-48 hours after adding the tracking code before any analytical data appears in your Google Analytics account. To check that the GA tacking code is included, look at the source code of your web page(s). Learn more at the Google Analytics Help Center.
Google Analytics tracking methods change over time. First there was
ga.js, and now
analytics.js, soon to be replaced officially by
gtag.js. If you are using an older version and want to upgrade, check out these Google docs:
To upgrade WE – GA Google Analytics, remove the old version and replace with the new version. Or just click “Update” from the Plugins screen and let WordPress do it for you automatically.
Note: uninstalling the plugin from the WP Plugins screen re’sults in the removal of all settings from the WP database.
For more information, visit the GA Plugin Homepage.
Restore Default Options
To restore default plugin options, either uninstall/reinstall the plugin, or visit the plugin settings > Restore Default Options.
WE – GA Google Analytics cleans up after itself. All plugin settings will be removed from your database when the plugin is uninstalled via the Plugins screen. Your collected GA data will remain in your Google account.
Tracking code is not displayed in source code?
If you check the source code of your pages and don’t see the GA tracking code, check the following:
- Check that your theme includes the hooks,
- If you are using a caching plugin, try clearing the cache
If the GA tracking code still is not displayed, most likely there is interference from another plugin or theme. In this case, the best way to resolve the is’sue is to do some basic WordPress troubleshooting.
- Check that your theme includes the hooks,
Google Analytic says tracking code is not detected?
You need to wait awhile for Google to collect some data, like at least a day or whatever. Standard stuff for Google Analytics. For more information, check out the Google Analytics Help Center.
Can I filter the output of the “Custom GA Code” setting?
Yes, you can use the
How to implement Google Optimize?
Here are the steps:
- Enable Universal Analytics in the plugin settings
- Add the Optimize plugin (e.g.,
ga('require', 'GTM-XXXXXX');) to the setting, “Custom GA Code”
- Add the Page Hiding (flicker) snippet to the setting, “Custom <head> Code”
- Enable the setting, “Custom <head> Location”
Done! You can view the source code of your web pages to verify the re’sults.
Got a question?
There are no reviews for this plugin.
Contributors & Developers
“WE – Google Analytics” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
Thank you to everyone who shares feedback for WE – GA Google Analytics!
- Further tests on WP versions 4.9 and 5.0 (alpha)
Updates plugin screenshots for WordPress Plugin Directory