Exclude or include visitors from selected countries.
This plugin allows you to only track visitors from specific countries (or all but specific countries) and discards data from everyone else, reducing the amound of data stored in the database.
You can verify that the plugin works by temporarily enabling tracking debugging and checking the log.
View and download this plugin for a specific Matomo version:
View and download this plugin for a specific Matomo version: