Need help? Check out our Support site, then


Is there a difference between dashboard stats and CSV-loaded stats?

  1. There seems to be a difference between stats in the dashboard, and custom retrieved stats. Especially on fairly new posts, it seems that retrieving statistices can get a bit off.

    If I look in the dashboard the stats seem more accurate, and new posts appear fairly soon in the list of all posts.
    Then when I try to use this data in the website, using the stats_get_csv function, other data is presented.

    Further investigation leads to the conclusion that data in the dashboard is loaded via http://dashboard.wordpress.com/wp-admin/index.php?etc.
    Data received via the stats_get_csv-function loads data through http://stats.wordpress.com/csv.php?etc....

    This leads to differences between post-counts my vistors see (less), and data shown in the dashboard (more accurate?).

    Are my assumptions correct, and if so, how can this difference be explained (to my customer)?
    Blog url: http://www.artsenauto.nl

  2. When querying WordPress.com for stats, a limit parameter can be added to the query to be able to return more results.

    Could you try adding this parameter to your query?

    You can find more details about it here:
    http://stats.wordpress.com/csv.php

  3. thanks jeherve, but I wasn't clear what my problem is aparently.
    The issue is not the amout of returned data, but the view-count per post.

    For example, the data in the dashbord shows:
    /wp-admin/admin.php?page=stats&view=postviews&summarize&numdays=-1
    post-id=2196, number of views: 139x
    post-id=2176, number of views: 26x

    The data from the csv shows
    stats_get_csv('postviews', '&days=-1&limit=-1&summarize')
    post-id=2196, number of views: 107x
    post-id=2176, number of views: 16x

    Hope this makes my problem more clear.

  4. Are the numbers that you're getting from the csv output still increasing, just at a slower rate?

  5. yep, still increasing. Hard to say when and how much, but they certainly increase.
    Is there a delay between the processing of the CSV outputted data and the dashboard?

  6. Yes, there usually is a delay, as the CSV output is meant to be more as summarized collected data and not real-time.

  7. hmm, don't like the sound of that.

    What is a good alternative to display views of a post on the website? Should I use another stats-plugin? Anyone know one that is compatible with caching (e.g. based on JS)?

  8. Have you considered adding a plugin with a simple counter?

    I don't know of any specific ones myself, but I know there are a few out there. The kind folks at http://wordpress.org/support/ should have some good recommendations.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.