Filter by Country

Hi there,

I used Piwik for 1 week. It’s a great tool but i have some questions about this product.

Can i filter my traffic by country? (visitor browser f / Keyword and referrer websites only for Spain?)
In GA i can used filter like ga:country==Spain.

Is there a function to do that? Can i do automatic report using this filter?


Yes you can manuallly add segmentation to the URL: Segmentation - Compare segments of visitors - Analytics Platform - Matomo

soon its coming to the UI: Segmentation: implement UI for adding/editing segments, and switching segments · Issue #2135 · matomo-org/matomo · GitHub

Great !


Happy New Year! If you are still using Piwik and interested in the awesome new feature of “Creating a Custom Segment in Piwik and apply to reports in Real time!” we need YOUR help, with a little or big donation at:

This will allow to dynamically add or edit, a new set of rules for example “Show all visitors from USA and using Firefox and using Google”. This will be done via a simple to use interface. See screenshots and more info here:

We are crowd funding the future of Piwik and this feature in particular. With your help we can do it.