To uninstall Matomo (Piwik), follow the following steps:

  • Remove the Matomo (Piwik) Tracking code from all websites previously tracked with Matomo
  • Delete all Matomo (Piwik) files in the piwik/ folder. In some configurations, the piwik/ folder cannot be deleted using FTP. If you can’t delete the piwik/ folder in your FTP, download the script uninstall-delete-piwik-directory.php, upload it to your server above the piwik/ folder, and execute it in your browser. It will delete the piwik/ folder.
  • Using a Mysql client such as phpMyAdmin or cPanel, delete the Database storing all Matomo (Piwik) tables

Matomo (Piwik) will then be successfully uninstalled.