Remove the Plugin with All Data

Warning

This action is irreversible. Once you delete the data, it cannot be restored. Proceed with caution.

To completely remove WP Statistics along with all its data, you can use the following methods:

Method 1 – Remove Data by Using Available Options

You can use the standard WordPress tools to remove WP Statistics. However, simply removing the plugin will not delete the statistical data or settings from the database completely.

To remove tables, data, and settings:

  1. Navigate to Statistics → Optimization → Data Cleanup.
  2. Use the available options to clear data.

Data Cleanup Options

Remove Certain User Agent Types

After performing the data cleanup, you can disable or delete the plugin from the WordPress plugins page.

Method 2 – Delete Data by a Query

WP Statistics stores its data in specific tables. To delete these tables:

  1. Run the following query to remove WP Statistics tables:
   DROP TABLE IF EXISTS wp_statistics_*
  1. To delete the plugin’s options, run the following query:
   DELETE FROM wp_options WHERE option_name LIKE '%statistics%'

Important:

Ensure that the plugin is disabled before deleting any tables to avoid potential conflicts.

By following these methods, you can ensure that WP Statistics and all its data are thoroughly removed from your WordPress site.

Let’s get started
Take your business to next level

Become part of our growing family of +600,000 users and get the tools you need to make smart choices for your website. Simple, powerful insights are just a click away.