{"id":13,"date":"2012-10-17T03:10:00","date_gmt":"2012-10-16T21:10:00","guid":{"rendered":"http:\/\/promincproductions.com\/blog\/?p=13"},"modified":"2015-10-08T19:45:08","modified_gmt":"2015-10-08T13:45:08","slug":"wordpress-google-analyticator","status":"publish","type":"post","link":"https:\/\/promincproductions.com\/blog\/wordpress-google-analyticator\/","title":{"rendered":"WordPress &#8211; Google Analyticator"},"content":{"rendered":"<figure id=\"attachment_1070\" aria-describedby=\"caption-attachment-1070\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2012\/10\/Install-Google-Analyticator-in-Wordpress.jpg\" rel=\"attachment wp-att-070\" data-lasso-id=\"21\" data-rel=\"lightbox-gallery-tRT8ySjg\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" class=\"size-medium wp-image-1070\" src=\"https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2012\/10\/Install-Google-Analyticator-in-Wordpress-500x500.jpg\" alt=\"Install Google Analyticator in WordPress\" width=\"500\" height=\"500\" srcset=\"https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2012\/10\/Install-Google-Analyticator-in-Wordpress-500x500.jpg 500w, https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2012\/10\/Install-Google-Analyticator-in-Wordpress-150x150.jpg 150w, https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2012\/10\/Install-Google-Analyticator-in-Wordpress-600x600.jpg 600w, https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2012\/10\/Install-Google-Analyticator-in-Wordpress.jpg 652w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><figcaption id=\"caption-attachment-1070\" class=\"wp-caption-text\">How to succesfully Install the Google Analyticator in WordPress<\/figcaption><\/figure>\n<p>I&#8217;m using the\u00a0Google Analyticator\u00a0plugin in WordPress, and have ran into the following error message when setting this up on two different blogs.<\/p>\n<blockquote><p><span style=\"background-color: white;color: #333333;font-family: sans-serif;font-size: 13px;line-height: 22px\">&#8220;There was an Analytics API service error 400:Error fetching OAuth2 access token, message: &#8216;invalid_grant&#8217;<\/span><\/p><\/blockquote>\n<p>I was seeing this error on the WordPress Dashboard page where the Google Analytics dashboard should have been displaying. \u00a0The plugin settings page had this message as wel.<\/p>\n<p>The issue is that the plugin has not been granted access to Google Analytics. \u00a0So this needs to be done prior to this working.<\/p>\n<p><b>The Fix:<\/b><br \/>It&#8217;s actually really simple, it&#8217;s just a matter of finding the correct locations to click.<br \/>&#8211; In the WordPress Admin page, go to Settings -&gt; Google Analytics.<br \/>&#8211; Scroll down to the bottom of the page and click on the link &#8220;<span style=\"font-family: sans-serif\"><span style=\"background-color: white;font-size: 12px;line-height: 16.78333282470703px\">Deauthorize &amp; Reset Google Analyticator.<\/span><\/span>&#8221; \u00a0(For me, it was directly above an ad. \u00a0Not the easiest to find, but it&#8217;s there)<br \/>&#8211; On this page, there is a link that says &#8220;Click Here&#8221; near the top. \u00a0This opens another page, which is Google Analytics. \u00a0If logged in, you&#8217;ll see a blue button &#8220;Allow Access&#8221;. Click on that.<br \/>&#8211; Copy the code in the text box that appears.<br \/>&#8211; Go back to your WordPress page and paste the code into the verificiation box. \u00a0Click &#8220;Save and Continue&#8221;.<br \/>&#8211; You are now verified with Google Analytics. \u00a0You can now set up your Google Analyicator settings and be along your merry way!<\/p>","protected":false},"excerpt":{"rendered":"<p>I&#8217;m using the\u00a0Google Analyticator\u00a0plugin in WordPress, and have ran into the following error message when setting this up [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1070,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wprm-recipe-roundup-name":"","wprm-recipe-roundup-description":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[9],"tags":[24,23],"class_list":["post-13","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-development","tag-plugin","tag-wordpress"],"jetpack_featured_media_url":"https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2012\/10\/Install-Google-Analyticator-in-Wordpress.jpg","jetpack_shortlink":"https:\/\/wp.me\/p4BbcR-d","jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/posts\/13","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/comments?post=13"}],"version-history":[{"count":2,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/posts\/13\/revisions"}],"predecessor-version":[{"id":1071,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/posts\/13\/revisions\/1071"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/media\/1070"}],"wp:attachment":[{"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/media?parent=13"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/categories?post=13"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/tags?post=13"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}