Title: Google Analytics Stats Error
Last modified: August 20, 2016

---

# Google Analytics Stats Error

 *  [jeremyrperry](https://wordpress.org/support/users/jeremyrperry/)
 * (@jeremyrperry)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/google-analytics-stats-error/)
 * I am getting a PHP fatal error when I try to use the Google Analytics stats Widget.
   Here is how it prints out:
 * Fatal error: Uncaught exception ‘Google_ServiceException’ with message ‘Error
   calling GET [https://www.googleapis.com/analytics/v3/data/ga?ids=ga%3A&start-date=2011-10-23&end-date=2012-10-21&metrics=ga%3Avisitors](https://www.googleapis.com/analytics/v3/data/ga?ids=ga%3A&start-date=2011-10-23&end-date=2012-10-21&metrics=ga%3Avisitors):(
   400) Invalid value ‘ga:’. Values must match the following regular expression:‘
   ga:[0-9]+” in /home/abbeysan/public_html/wp-content/plugins/google-analyticator/
   google-api-php-client/src/io/Google_REST.php:66 Stack trace: #0 /home/abbeysan/
   public_html/wp-content/plugins/google-analyticator/google-api-php-client/src/
   io/Google_REST.php(36): Google_REST::decodeHttpResponse(Object(Google_HttpRequest))#
   1 /home/abbeysan/public_html/wp-content/plugins/google-analyticator/google-api-
   php-client/src/service/Google_ServiceResource.php(177): Google_REST::execute(
   Object(Google_HttpRequest)) #2 /home/abbeysan/public_html/wp-content/plugins/
   google-analyticator/google-api-php-client/src/contrib/Google_AnalyticsService.
   php(274): Google_ServiceResource->__call(‘get’, Array) #3 /home/abbeysan/public_html/
   wp-content/plugins/google- in /home/abbeysan/public_html/wp-content/plugins/google-
   analyticator/google-api-php-client/src/io/Google_REST.php on line 66
 * Any way I can resolve this? Refreshing the page doesn’t work.
 * [http://wordpress.org/extend/plugins/google-analyticator/](http://wordpress.org/extend/plugins/google-analyticator/)

Viewing 1 replies (of 1 total)

 *  [Peter Le C](https://wordpress.org/support/users/peter-le-c/)
 * (@peter-le-c)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/google-analytics-stats-error/#post-3135050)
 * Its the same error that I get on most of my blogs. You have to reset the plugin
   and re-authenticate with Google Analytics.
 * Hopefully the plugin author/developer will fix this with the next release as 
   I get tired of having to reset this umpteen times a day!

Viewing 1 replies (of 1 total)

The topic ‘Google Analytics Stats Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/google-analyticator_fefefe.svg)
 * [Analyticator](https://wordpress.org/plugins/google-analyticator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-analyticator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-analyticator/)
 * [Active Topics](https://wordpress.org/support/plugin/google-analyticator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-analyticator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-analyticator/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Peter Le C](https://wordpress.org/support/users/peter-le-c/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/google-analytics-stats-error/#post-3135050)
 * Status: not resolved