Sometimes you see trafic spikes in the Google Analytics reports. There are several ways to combat them. Unfortunately there isn’t an option to create a filter and always exclude the spam from the standard reports.
1. Filter from reports
At the top of the leads generation/acquisition reports, below the title there is an [add filter] button. Click that and:
- Dimension: select ‘source’ (sessiebron)
- Searchtype: does not match with regex
- Add a regular expression with the filter, like the below example (max 250 characters).
.* = any character (for subdomains)
\. = backslash to escape the dot in the domain
| = to separate multiple domains - Unfortunately this filter is not saved across sessions.
.*grets\.store|.*leadsgo\.io|.*razas\.site|.*rida\.tokyo|.*seders\.website
2. use explorations (verkennen)
Create a new exploration with a segment that excludes the domains as above. This can be saved for future use, but you can’t apply the filter to standard reports.
3. block sources in .htaccess
Add the following to .htaccess so these sources are blocked from visiting your website and polluting the statistics. This only works for actual traffic coming from these sources. Spammers also have a way to targeting the Analytic API, you can’t block that.
# START Spam referrals verwijderen
# In Google Analytics een custom filter zetten op 'Include hostname' als .*xenonis.nl
# Verder onderstaande in de .htaccess file
# Versie: 16-01-2026
# Updated: 01-03-2026
RewriteEngine on
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*4webmasters\.org/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*adviceforum\.info/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*aliexpress\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*bartikus\.site/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*best-seo-offer\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*best-seo-solution\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*bestwebsitesawards\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*biglistofwebsites\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*buttons-for-website\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*buttons-for-your-website\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*buy-cheap-online\.info/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*clicksor\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*co\.lumb\.co/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*darodar\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*dertus\.site/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*domination\.ml/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*fertuk\.site/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*free-share-buttons\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*get-free-traffic-now\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*googlsucks\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*grets\.store/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*hulfingtonpost\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*kabbalah-red-bracelets\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*leadsgo\.io/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*lumb\.co/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*mantero\.online/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*news\.grets\.store [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*o-o-6-o-o\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*patlik\.site [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*pornhub-forum\.ga/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*razas\.site/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*rida\.tokyo/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*seders\.website/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*semalt\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*simple-share-buttons\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*social-buttons\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*theguardlan\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://([^.]+\.)*wake-up-network\.com [NC]
RewriteRule .* - [F,L]
# END Spam referrals verwijderenCode language: PHP (php)