Search code examples
google-analyticsgoogle-analytics-filters

Exclude /cookie-law.xyz/0/ from Analytics


I have been trying to filter out a bunch of old spam referrers from Google Analytics and have been successful with most, but I'm having issues with a bunch that are with the url /cookie-law.xyz/0/ thru /cookie-law.xyz/20/. I've tried a bunch of variations using regex metacharacters to no avail. Here is how it looks as a set up: Screenshot of filter in Google Analytics

Any ideas of what I'm doing wrong here?

cmalexander


Solution

  • I believe the regex you are looking at is

    \/cookie-law\.xyz\/\d+\/?
    

    enter image description here