Search code examples
google-analyticsbotsgoogle-analytics-filters

Google Analytics filter 'Ashburn' not working on view


I've added a filter to my website to filter Ashburn bot traffic (a known bot traffic problem), however it seems that is not applying into my view. Am I doing anything wrong with the filter? The spikes you see in the graphic are from the bots.

Filter: Filter

View Graphic: View Graphic

Ashburn: Ashburn

PS: Sorry, couldn't find where I could change the language to EN.


Solution

  • View filters are not retroactive; they filter data as it is incoming to the view, but they won't remove hits that are already recorded at the time of adding the filter. So, even if your filter is working, you won't see the past bot traffic disappear in your view. And if it is working, you should stop seeing new traffic appear that is blocked by the filter, although it can take up 24 hours for the filter to kick in, as per the docs.

    The docs don't speak clearly on this topic (although they do make sure to use the term incoming to imply the non-retroactive implementation), but you can find many instances where this behavior is noted:

    The only way to hide those past hits in your view is to set up a custom segment, that filters on the same condition as the view filter you set up, and have it selected whenever you want to filter out that traffic in the current section you are looking at.