• Hi, there.

    I notice some page views for some of my posts have disappeared. My highest viewed post is back to zero, which is a bit frustrating.

    The only thing that might possibly have caused it is my DB-cleaner plugin, WP-Sweep, but that’s an excellent plugin and I’ve never had that problem with it before. Just seems to have been in the last month (roughly) that the pageviews have disappeared.

    Any idea what might have caused this?

    Cheers,
    Chris.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jason Crouse

    (@coolmann)

    Hi,

    please note that Slimstat has its own internal purging mechanism, that deletes pageview after a given number of days. This feature is now deactivated by default on new installations, but back in the days it used to be enabled. Go to Slimstat > Settings > Basic and scroll all the way to the end of that screen to adjust that option. We have an “archive” table though, which is where those old records are moved. You might be able to restore those views from there.

    Best,
    Jason

    Thread Starter Chris Lovie-Tyler

    (@chrislt)

    Thanks, Jason. I did have the Archive setting switched on. I’ve turned it off now.

    How do I restore the views from the archive table?

    Plugin Author Jason Crouse

    (@coolmann)

    Hi,

    you can use phpMyAdmin and run the following SQL statement:

    `INSERT INTO wp_slim_stats SELECT * FROM wp_slim_stats_archive;

    assuming that wp_ is your WP table prefix.

    Make sure to backup both tables before you proceed, so that you can revert to the previous state, if something goes wrong.

    Jason

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Some pageviews have disappeared’ is closed to new replies.