1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How do I configure and test server-side analytics?

Discussion in 'Better Analytics' started by Robert Wagnon, May 15, 2017.

  1. #1
    How do I configure and test server-side analytics? I cannot find documentation.
    SEMrush
     
    Robert Wagnon, May 15, 2017 IP
    SEMrush
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,192
    Likes Received:
    2,584
    Best Answers:
    457
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    Not sure what you mean exactly... there's nothing to "setup". You can test it if you disable JavaScript and see if you get logged I suppose.
     
    digitalpoint, May 15, 2017 IP
  3. Robert Wagnon

    Robert Wagnon Greenhorn

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #3
    I don't get Analytics results with javascript or without. How can I troubleshoot?
     
    Robert Wagnon, May 16, 2017 IP
  4. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,192
    Likes Received:
    2,584
    Best Answers:
    457
    Trophy Points:
    710
    Digital Goods:
    29
    #4
    What's your site URL?
     
    digitalpoint, May 16, 2017 IP
  5. Robert Wagnon

    Robert Wagnon Greenhorn

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #5
    https://www.acumenitsupport.com
     
    Robert Wagnon, May 16, 2017 IP
  6. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,192
    Likes Received:
    2,584
    Best Answers:
    457
    Trophy Points:
    710
    Digital Goods:
    29
    #6
    If you have Better Analytics enabled, it looks like it might be an issue with your theme. Specifically it might not be using standard hook locations within it for plugins to do things at certain points. As a quick test, are you able to change the theme just as a quick test to see if analytics tracking changes afterwards?
     
    digitalpoint, May 16, 2017 IP
  7. Robert Wagnon

    Robert Wagnon Greenhorn

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #7
    We use Enfold. I changed it to Twenty Seventeen. I did not see any real-time results in Analytics and have not yet seen normal results appear. I have now changed it back.
     
    Robert Wagnon, May 16, 2017 IP
  8. Robert Wagnon

    Robert Wagnon Greenhorn

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #8
    I have javascript disable at this time. We are using this plugin for the server-side Analytics feature.
     
    Robert Wagnon, May 16, 2017 IP
  9. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,192
    Likes Received:
    2,584
    Best Answers:
    457
    Trophy Points:
    710
    Digital Goods:
    29
    #9
    You have JavaScript disabled in your browser or you disabled the Better Analytics JavaScript from being inserted into your site?
     
    digitalpoint, May 16, 2017 IP
  10. Robert Wagnon

    Robert Wagnon Greenhorn

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #10
    I have set:
    Location For Analytics Code: No JavaScript (you have your own/other already)

    because I expect the server-side API to send the visits to Analytics.
     
    Robert Wagnon, May 16, 2017 IP
  11. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,192
    Likes Received:
    2,584
    Best Answers:
    457
    Trophy Points:
    710
    Digital Goods:
    29
    #11
    Maybe there's some confusion on what the server-side reporting is. It allows you to log visits from visitors with analytics blockers. But if you don't have the user *try* to send data to analytics, there's no way to know if they have an analytics blocker or not.

    Server-side only analytics would give you a much more limited subset of tracking ability (for example you aren't going to know if the visitor is a repeat visitor or not), it essentially would become a fancy hit counter.
     
    digitalpoint, May 16, 2017 IP
  12. Robert Wagnon

    Robert Wagnon Greenhorn

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #12
    Ok, thank you for the information - that is very helpful. That is disappointing, but understandable.

    We get a lot of AdWords clicks and very few Sessions. I figure the Analytics info goes in too late to count and hope this might help.

    I'll turn the javascript back on. I wasn't getting much then either, but I'll let you know what I see.
     
    Robert Wagnon, May 16, 2017 IP
  13. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,192
    Likes Received:
    2,584
    Best Answers:
    457
    Trophy Points:
    710
    Digital Goods:
    29
    #13
    Well the JS stuff will give you much better ability to cross reference AdWords clicks to users and give you a better gauge if the traffic is legit. Using the JS based analytics code, you will be able to see things like a user going from page to page or visiting the site later. You can see how long they spent on the site, etc. The server-side stuff really knows nothing about the user, doesn't know if an HTTP request happened because of a click on a link or navigating or even if they are the same user or not. So honestly, you are *much* better off with the JS stuff. The server-side stuff is really just intended to be a "fallback" for a worst case scenario where an individual user has JavaScript disabled or something.
     
    digitalpoint, May 16, 2017 IP
  14. Robert Wagnon

    Robert Wagnon Greenhorn

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #14
    We do a lot of optimization: autoptimize, wp super cache, and critical CSS. I think something is messing with it.
     
    Robert Wagnon, May 16, 2017 IP
  15. Robert Wagnon

    Robert Wagnon Greenhorn

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #15
    I made sure that Autoptimize did not "optimize"/defer jquery.js and I started to see Real-Time data.
     
    Robert Wagnon, May 16, 2017 IP
  16. Robert Wagnon

    Robert Wagnon Greenhorn

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #16
    On PageSpeed Insights, I get these warnings:
    Remove render-blocking JavaScript:
    /wp-includes/js/jquery/jquery.js?ver=1.12.4
    /wp-content/plugins/better-analytics/js/loader.php?ver=1.2.3.js

    Can I defer these and still expect to catch more Sessions? As I mentioned, we get a lot of AdWords clicks and about 10% become Sessions.
     
    Robert Wagnon, May 16, 2017 IP
  17. Robert Wagnon

    Robert Wagnon Greenhorn

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #17
    I'll move that last bit to a new post.
     
    Robert Wagnon, May 16, 2017 IP
  18. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,192
    Likes Received:
    2,584
    Best Answers:
    457
    Trophy Points:
    710
    Digital Goods:
    29
    #18
    Ya you can defer them. In fact under the advanced settings of Better Analytics there is an option to defer it already there.
     
    digitalpoint, May 16, 2017 IP