Google Analytics: How can I exclude a country from reports?

by Dj Dac Saunders   Last Updated October 24, 2017 11:04 AM

Hi is it possible to exclude traffic from a certain country in google analytics?

If yes, how do I do it?



Answers 3


You can exclude traffic originating from a specific country via an Advanced Segment.

In the Advanced Segment creation interface you'll add the Dimension "Country", then select "Not containing" in the pulldown menu, then type the country name you wish to exclude in the text field.

John Conde
John Conde
May 07, 2011 16:30 PM

If you want to permanently remove traffic from a specific country you can set up a Custom Filter to exclude it. This can be done via the 'Analytics Settings > Profile Settings > Create New Filter' screen. You need to choose the 'Custom Filter' radio button, leave the 'Exclude' setting as it is then select a 'Filter Field' of 'Visitor Country'. Finally enter the country to remove in the 'Filter Pattern' field.

Remember that this will only take effect going forward after it's applied so the country data will still be included in historical reports. Also, it's not possible to get data back that was excluded so it's best to create a new profile for the filtered data. Just leave what you've got in place and add an additional profile with the filter in place.

Ewan Heming
Ewan Heming
May 07, 2011 17:03 PM

by blocking a country, you will also not able to see users on the Real Time report, from that particular country?

Jaque G.
Jaque G.
October 24, 2017 10:40 AM

Related Questions




Google Analytics problem with events

Updated April 10, 2017 14:04 PM


How to use segments in google analytics API

Updated May 13, 2015 12:39 PM