Skip to content

Instantly share code, notes, and snippets.

@wpperform
Last active October 6, 2019 13:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wpperform/b822f06ea861b8ed2895 to your computer and use it in GitHub Desktop.
Save wpperform/b822f06ea861b8ed2895 to your computer and use it in GitHub Desktop.
NOTES:
1. For the filter that includes hostnames, be sure to replace wpperform\.com with your domain name
2. The filters use regular expressions (regex), so be sure to understand proper regex before relying on data from a regex-based custom segment
3. Preview any custom segment to understand the results it will produce
4. If you have multiple properties in 1 Google Analytics account, you'll need to create a segment for each property
5. To prevent applying the wrong segment to a property, set the segment availability to only the current view
6. If you're logged into your Google Analytics account, you can easily download our segment by visiting in a new tab:
https://analytics.google.com/analytics/web/template?uid=cbiXy0ntRfigGby0TzCmKQ
CREATE A SEGMENT WITH 2 CONDITIONS
A) Filter sessions to INCLUDE: Hostname matches regex
wpperform\.com|google\.(.*)|googleusercontent\.com|youtube\.com
B) Filter sessions to EXCLUDE: Source matches regex
китай.с.новым.годом.рф|непереводимая.рф|с.новым.годом.рф|яндех-херня.рф|\.xyz|##\-1|(#|##)\-site|(100dollars|best|success|top1)\-seo|1\-99seo|200please|24x7\-|3\-letter|4webmasters|7makemoney|abcgruppen|adf\.ly|adnxs|adtiger|alibestsale|anticrawler|black\-friday\.ga|boost\-my\-|bugof|(buttons|videos)\-for|californianews\.cf|chinese\-amezon|compliance\-|cookielaw|copyrightclaims|cyber\-monday\.ga|\-crew|dailyrank|darodar|dbutton|dogsrun|erot\.co|event-tracking|executehosting|expdom\.com|eyes\-on\-you|(familyholiday|fashionindeed|nyfinance)\.ml|fast\-wordpress|findamo|(floating|free|simple)-share|forum69|for\-your\.website|free\-(floating|share|social|traffic|video)|front\.to|get\-(free|your)|getrichquick|globalscam|(gq|golden)\-catalog|google(mare|sucks)|guard(link|lan)|happy\.new\.yeartwit|homemade\.gq|how\-to\-earn|howtostopreferralspam|hulfingtonpost|humanorightswatch|keywords\-monitoring|l(o|u)mb\.co|(magnet|torrent)\-to|monetizationking|(musica|musicas)\-gratis|o\-o\-|onlinetvseries|pinkduck\.ga|platezhka|rankings\-|rank(says|sonic)|rednise|responsive\-test|sanjosestartups|scanner\-|^scripted\.|secret.ɢoogle.com|^seo\-|semalt|serving\-sys|sexyali|sharebutton\.to|site\-auditor|sitevaluation|snip\.to|speedup\-|spin20|timer4web|traffic(2cash|\-cash|genius|monetize)|turkeyreport\.tk|uptime(\.com|\-alpha|bot|checker)|video\-|vitaly|w3javascript|website\-(errors|stealer)|wowas
OTHER OBSERVED SPAMMERS
These are not currently filtered out based on their current behavior, but they may need to be added to the exclude source filter if
their behavior changes. To exclude any one of them, you only need to add the most unique part of the string to the filter.
buy-cheap-online.info, e-buyeasy.com, hongfanji.com, hosting-tracker, qualitymarketzone.com, quit-smoking.ga,
santasgift.ml, teedle.co, traffic2cash.net, trafficgenius.xyz, youporn-forum.ga
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment