Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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

If yes, how do I do it?

share|improve this question

2 Answers 2

up vote 4 down vote accepted

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.

share|improve this answer
    
It works. Thank you for the answer. –  Niklas Rtz Aug 14 '11 at 18:36

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.