Google Analytics not displaying any metrics

This topic contains 15 replies, has 4 voices, and was last updated by  Paolo 8 years, 2 months ago.

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

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #264610

    Ray Scarpa
    Expired Member
    Post count: 84

    Pretty sure we have it set up correctly, proper OAuth, project, tracking code, etc., however we can’t seem to get any stats to display for listings. We can see the “Analytics” title and the “Active users” area (even though none show when we’re on) but there are no charts or message that says there are no metrics.

    Any idea what we’re missing?

    Thanks!

    #264625

    Kor
    Moderator
    Post count: 16516
    This reply has been marked as private.
    #265280

    Ray Scarpa
    Expired Member
    Post count: 84
    This reply has been marked as private.
    #265606

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    I’d say that deactivating momentarily all non GD plugins in this case is strictly necessary. If you simply disabled them, refresh the page if the error is gone and then reactivate them, there will be no problem.

    Thanks

    #268565

    Ray Scarpa
    Expired Member
    Post count: 84

    Okay, it looks like the complete lack of display was related to the order in which plugins were loading. Now that is resolved, selecting the “Analytics” button returns an error of “{“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: http://www.inmaricopa.com/listing/real-estate-1/pat-lairson/#sthash.CExQYg7I.dpuf

    Checked through all other forum posts with the “does not have sufficient permissions for this profile” reference and tried everything suggested. I was hoping that you could review the screenshots captured from the developer page where API was created and Analytics page where it’s applied. Maybe you will see something obvious that we’re missing? Tried http vs. https and both, added permissions for service account email addresses, had no trouble with the OAuth Client process, etc. Maybe we’re using an incorrect callback URL?

    Any ideas would be appreciated.

    #268566

    Ray Scarpa
    Expired Member
    Post count: 84
    This reply has been marked as private.
    #268897

    Stiofan O’Connor
    Site Admin
    Post count: 22956
    This reply has been marked as private.
    #269161

    Ray Scarpa
    Expired Member
    Post count: 84
    This reply has been marked as private.
    #269385

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    What Google email are u logged in with when you are clicking authorize on the GD backend? Does that EMAIL have google analytics permission?

    Stiofan

    #269579

    Ray Scarpa
    Expired Member
    Post count: 84
    This reply has been marked as private.
    #272652

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    It should be the one account that creates everything, i have never seen the need to add another email. If the one account did not create everything it will not work.

    Stiofan

    #273033

    Ray Scarpa
    Expired Member
    Post count: 84

    Hi – Sorry, but I’m not sure what that means. We don’t have anything unique about the Google Analytics account and set all parameters per the process outlined in the forum post. It was not working with the primary email so I tried troubleshooting via StackOverflow. One suggestion included:

    “Did you give permissions to the service account on your actual GA profile? Admin > View > User Management > “Add permissions for:”

    “The [email protected] account has full permissions. However, your comment did prompt me to add the actual service account email as well (i.e. [email protected]), which seems to resolve the problem.”

    It didn’t work for us. I can delete the “Service Account” email but then will be back to original. We have both http and https JavaScript origins and Authorized Redirect URLs entered, with screenshots above. Do those look correct to you?

    Thanks!

    #273276

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    you must use 1 google account to create the Google Analytics account to get the code to track statistic on your website and the same account to create the API keys and connect the application.

    If your website uses https you should authorize it ONLY with https, if your site doesn’t use https you should authorize it ONLY with http.

    Your website is not using SSL so you should only authorize HTTP. When you’ll move to https, you will need to remove HTTP and add HHTPS to the API authorized referrers.

    I just tried on a blank install of WordPress and GeoDirectory following step by step the documentation and it worked like a charm.

    We cannot access your Google accounts to check (they’d be blocked), so I’m not really sure how we can better assist you…

    Thanks

    #273563

    Ray Scarpa
    Expired Member
    Post count: 84

    Appreciate the extra detail. Will try what you clarified above and if we still have trouble we’ll start over…

    Thanks for the great effort, as always!

    #273718

    Ray Scarpa
    Expired Member
    Post count: 84

    Okay, it looks like we’ve got it resolved. Back to Stiofan’s comment:

    “What Google email are u logged in with when you are clicking authorize on the GD backend? Does that EMAIL have google analytics permission?”

    I originally read that to mean “Were we authorizing the API while logged in with the proper Google email?” So finally I logged out of Google altogether and logged in using the main Google account, then logged into the website, navigated to GD and re-authorized, and it works.

    Also deleted the https references in the API for now. Thank you again for your patience on this one!

Viewing 15 posts - 1 through 15 (of 16 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