Google analytics error
This topic contains 11 replies, has 3 voices, and was last updated by Guust 8 years, 8 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: analytics api, error, listing analytics
-
AuthorPosts
-
March 12, 2016 at 2:44 am #138178
Ok, we’re almost done with this site. Can’t Google analytics to work though. Followed this: https://wpgeodirectory.com/docs/gd-core-plugin-google-analytics/
The Google UI has changed a little bit since that doc was created, though. It directed me to a OAuth version 2 client id. Is that what should’ve been created? It authorized just fine but not sure we got the right type of authentication setup.
Here’s the error that returns in the sidebar on the listing page:
{"error":{"errors":[{"domain":"global","reason":"insufficientPermissions","message":"User does not have sufficient permissions for this profile."}],"code":403,"message":"User does not have sufficient permissions for this profile."}} - See more at: https://glbtyp.com/listings/united-states/washington/seattle/plumbers-and-plumbing/oneill-plumbing/#sthash.vi3GRcgE.l9uiemcX.dpuf
When setting it up it asked if we wanted user information or something like full account info. It said only the user option would work with this kind of authentication. Hoep that was the right option. I don’t know the analytics api at all.
March 12, 2016 at 4:03 am #138180https://wpgeodirectory.com/docs/gd-core-plugin-google-analytics/#credentials shows that you indeed should create an OAuth version 2 ID.
Did you review all the steps explained below the video?March 14, 2016 at 11:46 pm #139874Ya, all of the steps were followed. Some of the steps have changed in the Google apis backend but it ultimately still led me setting up an Oath version 2. (Though on that doc, I didn’t see that it specifically says “version 2”).
March 15, 2016 at 2:19 pm #140107Normally the Profile ID is only 8 digits after the
ga:
Can you check that?
March 16, 2016 at 9:03 pm #141323Ok I double checked. This is the url that has the Profile ID:
https://analytics.google.com/analytics/web/#report/visitors-overview/a64601198w100661507p104549714/
It’s got 9 :/
March 17, 2016 at 10:14 am #1416439 is fine, i just wanted to make sure there was no mistake, please try following the answer here: http://stackoverflow.com/questions/20959942/google-analytics-api-user-does-not-have-sufficient-permissions-for-this-accoun#answers
If that does not help, the only think i can suggest is to give us the google login details so we can check, i understand the security implications of this as a result it might be better starting a new account to see if that connects ok and if not you can give us details of that.
Thanks,
Stiofan
March 19, 2016 at 12:17 am #142768Thank you for that possible solution. Tried it and it unfortunately did not work.
March 19, 2016 at 12:19 am #142769This reply has been marked as private.March 19, 2016 at 11:16 am #142921Can you check all properties etc is set up as https rather than http in both analytics and your developer setup
You do not have an analytics account for https for example, only httpLet us know how you went.
March 26, 2016 at 3:42 am #146098Great point! I will.
March 26, 2016 at 3:59 am #146099OK, so the analytics property is actually set to https. Can you point me to where you saw that is wasn’t? I also checks search console and the Oauth 2.0 key allowed domains. Both of those are under https too. Is there anywhere I’m missing?
Also this was in the Search Console history. I’m not sure if the business owner (of glbtyp.com – I am the dev), tried to reverify for some reason or this just happened. It all looks fine in our backend but thought the error messages may be a clue for ya’ll.
March 26, 2016 at 4:27 am #146101At Google the account was/is set up at http when i looked last.
The errors you post suggest that the site was never verified or is not considered verified because it uses http instead of https -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket