Google analytics error

This topic contains 11 replies, has 3 voices, and was last updated by  Guust 8 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #138178

    glbtyp
    Full Member
    Post count: 32

    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.

    #138180

    Guust
    Moderator
    Post count: 29970

    https://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?

    #139874

    glbtyp
    Full Member
    Post count: 32

    Ya, 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”).

    #140107

    Guust
    Moderator
    Post count: 29970

    Normally the Profile ID is only 8 digits after the

    ga:

    Can you check that?

    #141323

    glbtyp
    Full Member
    Post count: 32

    Ok 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 :/

    #141643

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    9 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

    #142768

    glbtyp
    Full Member
    Post count: 32

    Thank you for that possible solution. Tried it and it unfortunately did not work.

    #142769

    glbtyp
    Full Member
    Post count: 32
    This reply has been marked as private.
    #142921

    Guust
    Moderator
    Post count: 29970

    Can 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 http

    Let us know how you went.

    #146098

    glbtyp
    Full Member
    Post count: 32

    Great point! I will.

    #146099

    glbtyp
    Full Member
    Post count: 32

    OK, 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.

    #146101

    Guust
    Moderator
    Post count: 29970

    At 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

Viewing 12 posts - 1 through 12 (of 12 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount