• Resolved Some Thing

    (@jeffdrichardsongmailcom)


    v 1.9.9.2

    On my site there’s a post that I believe isn’t too popular.
    I have Jetpack Stats plugin and it shows 2 views for the page today.
    That’s what I expect.

    Then I look on the page and Top 10 shows 14 views for the page (fair enough, it’s been up for close to a week) out of which 11 today.

    Assuming Jetpack Daily Views is correct and Top 10’s Total Views is also correct (I think both of these make sense), the page gets 2-3 views a day.

    I suspect Top 10 should do something like 14 – 11 to come up with 3 daily views, that would make more sense. I can see the same page yesterday had only 1 view, so assuming Total Views is correct then Daily Views’ maths doesn’t seem right.

    https://www.ads-software.com/plugins/top-10/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Ajay

    (@ajay)

    I’m not sure how Jetpack records a view, but Top 10 records every hit that the page receives even if it is a reload.

    While you can’t view the daily views in the frontend currently, you should be able to check this in the database table called wp_top_ten_daily where you have the number of views per post ID by date.

    You could run a mySQL command in PHPmyAdmin along the lines of SELECT * from 'wp_top_ten_daily' WHERE postnumber = 123 (replacing 123 with the post)

    As usual, whenever dealing with a database, you should backup first.

    Thread Starter Some Thing

    (@jeffdrichardsongmailcom)

    Thanks for the help, I appreciate the ready made query although I can’t execute it on my shared host (actually I can, but it’s quite an effort).

    I’ll keep watching it and check in SQL if I notice discrepancies over more than just one post.

    Plugin Author Ajay

    (@ajay)

    Most shared hosts should have phpMyAdmin or similar software to manage your databases.

    I’ll mark this resolved for now, but let me know if it comes back.

    Thread Starter Some Thing

    (@jeffdrichardsongmailcom)

    You’re right, and it’s OK to mark this resolved.
    One of sites I manage got breached so although it’s doable, I was quite busy fixing that and some other stuff.

    But since you’ve been very helpful I should try to do my part:

    – Here’s what I see in the footer below that post right now:
    Total 22, out of which 19 today

    – Here’s what it says in the DB:

    SELECT * FROM DB_top_ten_daily WHERE postnumber = 35418

    Edit Delete 35418 6 2014-02-21
    Edit Delete 35418 3 2014-02-22
    Edit Delete 35418 1 2014-02-23
    Edit Delete 35418 2 2014-02-24
    Edit Delete 35418 7 2014-02-25
    Edit Delete 35418 1 2014-02-26

    So in no case did I have such a large number of daily views since that page went online.

    Plugin Author Ajay

    (@ajay)

    Can you tell me what you have set for:

    “Daily Popular Posts should contain views of how many days?”

    Thread Starter Some Thing

    (@jeffdrichardsongmailcom)

    Sorry – I didn’t see this question before.

    I set it to show top 5 posts in the last 5 days.

    Plugin Author Ajay

    (@ajay)

    It’s because you’ve set it to 5 days, that you see 19. It’s the sum of the first 5 rows in your mySQL above.

    Thread Starter Some Thing

    (@jeffdrichardsongmailcom)

    Ugh, I somehow assumed daily stats means Top 10 today.
    Thanks.

    Plugin Author Ajay

    (@ajay)

    You’re welcome. The idea is to configure the “daily” to your wish

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Daily stats seem incorrect’ is closed to new replies.