Support » Plugin: Slimstat Analytics » Stats Not Working?

  • Resolved pawdl

    (@pawdl)


    My server logs show visits to my website, but Slimstat doesn’t seem to be logging them since the last update (v.4.7.9.1). I haven’t changed any Slimstat filters and I normally see Google bots in the dashboard’s “Visitor Activity” section. Now, Slimstat hasn’t shown any new activity since about 4/22. I suspect that is when I updated either the last time or the time before, but not sure. There were two updates close together and I may have been hoping that the most recent update would fix the lack of logging by Slimstats.

    I am running WooCommerce 3.6.2., PHP version: 7.2.7. Am I missing something? Am I the only one?

    Thank you…

    • This topic was modified 9 months, 1 week ago by pawdl.
    • This topic was modified 9 months, 1 week ago by pawdl.
Viewing 15 replies - 1 through 15 (of 36 total)
  • Plugin Author Jason Crouse

    (@coolmann)

    Hi @pawdl,

    would you mind sharing the website URL where this is happening? We are working on a new version which should be released in about two weeks, would you be interested in testing it in advance?

    Best,
    Jason

    Hi Jason,

    Website is https://PawDell.com. Yes, will test.

    Thanks…
    Paul

    Plugin Author Jason Crouse

    (@coolmann)

    It looks like something is blocking access to admin-ajax.php:

    Request URL: https://pawdell.com/wp-admin/admin-ajax.php
    Request Method: POST
    Status Code: 400

    400 means that my browser was not allowed to communicate with that script on your server. Please ask your hosting provider, if you don’t know what could be causing this issue.

    Jason

    pawdl

    (@pawdl)

    Thanks for looking into this. I’m not sure how you checked this, but if I go directly to https://pawdell.com/wp-admin/admin-ajax.php, I don’t believe I am getting blocked. It does only return a 0 (zero) and that file is marked readable by the world.

    I am trying to better understand my problem before contacting my host provider.

    Thanks…

    Plugin Author Jason Crouse

    (@coolmann)

    You can see that error in your browser’s devtools (Chrome, Firefox). Also, the tracking script is not being added to your website for some reason. Do you have Slimstat configured in Server Mode and turned off Track Client Info?

    pawdl

    (@pawdl)

    Looking at the hosting servers log files which go back to March, there are many 400 errors on admin-ajax.php. That part is nothing new, so I would have to say that’s not directly the issue. It appears that Google indicates many people talking about 400 errors on admin-ajax.php

    Also – I have not changed any settings in Slimstat since it has not been working. Slimstat Tracking Mode is set to client and Track Client Info is on. I do have it configured to not track admin pages, though, but that has been set that way since I started using Slimstat in January.

    Thanks for your time!

    Plugin Author Jason Crouse

    (@coolmann)

    Interesting. Has anything changed in your theme? Can you confirm that the function wp_footer() is still being in your theme’s footer.php file?

    Plugin Author Jason Crouse

    (@coolmann)

    Also, I’m assuming that when you looked at your server error log, you didn’t see anything related to Slimstat that could provide a clue on what’s happening, right?

    mattthev

    (@mattthev)

    I have the same problem. When I access admin-ajax.php, it has code 400 on all my websites… Websites with the latest plugin version has almost 0 visitors, but my websites with older 4.7.9 plugin version has normal visitor stats, but same code 400 in console.
    So there is something wrong with 4.7.9.1.
    WP 5.1, WC 3.5/3.6, PHP 7.2/7.3 – various combinations of these, but the only normally running site stats are with PHP 7.2.14, WP 5.1.1, WC 3.5.7 and Slimstat 4.7.9. All other sites have Slimstat 4.7.9.1 and there is minimum traffic in Slimstat compared to normal.
    And I use on all sites latest version of WP Rocket and Autoptimize, but I’ve wiped cache several times on all sites.
    Hope this help to solve the problem.

    mattthev

    (@mattthev)

    Everytime I access the site this appears in Maintenance
    Tracker Notice [04-28-19 07:46 pm] 310 Bot not tracked

    mattthev

    (@mattthev)

    When I disabled cache plugins and switched from Client to Server, stats are working but every visitor is consider as BOT/Crawler or Unknown.

    pawdl

    (@pawdl)

    I can also confirm switching Tracking Mode from Client to Server and stats seem to work again with the BOT/Crawler notation.

    Plugin Author Jason Crouse

    (@coolmann)

    Hm, I wonder if this is related to the new Browscap library in any way. Are you available to test version 4.8 before it’s officially released? If so, contact me at https://support.wp-slimstat.com and I’ll send you the steps to test the new release.

    Also, are you using Cloudflare or any other load balancer in front of your website?

    Best,
    Jason

    mattthev

    (@mattthev)

    No CDN, only maybe Jetpack for images.
    I’ve sent support ticket.

    mattthev

    (@mattthev)

    It seems, that it detects every desktop as bot. Android and iOS devices are in stats.

Viewing 15 replies - 1 through 15 (of 36 total)
  • The topic ‘Stats Not Working?’ is closed to new replies.