Search code examples
google-analyticsgoogle-analytics-filters

filter out old spam URI from analytics


Just launched a new site for a client and trying to exclude all of the old URLs from analytics that came from viagra or similar hacks.

However i can't seem to get a match that makes a difference?

The hacked URIs started with /case-studi/ so trying —

^/case-studi/

As well as variations. Filter is custom > Exclude > Request URI not case sensitive.

The links i can find via google are like so -

Rayh health care pvt ltd viagra - Greengage
www.greengage-env.com/case-studi/rayh-health-care-pvt-ltd-viagra or 

www.greengage-env.com/viagra

How can i filter out these results?


Solution

  • Does this work? You should select the segment in your reporting tab.

    https://analytics.google.com/analytics/web/template?uid=M99M2hMsQXminwlic26W5A