Google Analytics


Google Analytics plugin from ShareThis is the best way to add GA tracking code to your website without modifying any files. Just log in with Google right from your WP admin dashboard and choose which website you want to link. Then you can disable GA tracking of specific users, so that when you are browsing your own site it won’t affect your analytics.

Also, you will be able to see Google Analytics reports in the same interface you already use every day to write and manage your posts – in your WordPress dashboard. Now you can stay informed on how your website is doing without having to log into a separate tool.

This Google Analytics plugin has a unique feature called Trending Content. It learns about your traffic patterns and shows you a list of content that is performing significantly better than average, so that you know what resonates with your audience the most. You can even sign up to receive alerts via email or Slack when content is taking off!

One more thing – unlike other plugins, Google Analytics for WordPress has no monthly fees, and no paid upgrades. All the features are totally free.


  • Simple setup – Adds latest version of Google Analytics javascript to every page
  • Account linking – no need to copy and paste any code or know your GA ID, just log in with Google, select the required website and it will automatically include the appropriate code
  • Visitor trends – Shows a summary dashboard with page views, users, pages per session and bounce rate for the past 7 days as compared to the previous 7 days
  • Traffic sources – Shows top 5 traffic sources so you know where your visitors are coming from
  • Trending Content – Shows a history of content that is performing better than average, so at any given time you know what content resonates with your audience the most
  • Alerts – Sign up for alerts via email or Slack when your content is taking off
  • Only track real visitors – Allows you to disable tracking for any role like Admins, or Editors so your analytics represent real visitors
  • Mobile – Fully optimized for mobile, so you can view your dashboards on any device
  • More updates coming – Continually updated and supported by a team of top WordPress developers

If you don’t have a Google Analytics account, you can sign up for free here:

By downloading and installing this plugin you are agreeing to the Privacy Policy and Terms of Service.


If you have any questions please let us know directly at or create a new topic within our support portal here:


  • Overall site performance - the past 7 days vs previous 7 days
  • The top 5 traffic sources for the past 7 days
  • Directly authenticate Google Analytics, and exclude sets of logged in users
  • Just click to authenticate, then copy the API key and add it to the plugin
  • View different time ranges and key metrics in the WordPress Google Analytics widget
  • Trending Content shows a list of alerts, article URLs, pageviews and time notified


Installation Instructions
  1. Install Google Analytics either via plugin repository or directly by uploading the files to your server
  2. WordPressダッシュボードのプラグインメニューからプラグインを有効にしてください
  3. Navigate to Google Analytics in the WordPress sidebar
  4. Authenticate via Google, copy and paste the access code and choose your property from the dropdown. You can also add the web property ID from Google Analytics manually but dashboards won’t show up in this case.
  5. When any of your content takes off you will see the URLs inside the Trending Content section
Do I need to touch any code to add Google Analytics?

Nope, just sign in with google, choose your website, and our plugin will automatically add Google analytics code to all pages.

How do I make sure Google Analytics is properly installed on all pages?

If you signed it with google and selected your website (or manually added the property ID) the Google Analytics javascript will be added to all pages. To check what UA code it is adding, just open any page of your website in Chrome, right click to select Inspect, navigate to Network tab, reload the page and search for googleanalytics, you will see the google code with your UA ID. See example here.

I see broken formatting inside the plugin, for example some buttons are not aligned?

This is likely caused by AdBlocker that is blocking anything related to “google analytics”. Please disable AdBlocker for your own website or add it to exceptions if you are using Opera.

How does that cool “Trending Content” feature work?

It learns about your traffic patterns to spot “spikes” of visitors and then sends an alert. If your website doesn’t have good amount of visitors you might not see any Trending Content Alerts because the algorithm needs more data to see “trends”.

I have other questions, where I can get support or provide feedback?

If you have any questions please let us know directly at or create a new topic within our support portal here:
We are always happy to help.


Broken by Update and Bloat

Update breaks the original functionality. Will not actually place the GA code in the page.

Update also breaks my twitters feeds.

No errors from the plugin regarding its failure to work. We’ve lost a month of tracking data.

This also adds stupid levels of cross platform access for a plugin that was originally about simply inserting code. Makes me suspect malware/snooping.

I have reverted to simply adding the correct code to all themes. If you have this just switch to another GA insertion plugin or insert code manually.

Perhaps WordPress could send notifications when a trusty old plugin like this changes hands? This is the second such issue I have had this year where a stable, old reliable plugin blows up with a brand new developer and suspicious new unsolicited additions.

**Review Update: After looking around, I see that WordPress regards this behavior by ShareThis as a feature, and not a bug. A very lucrative feature evidently.

I’m providing support at a major research university that is totally not interested in losing IP to cheap skivers or breaking laws with unwitting product endorsements.

So, after five years of WordPress being the answer every time, all the time, I see the first chinks in the armor of why we’ll eventually ditch it.

Nice to know the future. Good work guys.

Dramatically slows down your website

I was trying to understand why my website, with minified CSS/JS, cache set up, and lot of other optimizations was taking more than 5 seconds to respond.

After some research, I found out that this plugin was adding lot of janky scripts from Sharethis. I disabled it, website loads twice as fast.

So, the plugin sounds and looks cool, but comes at a very high price.


Do not use this plugin!
When testing my site for load times, I was astonished to find out that external JS files and links were being added to the site, as well as redirects to ad sites. After some searching around, they mentioned that This specific Google Analytics plugin created by Sharethis was causing it. Load times were about 5.5 seconds with the plugin loaded. Disabled the plugin, load times were cut in HALF! Has been reduced now to a whopping 2.14 seconds. All because of 1 plugin!

Read my words: DO NOT USE!!!

Broken after update

Since the last update, the plugin will no longer authenticate with Google. So it’s dead until the developers decide to fix it.



“Google Analytics” is open source software. The following people have contributed to this plugin.




  • Fixed authentication error issue experienced by some users.
  • Added re-authentication button for easier changing or relinking of Google Analytics accounts.
  • Added “Send Debug” button for faster technical troubleshooting.
  • Added refresh button for Google Analytics within dashboard.
  • Included new alert for missing Google Analytics account.
  • Included new alert for unsupported PHP version.


  • Reduced requests to Google API to help with Google Analytics quotas


  • NEW: Trending Content – trending content shows you a list of content that is performing better than average
  • NEW: Alerts – option to sign up for alerts via email or Slack when your content is taking off
  • Additional caching to always show Google Analytics dashboards
  • User interface improvements


  • Better compatibility with the Google API quotas
  • Undefined variable fix, thanks to charlesstpierre


  • Replaced Bootstrap with own scripts


  • Reliability improvements for Google Analytics access
  • Better connection to Google Analytics API
  • Fixed the save settings issue, thanks @biologix @tanshaydar
  • Minor bug fixes


  • Fixed issues related to older versions of PHP
  • Fixed terms of service notice
  • Added better support for HTTP proxy, thanks @usrlocaldick for the suggestion
  • Added better support when WP_PLUGIN_DIR are already set, thanks @heiglandreas for the tip
  • Added support for PHP version 5.2.17


  • Fix for old versions of PHP


  • Completely redesigned with new features!
  • Updated with the latest Google Analytics code
  • No need to find your GA property ID and copy it over, just sign in with Google and choose your site
  • See analytics right inside the plugin, the past 7 days vs your previous 7 days
  • Shows pageviews, users, pages per session and bounce rate + top 5 traffic referrals
  • WordPress Dashboard widget for 7, 30 or 90 days graph and top site usage stats
  • Disable tracking for logged in users like admins or editors for more reliable analytics


  • Added ability to include Google Analytics tracking code on every WordPress page