Google Analytics Problem

This topic contains 4 replies, has 3 voices, and was last updated by  Stiofan O’Connor 10 years, 2 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #31307

    josecristhian
    Expired Member
    Post count: 24

    Hi, I configured Google Analytics but I can not see the dashboard anywhere neither as an administrator nor author.

    1) I got my Profile ID according to your tutorial and configured as ga:xxxxxxxx
    2) In Google Analytics the statistics are ok
    3) I downloaded a plugin for google analytics and it worked ok, then I uninstalled that plugin
    4) I’m using my gmail credentials the same that is use for login in GA
    5) Google Tracking:
    <script>
    (function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,’script’,’//www.google-analytics.com/analytics.js’,’ga’);

    ga(‘create’, ‘UA-xxxxxxxx-1’, ‘auto’);
    ga(‘send’, ‘pageview’);

    </script>

    #31319

    Guust
    Moderator
    Post count: 29970

    What dashboard do you expect?
    GD anallytics will add the number of page views to the detail page of the listing, but only if the price package is set to include those analytics.

    Send us WP admin details and URL in a private message if you like, if you cannot figure it out.

    #31331

    josecristhian
    Expired Member
    Post count: 24
    This reply has been marked as private.
    #31340

    Guust
    Moderator
    Post count: 29970

    I had a test on your site, and it indeed seems to be a problem.
    I will get one of the others to look at this.

    I think it might only work for claimed listings.

    Stiofan, this is the message displayed to admin, while the user does not see anything:
    Warning: Division by zero in /home/xxx/public_html/wp-content/plugins/geodirectory/geodirectory-functions/google_analytics.php on line 61
    Google Analytics (Last 30 Days)
    Total pageviews: 1
    Unique visitors: 1
    Average time on page: 0:00:00

    #31397

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    this seems to just be a calculation error, i have added a check for it and it will be in the next ver.

    U can see the changes to that file here: https://github.com/GeoDirectory/geodirectory/commit/53b15ea1945f0afdc67c2ef775819ecde5e4f38d

    Thanks,

    Stiofan

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