Google Analyticator makes it super easy to view Google Analytics within your WordPress dashboard. This eliminates the need to edit your template code to begin logging. Google Analyticator also includes several widgets for displaying Analytics data in the admin and on your blog.
One of the most popular WordPress plugins for Google Analytics! Over 3.5+ million downloads.
Google Analyticator Has the Following Features:
- Supports Universal (analytics.js) and traditional analytics (ga.js)
- Includes an admin dashboard widget that displays a graph of the last 30 days of visitors, a summary of site usage, the top pages, the top referrers, and the top searches
- Includes a widget that can be used to display visitor stat information on the front-end
- Supports outbound link tracking of all links on the page, including links not managed by WordPress
- Supports download link tracking
- Shortcodes to show off your Google Analytics stats publicly
- Supports event tracking with outbound links / downloads instead of the old pageview tracking method
- Support site speed tracking
- Allows hiding of Administrator visits without affecting Google Analytics’ site overlay feature
- Supports any advanced tracking code Google provides
- Installs easily – unlike other plugins, the user doesn’t even have to know their Analytics UID
- Provides complete control over options; disable any feature if needed
- Supports localization – get the settings page in your language of choice
- Ability to hide Google UID dropdown
- Translations – Polish, Turkish, Dutch and Spanish
A big thank you from the whole community to Ronald for all the hard work he put into this plugin.
We also would like to thank our translators:
Polish – Michał Mleczko from http://michalmleczko.waw.pl/
Turkish – Cansın Çağan Acarer from http://www.35pixel.com/
- Install the plugin and activate it.
- Click to connect to Google Analytics and login.
- Copy and paste your Google Authentication code and hit Save and Continue.
- Choose the Analytics Account you want in the drop down.
- Enable Google Analytics logging.
- Scroll to the bottom and save.
- Then go to your Dashboard to see your stats.
If you receive an error after authenticating, refresh the page, and it will work properly. This is a known issue, and we are working with Google to resolve it.
For any support issues, please use the official WordPress support forums.
Contributeurs & développeurs
« Google Analyticator » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.Contributeurs
- Fix depricated API field name calls.
- Check for is_preview() in ga_external_tracking_js()
- Use wp_get_current_user() instead of get_currentuserinfo()
- Small fix to widget markup.
- Fix depricated classname constructors.
- Fix issue with being unable to deactivate and reset from settings screen.
- Fix bug with options page not showing correctly in some cases.
- Minor code cleanup changes.
- Resolve XSS vuln
- Remove notice from Dashboard
- Fix CSRF vulnerability on reset page
- Re-enable [analytics] shortcode with fix
- Temporarily disable [analytics] shortcode to fix a bug
- Added [analytics-counter] shortcode so you can display the page view counter widget anywhere
- Added [analytics] shortcode so you can add show off your analytics publicly
- Bug fix: anonymizeIP
- Reduced Memory Usage for dashboard
- Added Turkish, Spanish and Dutch
- Check token fix widget authentication
- Added Remarketing, Demographics and Interests reports for universal
- Changed Google API Client on setting of default path
- Fixes bugs
- Bug fix: Test data left in place of Domain name / UID dropdown
- Ability to hide Google UID dropdown
- Bug fix: rename stats_init to ganalyticator_stats_init
- Bug fix: Moved analyticsSnippet from line 1110 to line 1111
- Bug fix: added condition for empty href reported by @Jesin A https://wordpress.org/support/topic/bug-external-trackingjs-interferes-with-some-themes?replies=1
- Added Polish Translation from @mleczakm https://wordpress.org/support/topic/localization-translation
- Add missing Google PHP API classes
- Introduce Demographics and Interests support
- Enhanced Link attribution support
- added Universal Tracking (analytics.js) option
- Fixed sidebar Ad background for wp 3.8
- Used Custom Dimensions as replacement of Custom Variables for analytics.js
- Introduce Remarketing support
- Introduce Option to remove tracking on wp-login.
- Add link to Analytics training and option to remove.
- Bug fix: Duplicate data sometimes showing
- Bug fix: Flotr jQuery library clash with WooCommerce.
- Updated graph to not show current day as stats are incomplete.
- Update caused random Google error. Removed problem code.
- Added point tooltip.
- removed jquery.sparkline.min.js
- added jquery.flot.min.js
- added 30 days, 60 days and yesterday selection
- removed line google-analytics-summary-widget.php line 222
- Use un-minified JS if script debug on. Props simonwheatley
- Fixes over strict validation on one field where not required causing PHP Errors. Thanks for head start jeremyclarke.
- Fixes potential XSS security issue in admin – RECOMMENDED UPDATE.
- Re-wrote caching on admin dashboard panel. Caches results for 6 hours, and speeds up display significantly using WordPress caching.
- Added prevention on URI Class (Google) clashing.
- Added better caching of dashboard widget.
- Added better error handling with Google API calls. Prevents breaking widget section if an error is found.
- Updated Google API files to latest version (0.6.0)
- Added filter to prevent IDs being passed to google with ‘ga:’ appended twice (legacy user bug)
- Removed SiteSpeed option – done automatically with Google Analytics now.
- Changed some config options with Google API to try help any prev users with re-auth issues.
- Missing admin_url() causing issues with sub-directory installs.
- Legacy code removed causing API errors with old ga_profileid variable conflicting.
- Added Google App ID To tracking ID as supplied by Google Analytics team. This is just for Google’s own reporting. We do not get access to any of your data.
- Added support for users who wont want to authenticate with Google, but just use tracking code
- Using the admin_url() function for internal links. Should help people with WP installed in a sub directory.
- Added all vars to reset function to delete / deauthorize from Google.
- Based on user issues. Improved error handling from Google APIs (some more to go)
- Protected URITemplateParser class from being re-declared
- Added Reset option on plugin screen to allow re-authentication
- Small bug on upgrades patched
- Updated to authenticate with the new Google API
- Adds a new option for site speed tracking (enabled by default).
- Replaces deprecated tracking code _setVar with _setCustomVar.
- Improves the account select dropdown by organizing the accounts. Props bluntly.
- Prevents post preview pages from being tracked and skewing stats.
- Improves profile id logic to hopefully fix dashboard errors for the people that experience them.
- Fixes PHP warnings on the dashboard widget with really old Analytics accounts.
- Fixes deprecated warnings when wp_debug is enabled.
- Fixes tracking code issues when trying to disabled certain user roles.
- Improves plugin security.
- Due to many questions about tracking code placement, an FAQ article has been written to address these placement questions. If you have any questions, this is a recommended read.
- Corrects issues related to selecting user roles to exclude from tracking / seeing the dashboard widget.
- Cleans up the display of user role names for WordPress versions below WordPress 3.0.
- Updates the included jQuary Sparkline library to 1.5.1, thus adding support for viewing the dashboard graph in all versions of Internet Explorer.
- Adds two hooks, google_analyticator_extra_js_before and google_analyticator_extra_js_after, enabling other WordPress plugins to insert additional tracking code.
- Prepares Google Analyticator for WordPress 3.0 compatibility.
- Updates the async tracking snippet to the latest version provided by Google. This new update solves issues with IE7 and IE6, and fixes all problems related to the snippet being placed in the section of a page. You can rest easy knowing that async tracking in the is completely compatible with IE now.
- Adds an html comment to the page header when tracking code is hidden due to the user admin level. This should make is less confusing for new Google Analyticator users, wondering if their tracking code is visible to the world.
- Adds a setting to specify a specific profile ID. This will help users with multiple Analytics profiles, by allowing them to specify which profile to use with the dashboard widget.
- Revamps the disable tracking settings. Now uses user roles and provides more fine grain control. If you use something other than the default, be sure to visit the settings page to ensure your settings are correct.
- Adds a new setting providing fine grain control over who can see the dashboard widget.
- Fixes the disappearing UID box bug when not authenticated.
- Updates the async tracking snippet to the latest version provided by Google.
- Improves the error message when failing to authenticate with Google, pointing users to a FAQ article to resolve their issues.
- Switches current tracking script (ga.js) to the new awesome async tracking script. In laymen’s terms: updates to the latest tracking code, the tracking script will load faster, and tracking will be more reliable. If you use custom tracking code, be sure to migrate that code to the new async tracking methods.
- Removes settings made obsolete due to the new async tracking (footer tracking and http/https).
- Fixes the (not set) pages in the Top Pages section of the dashboard widget. Pages containing the title (not set) will be combined with the correct page and corresponding title. Note that I am still trying to get this bug fixed in the Google Analytics API; this is just a hold over until the bug is fixed.
- Adds a link to Google Analytics on the dashboard widget for quick access to view full stat reports.
- Corrects a uid undefined error message that appeared if error reporting was set too high.
- Updates the included jQuery sparklines plugin to the latest version, 1.4.3.
- Adds an experimental function to retrieve page visitors stats for theme developers. This function is not final and only provided for advanced users who know what they’re doing. Future versions will improve on the code already in place. Find the get_analytics_visits_by_page in google-analyticator.php to learn how to use. Use at your own risk.
- Fixes several security flaws identified during a recent security audit of Google Analyticator.
- Removes references to Spiral Web Consulting. Google Analyticator is now being developed exclusively by Ronald Heft.
- Prepares Google Analyticator for WordPress 2.9 compatibility.
- Corrects a fatal error on the settings page under WordPress 2.7.
- Converts API data call to AJAX to reduce the memory needed on page loads.
- Removes memory_limit alterations, since the default amount should be enough now.
- Disables the summary dashboard widget for non-admins, as defined by the admin level setting on Google Analyticator’s settings page.
- Corrects a potential html sanitation vulnerability with text retrieved from the Google Analytics API.
- Adds support for deauthorizing with Google Analytics.
- Increases checks on the memory limit and now prevents the memory intensive functionality from running if there is insufficient memory.
- Adds authentication compatibility modes for users having issues with cURL and PHP Streams.
- Improves detection of Google Accounts that are not linked to Analytics accounts.
- Improves detection of accounts without stats.
- Cleans up the authentication URL, preventing the malformed URL error that Google would sometimes display.
- Removes hosted Google accounts from Google’s authentication page.
- Adds an error message to the settings page if Google authentication fails.
- Fixes the broken/frozen error on the Dashboard introduced in Google Analyticator 5.0.
- Fixes an Internal Server Error received on the settings page under IIS servers.
- Adds an option to completely disable the included widgets.
- Fixes a bug where the settings page always thought the Google account was authenticated.
- Prevents the Google API from even attempting to connect to Google’s servers if the account is not authenticated.
- Increases the checks on returned Google API data to prevent unexpected states.
- Adds missing localized string to settings title.
- Removes the Google authentication and widgets from WordPress 2.7 due to compatibility issues. Users wishing to authenticate and use the widgets should upgrade to WordPress 2.8.
- Prevents PHP warnings from displaying on the dashboard summary widget when an Analytics account is new and does not have a history of data.
- Adds a new admin dashboard widget that displays a graph of the last 30 days of visitors, a summary of site usage, the top pages, the top referrers, and the top searches.
- Changes the Google authentication method to AuthSub. This removes the Google username / password requirement. Users who had previously entered their username / password in the settings page will need to revisit the settings page and authenticate for the widget to continue to function.
- Adds support for automatically retrieving an Analytics account’s UID if Google Analyticator is authenticated with Google.
- Updates the Google Analytics API class to use the WordPress HTTP API, thus removing cURL as a core requirement for the widget.
- Updates the UID setting help to remove old urchin.js references and provide additional help for finding a UID.
- Prepares all strings for localization.
- Fixes a bug that was breaking the save button on the settings page in IE.
- Prevents the widget from grabbing Analytics data earlier January 1, 2005.
- Fixes an incorrect default state for the event tracking option.
- Adds the date range used for widget data in an HTML comment to prevent misrepresented stats.
- Corrects XHTML validator errors present in the stat widget.
- Removes some stray code.
- Adds support for WordPress’ new changelog readme.txt standard. Version information is now available from within the plugin updater.
- Enhances the links on the plugin page. Adds a settings, FAQ, and support link.
- Fixes a bug that broke the widget page when a username was not entered in settings.
- Adds support for event tracking of outbound links and downloads. This is the new, recommended way to track outbound links and downloads with Analytics. Event tracking is enabled by default, so users wishing to keep using the old method should disable this option immediately. See our FAQ for more information.
- Prevents files that are stored on external servers from being tracked as both a download and an external link.
- Corrects a file extension case sensitivity issue that prevented certain download links from being tracked.
- Fixes a text size inconstancy on the settings page.
- Improves error reporting with API authentication.
- Fixes a bug in IE8 that would not allow the widget to display in the admin properly.
- Fixes an issue where stable versions of WordPress 2.8 were not using the new widget API.
- Changes SimplePie include to use WordPress’ version if possible, since SimplePie is included in WordPress 2.8.
- Adds version number to the Google Analyticator comment.
- Adds support for the WordPress 2.8 widget API.
- Removes Google Analyticator comment in the header that if footer tracking is enabled.
- Adds support for tracking code in the footer with Adsense integration.
- Corrects the widget image location for users with WordPress installed in a sub-directory.
- Prevents Google API calls when widget information is not configured.
- Supports WordPress 2.8.
- Fixes a bug that was causing the Stats Widget to display « 0 » in every instance.
- Adds functionality to allow a custom timeframe to be configured for the visitors widget.
- Adds a function to enable use of the widget for users not using WordPress widgets.
- Adds an option to output the code needed to link Analytics and Adsense accounts.
- Disables stat widget if cURL does not exist.
- Adds Google Analytics API support.
- Adds a widget that will use your Google Analytics stats to display a visitor counter on your front-end.
- Adds functionality to make widget highly customizable in regards to color and text.
- Improves display of external/download links in Google Analytics (strips http/https from url).
- Fixes a PHP warning message being displayed on pages with error reporting enabled.
- Adds an option to disable admin tracking by either removing the tracking code or setting a variable.
- Removes the external tracking code from back-end admin pages that was causing conflicts with other plugins.
- Google Analyticator is now supported by Spiral Web Consulting.
- Corrects bugs preventing both external and download link tracking from working.
- Adds settings to configure the external and download link tracking prefixes.
- Changes the way disabling admin tracking works. Now uses a line of code instead of removing the tracking code altogether. This will allow features like the site overlay to work.
- Replaces the PHP-based external tracking solution with a jQuery-based one.
- Updates the Analytics script to match a change by Google. This should resolve the undefined _gat errors.
- Fixes comment author issues once and for all.
- Fixes a SVN merge issue that prevented people from getting the last update.
- Reverting last version as it caused issues.
- Improves comment author regex causing some issues in WordPress 2.7. Thanks to jdub.
- Adds WordPress 2.7 support.
- Adds an option to specify the GA script location instead of relying on Google’s auto detect code. This may resolve the _gat is undefined errors.
- Stops the external link tracking code from appearing in feeds, breaking feed validation.
- Adds compatibility for a very rare few users who could not save options.
- Stops the external link tracking code from appearing in feeds, breaking feed validation.
- Applies the new administrator level selection to outbound tracking (I forgot to that in the last release).
- Fixes a potential plugin conflict.
- Adds an option to change what Google Analyticator considers a WordPress administrator.
- Fixes a bug preventing options from being saved under WordPress 2.5.
- Updates option page to comply with WordPress 2.5 user interface changes.
- Note: Users of WordPress 2.3 may wish to stay on 2.02 as the UI will look ‘weird’ under 2.3.
- Corrects potential XHTML validation issues with external link tracking.
- Corrects XHTML validation issues with ga.js.
- Adds support for the latest version of Google Analytics’ tracking code (ga.js).
- Slightly modified the way extra code is handled. There are now two sections (before tracker initialization and after tracker initialization) to handle ga.js’ extra functions. Refer to Google Analytics’ support documentation for use of these sections.
- Corrects problem where certain installation of WordPress do not have the user level value.
- Finally fixes the “Are you sure?” bug some users experience.
- Note: Google Analyticator is now in a folder. If upgrading from a version less than 1.5, delete google-analyticator.php from your /wp-content/plugins/ folder before proceeding.
- Fixes a bug where outbound link tracking would be disabled if the tracking code was in the footer.
- Added an option to insert the tracking code in the footer instead of the header.
- Adds support for download tracking.
- Fixes a small bug with backslashes in the additional tracking code box.
- WordPress 2.0 beta is now supported.
- Missing options page bug is finally fixed.
- Added support for outbound links.
- Fixing missing option button page bug.
- Fixed a bug where options page would sometimes not display.
- Added an option to disable administrator logging.
- Added an option to add any additional tracking code that Google has.
- Version initiale.