• Resolved dhhoyle

    (@dhhoyle)


    We have a multi-domain staging WP installation, where the production domain is created anew each month from a staging sub-domain. We can do the yearly statistics manually by keeping a spreadsheet, but we need to zero out the statistics each month. Is there a method for resetting the statistics?

    Does any one have a good suggestion for us?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Greg Ross

    (@gregross)

    You can use the purge feature to remove the data from the database (Statistics->Optimization->Purging->Empty Table).

    This will remove all data in the tables.

    If you have a script to deploy your site you could have it run a SQL script to do the work for you, the tables names will be in the format of [dbprefix]statistics_[visit/visitor/historical/useronline/exclusions/pages].

    Thread Starter dhhoyle

    (@dhhoyle)

    I teach computers to seniors, where one thing I always remind them is that they are missing solutions on the monitor right before their eyes. I am also a senior and just as guilty.

    Thanks,

    Plugin Contributor Greg Ross

    (@gregross)

    No problem, there’s some anecdote about forests and trees in there I’m sure 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘WP Statistics across wp stages’ is closed to new replies.