• Resolved erniecom

    (@erniecom)


    I try to anonymise a production instance of WooCommerce for debug access by third party plugin authors. My attempts will all be part of a bash command line script on my linux server, used to prepare a test version from a backup copy of the production site, but without personal data. I successfully could remove users and orders from database but now I discover that all the sales statistics are still available in WooCommerce’ Analytics including sales totals, names and figures. Where do I find this in database? I would like to complete my database queries to remover these too.

    In stackoverflow I received a suggestion to use WooCommerce > Status > Tools > Clear Analytics Cache and transient data. WooCommerce tools are also available from the command line that’s why I considered them as option. I tried both tools both and ways without the desired results.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Pepe (woo-hc)

    (@anastas10s)

    Hi there @erniecom

    As I understand, you’d like to remove the WooCommerce Analytics data from the test version that the third party plugin authors will have debug access. Correct?

    If you add the following code to your wp-config.php file, WooCommerce will not track any data:

    define( ‘WC_Disable_Tracking’, true );

    Furthermore, the documentation section linked right here details how to clear the analytics cache.

    I trust that points you in the right direction, but if you have more questions, let us know. We’re happy to help.

    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Delete WooCommerce Analytics data’ is closed to new replies.