Bots that look like real visitors, referrer spam or test traffic that slipped through: once such visits are in Matomo, they distort visits, bounce rate and conversion rates in every report. Matomo's GDPR tool can delete data, but it is made for individual people, not for thousands of visits across several websites and months.

Feinwerk Delete Visits Filter deletes every visit that matches a Matomo segment, on one website, several or all of them, in any date range. You see what will be deleted before anything happens, and large deletions keep running in the background until they are done.

  • Choose exactly what goes: one website, several (also all whose name contains a text) or all websites; a preset such as "Last 30 days" or any range from the calendar, counted in each website's time zone; a saved segment, Matomo's segment editor or plain text. Any Matomo segment works, for example IP ranges, referrers, browsers or page URLs.
  • Check before you delete: the matching visits per website and in total, a sample with time, IP, browser, entry page and referrer, a link to the visitor profile and to the visitor log. From 10,000 visits on you type the number of visits to confirm.
  • Built for large clean-ups: deletions run as jobs in small steps, so even millions of visits do not run into timeouts. If you reload or close the page, the deletion continues in the background; very large ones can also run on the console without a time limit.
  • Clean data, correct reports: visits are removed with all their data from Matomo's raw data tables, with the same routine as Matomo's GDPR tool, and the affected days are processed again automatically.
  • History: every deletion with who started it, websites, segment, status, deleted visits and duration. "Use as template" starts a new deletion with the same settings, "Try again" continues a failed one.
  • Console and API for scripts and cron jobs, light and dark mode, English, German, French, Spanish and Italian.

Works with Feinwerk Tracking Spam Score and Feinwerk Sentinel: find the junk first. Tracking Spam Score finds spam networks and bot traffic, and Sentinel (free) alerts you when tracking breaks.

Get started: open Administration › Diagnostic › Delete Visits, choose websites, a date range and a segment, then Check matches.

More Plugins for Matomo by Feinwerk: install Feinwerk Connector from the Matomo Marketplace to discover, install and update all Feinwerk plugins, free and paid, right in your Matomo. Documentation: plugins.feinwerk.io.


  • Find junk visits check them and delete them for good

  • Choose websites a date range and any segment

  • See the matching visits per website before you delete

  • Confirm large deletions by typing the number of visits

  • Large deletions keep running in the background

  • A history of every deletion

  • Also in dark mode

Can deleted visits be restored?

No. Visits are removed from Matomo's raw data tables for good. Make a database backup before large deletions.

How is this different from Matomo's GDPR tool?

It uses the same deletion routine, but selects visits by segment, date range and website instead of one person at a time.

Are my reports corrected?

Yes. The affected days are marked for processing again, including roll-up websites; the next archiving run rebuilds the reports.

What happens if I close the page?

The deletion continues: an hourly background task goes on where it stopped (unless a super user switched background processing off in the settings), and very large deletions can run on the console without a time limit.

Who can delete visits?

Super users only.

Does a segment on pages delete only those pages?

No. A segment on page or conversion data deletes the whole matching visit.

Where do I find more Feinwerk plugins?

Install Feinwerk Connector from the Matomo Marketplace. It lists all Plugins for Matomo by Feinwerk, free and paid, and installs and updates them with one click.

View and download this plugin for a specific Matomo version:


Please share