Title: [Plugin: Google Analytics for WordPress] Version 4.01, WordPress 3 &#8211; Can&#8217;t authenticate with google
Last modified: August 19, 2016

---

# [Plugin: Google Analytics for WordPress] Version 4.01, WordPress 3 – Can’t authenticate with google

 *  [km](https://wordpress.org/support/users/kmaisch/)
 * (@kmaisch)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-google-analytics-for-wordpress-version-401-wordpress-3-cant-authenticate-with-google/)
 * When I “Grant Access” from google – I get redirected back to the plugin configuration
   page, but get the error “Unfortunately, an error occurred while connecting to
   Google, please try again”.
 * Any ideas?
 * Kim
 * [http://wordpress.org/extend/plugins/google-analytics-for-wordpress/](http://wordpress.org/extend/plugins/google-analytics-for-wordpress/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Joost de Valk](https://wordpress.org/support/users/joostdevalk/)
 * (@joostdevalk)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-google-analytics-for-wordpress-version-401-wordpress-3-cant-authenticate-with-google/#post-1573831)
 * Not really at this point, I’m adding debug stuff in one of the upcoming releases
   to be able to fix this. For now, check the box in the lower left and enter your
   UA code manually. Sorry for the inconvenience!
 *  [bigdaysf](https://wordpress.org/support/users/bigdaysf/)
 * (@bigdaysf)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-google-analytics-for-wordpress-version-401-wordpress-3-cant-authenticate-with-google/#post-1573941)
 * hi there, having the same issue.
    after getting the error: “Unfortunately, an
   error occurred while connecting to Google, please try again” I checked the box
   to enter it in manually as you suggested, but I’m not sure where to find the 
   UA code to enter.
 * any help would be greatly appreciated.
    thanks in advance, – Treasa
 * ————
    got it. thanks!
 *  Thread Starter [km](https://wordpress.org/support/users/kmaisch/)
 * (@kmaisch)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-google-analytics-for-wordpress-version-401-wordpress-3-cant-authenticate-with-google/#post-1573945)
 * No worries joostdevalk, entering the UA code manually works fine for me.
 * Treasa…. log in to you Google Analytics account at Google, and next to each of
   the domain names that you are tracking – you will see a code that looks like 
   something like UA-1234567-8. That is the code you need.
 * Kim
 *  [bigdaysf](https://wordpress.org/support/users/bigdaysf/)
 * (@bigdaysf)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-google-analytics-for-wordpress-version-401-wordpress-3-cant-authenticate-with-google/#post-1573946)
 * thanks Kim!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: Google Analytics for WordPress] Version 4.01, WordPress 3 – 
Can’t authenticate with google’ is closed to new replies.

 * ![](https://ps.w.org/google-analytics-for-wordpress/assets/icon.svg?rev=2976619)
 * [MonsterInsights - Google Analytics Dashboard for WordPress (Website Stats Made Easy)](https://wordpress.org/plugins/google-analytics-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-analytics-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-analytics-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/google-analytics-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-analytics-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-analytics-for-wordpress/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [bigdaysf](https://wordpress.org/support/users/bigdaysf/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-google-analytics-for-wordpress-version-401-wordpress-3-cant-authenticate-with-google/#post-1573946)
 * Status: not resolved