WordPress.org

Forums

WP Statistics
[resolved] Different numbers for site-wide stats at root and posts/pages (5 posts)

  1. sexymazafaka
    Member
    Posted 10 months ago #

    Hi Greg.

    Just installed your stats a day ago and found strange behavior of shortcode (and similar php functions) in case I need to display visits or visitors for 'today'.

    Both shortcode and wp_statistics_visitor(time) + wp_statistics_visit(time) giving me different numbers if I'm on my site root or any other post/page. When I'm on the root, numbers seems to be correct, but if I'm going deeper reading any post/page, it displays strange (constant) numbers.

    UPD... Semi-resolved: looks like this happens only when I'm logged in. When logged out, numbers are always correct.

    https://wordpress.org/plugins/wp-statistics/

  2. Greg Ross
    Member
    Plugin Author

    Posted 10 months ago #

    Could it be some kind of weird browser cache problem?

  3. sexymazafaka
    Member
    Posted 10 months ago #

    Greg, not at this time.
    I've tested it on all major browsers, and other dynamic content works as it should. And I'm not using any kind of caching wp plugins.

  4. sexymazafaka
    Member
    Posted 10 months ago #

    I am sorry for this, but now it started to work normally. I really don't know what it was.. Anyway thanks for great plugin (much better and faster than (new)statpress) and sorry again for reporting bug which I can't catch.

    // Sergey

  5. Greg Ross
    Member
    Plugin Author

    Posted 10 months ago #

    No problem, let me know if it comes back.

Reply

You must log in to post.

About this Plugin

  • WP Statistics
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.