The Better Google Analytics plugin allows you to easily add Google Analytics code to your website and gives you the power to track virtually everything. Better Google Analytics includes heat maps, reports, charts, events and site issue tracking in your WordPress admin area without the need to log into your Google Analytics account.
Better Google Analytics allows you to manage your Google Analytics account from within your WordPress admin area (for example you can create/edit Google Analytics Goals).
In addition, Better Google Analytics makes A/B (split) testing a breeze (no code required) so you can find what variations work the best for your site by using Google Analytics Content Experiments.
Simple To Setup
The Better Google Analytics plugin can automatically configure your Google Analytics account to maximize what you can track with the minimum amount of effort. Can automatically set various options on your Google Analytics account on your behalf as well as create custom dimensions and map them to where they need to go. If you are setting up a brand new site, this plugin can even create a brand new Web Property within your selected Google Analytics account if you wish. All with a single click.
Better Google Analytics utilizes all the latest and greatest features of Google Analytics (Universal analytics, user-ID session unification, event tracking, campaign tracking, custom dimensions, server-side tracking, social engagement tracking, remarketing, etc.) Additionally, Better Analytics can track users who are visiting AMP (Accelerated Mobile Pages) on your site.
Google Analytics Account Management
- The Better Google Analytics plugin can create a new web property/profile on your Google Analytics account if needed (if it’s a new site)
- Auto-Configure system will set certain options automatically on your Google Analytics account if needed
- Auto-Configure system can create custom dimensions for your Google Analytics Web Property and map them to the appropriate Better Google Analytics settings
- Google Analytics Goal Management system allows you to create, edit, activate and disable Google Analytics Goals from within your WordPress admin area
- Google Analytics Content Experiment Management allows you to run A/B (split) testing variations easily
If you link your Google Analytics account, the Better Google Analytics plugin is able to make extensive use of the Google Analytics API to give you a plethora of reporting options (both historical and realtime). Google Analytics API calls are cached to make them as fast as possible.
Better Google Analytics Basic Tracking Features (each can be enabled/disabled):
- Link Attribution
- User-ID/Session Unification
- Enable On AMP Pages
- User Engagement
- Comment Creation
- User Registration
- YouTube Video Engagement
- Emails Sent/Opened
- External Link Clicks
- File Downloads
- Page Scroll Percent
- Time On Page
- Anonymize IPs
- Demographic & Interest
- Force Google Analytics Traffic Over SSL
- RSS/Email Link Source Tracking
- Advertising Ad Clicks
- Page Not Found (404)
- AJAX Requests
Better Google Analytics Dimension Tracking:
- Publication Year
- User Role
Better Google Analytics Social Button Engagement Tracking:
Better Google Analytics Reporting Features (can be viewed site-wide or for individual page/URL):
- Dashboard Charts (real time or historical)
- Weekly Heat Maps
- Historical Area Percent Charts
- Issue Monitoring
Better Google Analytics Advanced Features:
- Suppress Google Analytics Tracking By User Role
- View Analytics Reports By User Role
- Adjust Location Of Google Analytics Code
- Google Analytics Campaign Tracking By Anchor or Parameters
- Adjustable Analytics Sample Rate
- Debugging Mode
Better Google Analytics Widgets Included:
- Popular Posts
- Statistics based on selectable Analytics metric
Better Analytics Pro
If you would like additional advanced functions for Google Analytics, we offer a Pro version.
- Additional ad networks for ad click tracking
- More options for site issue monitoring
- More heat map metrics
- More charting dimensions
- More objective metrics for A/B tests (Google Analytics Content Experiments)
- eCommerce tracking (coming soon)
- Option for server-side tracking of users (or bots)
- Faster Google Analytics API calls (uses a custom system for parallel requests)
- Priority support
Note To Other Google Analytics Plugin Authors
Truthfully, there are far too many Google Analytics plugins for WordPress that generally do the same thing (especially the ones that simply add Google Analytics code to WordPress pages). If any Google Analytics plugin authors are interested in somehow consolidating plugins, let us know (not really sure how that would work to be honest, but something we could brainstorm and figure out the best way to do it that works for everyone).
Thank you to all the individuals who have contributed translations for Better Google Analytics (please send us a note if you have helped translating Better Google Analytics):
- Indonesian: Arick
better-analyticsfolder to the
- Activate the Better Google Analytics plugin through the ‘Plugins’ menu in the WordPress admin area.
- Link your Google Analytics account under ‘Settings -> Better Analytics -> API’.
- Pick your Google Analytics Web Property ID under ‘Settings -> Better Analytics -> General’.
It’s probably a good idea to disable any other Google Analytics plugins/systems you may have installed, unless you are intentionally wanting to feed data into multiple Analytics Web Properties.
pagespeed Disallow “*better-analytics/js/loader.php*”
What are the requirements of the Better Google Analytics plugin?
You need a WordPress site (of course), running WordPress 3.8 or higher and a Google Analytics account (which is free over here if you don’t already have a Google Analytics account).
Can Better Google Analytics be used with legacy Google Analytics code?
No, the Better Google Analytics plugin is for Google Universal Analytics. And really, you wouldn’t want to. All Google Analytics accounts have been upgraded to Universal Analytics, and the non-Universal tracking libraries have been deprecated by Google.
Can you add [insert feature here] to Better Google Analytics?
If it’s possible and it makes sense, then yes. The best way to put in a feature request for Better Google Analytics would be to create a thread in the support forum over here.
How does the A/B testing system work with Google Analytics Content Experiments?
I speak a language that isn’t supported by Better Google Analytics, can I help translate it?
Yes. Unfortunately we don’t speak every language in the world, so if you would like to help with translating the Better Google Analytics plugin, you can use the translation system on wordpress.org.
Does Better Google Analytics Support A WordPress Multisite Network?
Yes, you can install the Better Google Analytics plugin for a single site in the network or for all sites in the network. Additionally, you can optionally link a single Google Analytics account for all sites in the network (or you can link unique Google Analytics accounts for each site in the network… either way, it’s up to you).
Do you have access to our Google Analytics data?
In no way, shape, or form do we have access to your Google Analytics data.
How can I ensure you don’t really have access to my Google Analytics data?
The way OAuth2 works with your Google Analytics account, it wouldn’t be possible for us to access your Google Analytics data even if we wanted to (which we don’t). If you utilize the default Google Analytics API project credentials, the system will ask you for permission to access your data. Google will then issue a one-time use code that is exchanged for OAuth2 credentials that are used when making Google Analytics API calls. The code is one-time use (meaning if someone intercepted it and redeemed it for credentials, you wouldn’t be able to yourself). After your site redeems the code, it’s no longer valid. The resulting credentials are stored inside your installation and are never sent anywhere. That being said, if you are still worried about the security of your Google Analytics data, you are able to utilize your own Google Analytics API project credentials (it’s just a little more work for you to set up that Google API project – the only API type that you need to enable under that project is the Google Analytics API).
Közreműködők és fejlesztők
“Better Google Analytics” egy nyílt forráskódú szoftver. A bővítményhez a következő személyek járultak hozzá:Közreműködők
Érdekeltek vagyunk a fejlesztésben?
- Updated for WordPress 5.9
- Updated for WordPress 5.7
- Updated for WordPress 5.3
- Fixed issue with PHP notices being logged when using realtime dashboard widget under PHP 7.x
- Unified time zone calculation method for all parts of plugin
- Fixed reporting time zone issue when using a numeric GMT offset
- Made some changes to address suppressed PHP notices in PHP 7.1
- Fixed stray string being output in admin in certain situations
- Fixed incompatibility with Gravity Forms
- Fixed bug with RSS link tracking
- Fixed bug with widget
- Fixed issue where Google Analytics code might not be used in certain cases in the wp-admin area
- Fixed issue where an old version of the Pro version installed with the new version of the Free version could cause an issue
- Made some minor changes for better PHP 7.1 compatibility
- Better checking for null settings
- Updated Google Analytics Reporting API library to utilize V4
- New Google Analytics dimensions available for Traffic Source charts: Referral Path, Full Referrer, Source / Medium, Has Social Source Referral
- New Google Analytics dimensions available for AdWords charts: Ad Group, Ad Slot, Ad Distribution Network, Ad Match Type, Ad Keyword Match Type, Ad Matched Query, Ad Placement Domain, Ad Placement URL, Ad Format, Ad Targeting Type, Ad Targeting Option, Ad Display URL, Ad Destination URL, AdWords Campaign ID, AdWords Ad Group ID, AdWords Creative ID, Ad Query Word Count
- New Google Analytics dimensions available for Platform charts: Browser Version, Browser Size, Data Source
- New Google Analytics dimensions available for Geo / Network charts: Metro, Network Domain, Network Location
- New Google Analytics dimensions available for Page Tracking charts: Path Path, Landing Page Path, Exit Page Path
- New Google Analytics dimensions available for Lifetime Value and Cohorts charts: Acquisition Campaign, Acquisition Medium, Acquisition Source / Medium, Acquisition Traffic Channel, Cohort
- Fixed issue where Pro version sometimes wouldn’t know what version number of itself was installed
- Updated for WordPress 4.7
- Added support for Google Analytics AMP (Accelerated Mobile Pages) tracking
- Updated options container to pass W3C validation
- Updated for WordPress 4.5
- Feature: New option under Advanced tab – Hide “API Not Linked” Notice
- Feature: New option under Advanced tab – Ability to limit access to settings to current admin account
- Enhancement: Added option for tracking downloads of .dmg files
- Fixed cosmetic issue within Goal Management with WordPress 4.4
- Updated for WordPress 4.4
- Feature: User Engagement Time can be set by the user (under Advanced settings tab)
- Bug: Workaround Internet Explorer not having location origin variable available
- Enhancement: Reintroduced option to put Google Analytics code in the page header (changed how loading system works to make it viable with running Google Analytics Content Experiments)
- Feature: Google Analytics Content Experiments (A/B Testing) for post titles, page titles, CSS and themes
- Feature: Google Analytics Event tracking for Page Scroll Percent (percentage of the page a user scrolled down before they left the page)
- Feature: Google Analytics Event tracking for Time On Page (the number of seconds the user stayed on the page)
- Security: Added user role checking for each type of Google Analytics Content Experiments
- Change: Removed option to put Google Analytics code in the page header (needs to be in the footer for the new Google Analytics Content Experiments to work)
- Change: Individual Google Analytics Goals that are being activated/deactivated, rely on WordPress’s internal function to hide _wpnonce URL variable
- Enhancement: Compiled version of live Google Analytics Content Experiments are automatically rebuilt hourly via cron (for multi-armed bandit experiments with variable weighting)
- Enhancement: Check if the object returned from making an HTTP request is a WP_Error object and display the error message if so
- Enhancement: Admin top menu bar shows the number of running Google Analytics Content Experiments when there are any
- Usability: Added title attribute on admin menu for screen readers
- Bug: Issue where secondary bulk actions drop-down at bottom of Google Analytics Goal management table wouldn’t work
- Bug: Issue where the “Add Variation” button would sometimes not do anything when creating new Google Analytics Content Experiments
- Bug: Cosmetic issue with green border for enabled Google Analytics Goals on the display table
- Change: Removed async attribute from script tag for better compatibility with certain themes
- Enhancement: Set Google Analytics sample rate to 100 if something internal to WordPress removes that setting somehow
- Enhancement: Updated Google Analytics Goal management to take advantage of new responsive table methods in WordPress 4.3
- Enhancement: Google Analytics Experiments allow adding custom third-party experiment types via hooks and actions
- Security: Added input sanitization callback to settings
- Flagged for WordPress 4.3.0 compatibility
- Feature: Google Analytics Stats Widget has two new options that allows you to show stats on a per page basis if you want as well as making the widget private (only viewable to certain roles)
- Enhancement: Added a 1 Day option for the Google Analytics dashboard widget
- Flagged for WordPress 4.2.3 compatibility
- Made a few minor cosmetic changes to Google Analytics Goal list view (including responsive)
- Moved Web Property ID slot on Test Setup tool to make it clear a new Web Property can be automatically created if needed (new site)
- Feature: Advanced setting that allows the author of a post to view Page Analytics regardless of role
- Added stubs and API calls for Google Analytics Experiments management
- Feature: Added support for tracking RevContent ad clicks
- Feature: Manage Google Analytics Goals from within WordPress admin area (create, edit, enable, disable, etc.)
- Feature: Google Analytics Goal management includes all four types of goals (destination URL [including optional funnels], session duration, page views per session, events)
- Change: Google Analytics Goal management requires different Google Analytics API credentials (needs edit access)
- Change: Option to Auto-Configure Google Analytics account no longer requires a separate permissions request since the base Google Analytics account permissions now include edit access
- Note: You can authenticate for the new Google Analytics permissions under Analytics -> Settings -> API -> Link/Authenticate A Different Google Analytics Account
- Note: If you do not authenticate your Google Analytics account for new permissions, all existing features you have always had will continue to work just fine (it’s only needed when trying to edit/add new Google Analytics Goals from within the WordPress admin)
- Added stubs for Better Google Analytics eCommerce module
- Bug: Fixed cosmetic issue on “Test Setup” page when you have linked a Google Analytics with multiple profiles that all share the same web property ID
- Bug: Prevent converting emails to HTML if something else already converted it to HTML beforehand
- Feature: Auto-Configure (if your Google Analytics account is linked, this option will be available on the “Test Setup” page) – will configure your Google Analytics property and profile via the Google Analytics API (can set industry vertical, site search parameters, Ecommerce tracking options, create custom dimensions and then map those as necessary)
- Feature: Added option to create a new Web Property & Profile/View under your existing Google Analytics account automatically (useful if you are setting up a new site)
- Feature: Added better_analytics_metrics WordPress filter to hook into Google Analytics metrics list
- Feature: Added better_analytics_dimensions WordPress filter to hook into Google Analytics dimensions list
- Feature: Added better_analytics_segments WordPress filter to hook into Google Analytics segments list
- Enhancement: If user has already linked a Google account without Google Analytics access, discard the authentication tokens
- Enhancement: If a user revokes OAuth2 access to their Google Analytics account, discard the authentication tokens
- Enhancement: Check for Google Analytics account access when user links a new Google account
- Enhancement: Check if Google Analytics Web Property/Profile would benefit from updating before blindly doing it when requested by site admin
- Enhancement: Check Google Analytics API quota when using write functions when Auto-Configure function is making changes to Google Analytics account (write operation quota is more tightly controlled by Google)
- Enhancement: Added 3 additional Google Analytics dimensions for reporting on dashboard widget
- Usability: Added links to help new users with configuration (link to create new Google Analytics account, link to configure Google Analytics API, link to new Auto-Configuration area, etc.)
- Security: When requesting Google Analytics API edit permissions (when Auto-Configuration is used), make that permissions request only for a one-time use token (don’t store or have long-term tokens that allow write access)
- Enhancement: Made some changes so that Better Google Analytics Pro can be uploaded manually from the “Upload Plugin” feature of WordPress
- Added internal framework for future option that allows users to auto-configure their Google Analytics account (waiting for Google Analytics Management API approval from Google before we can roll it out)
- Enhancement: Added 21 additional Google Analytics metrics for reporting
- Enhancement: Added 9 additional Google Analytics dimensions for reporting
- Enhancement: Added 11 additional Google Analytics segments for reporting
- Enhancement: Replaced deprecated Google Analytics metrics
- Enhancement: Replaced deprecated Google Analytics dimensions
- Enhancement: Replaced deprecated Google Analytics segments
- Bug: Fixed cosmetic formatting issue on settings page when on very thin screens (responsive mobile)
- Feature: Added new Google Analytics Custom Dimension tracking option (Publication Year)
- Feature: Added new Google Analytics Custom Dimension tracking option (User Role)
- Feature: Added ability to optionally have a single linked Google Analytics account for all sites in a multisite network setup
- Feature: Added ability to specify a custom Google Analytics API project ID for a multisite network (similar to how you can already for a single site)
- Added “Verify Domain” link to plugin page when Pro version is installed on an unknown domain
- Enhancement: Custom Dimensions settings generates a drop-down list of custom dimensions defined within Google Analytics account (if you have a Google Analytics account linked via API)
- Translation: Added a few missed phrases to WordPress translation system
- Removed some unnecessary debugging code
- Bug: Fixed cosmetic error message when creating a new site in a multi-site setup with debugging on
- Feature: Better Google Analytics heat maps, charts, event tracking and issue monitoring can be viewed on a per page basis via new Page Analytics option on admin bar
- Feature: Better Google Analytics Stats Widget
- Translation: Indonesian
- Initial release of Better Google Analytics