Analytics not show to users only to Admin

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

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

Open Support Ticket
  • Author
    Posts
  • #44035

    sager
    Buyer
    Post count: 38

    Hi everyone
    this is great update of Google analytics Thank You
    i installed it and it work fine
    i have 2 things :
    1. the user is not see anything although, i enable it from the payment manager.

    2. the Administrator get error on Top Countries in Google analytics on the user page

    {“error”:{“errors”:[{“domain”:”global”,”reason”:”badRequest”,”message”:”Sort key ga:sessions is not a dimension or metric in this query.”}],”code”:400,”message”:”Sort key ga:sessions is not a dimension or metric in this query.”}} – See more at: http://israel-guides.net/tour-guides/viviane-rushansky/#sthash.g929GVvF.dpuf

    Thank You for your help

    #44037

    sager
    Buyer
    Post count: 38

    i use google tags and not the regular analytics code 🙂

    #44047

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hello Sagar,

    #1. Good find, this is a bug for Subscriber user level, you can fix this by replacing this file in core: https://github.com/GeoDirectory/geodirectory/blob/master/geodirectory_hooks_actions.php

    #2. This bug has been reported and fixed you can fix it b replacing this file in core: https://github.com/GeoDirectory/geodirectory/blob/master/geodirectory-functions/google_analytics.php

    Thanks,

    Stiofan

    #44140

    sager
    Buyer
    Post count: 38

    Hi i did the changes
    but now nobody see the Analytics
    i cleared cache
    thank you

    #44148

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Thanks, please try now, also note this should only be shown to the admin and the owner of the listing…

    Stiofan

    #44230

    sager
    Buyer
    Post count: 38

    Great good Job Thx

    #44233

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Your welcome, thanks for spotting 🙂

    #44505

    veneuphoria
    Expired Member
    Post count: 69

    Are there plans to fix this in the next update? I hate messing with code.

    Thanks

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