How To Stop Google Analytics Referral Spam – Use Filters + Segments To Clean Up Reports

Google analytics “referral” spam is a accepted botheration with webmasters – generally seeing 100′s of visitors from assorted sources, alone to apprehend the majority of them are either affected or illegal.

Whilst it’s difficult to “block” this cartage through your website (and you’d charge to do this through your web hosting software), it’s almost simple to get rid of it from your Google Analytics reports.

To do this, there are two appearance you charge to use. The aboriginal is the “Filters” affection of GA. This allows you to abolish any approaching affected barometer cartage from your reports. The additional is the “Segments” affection – which basically allows you to abolish the assorted “fake” spam visitors from your accepted reports.

The afterward will explain how to do this properly…


The majority of “SPAM” cartage comes from bots. These are well-documented (they’re accepted as barometer spam, log spam or referrer bombing) – and basically plan by the spammer sending affected requests to a website in the achievement that their barometer advice (typically including some array of commercial message) will be republished by the ambition website. The convenance is frequently associated with spam farms and affected virus creators. Unfortunately, it’s decidedly accustomed with Google Analytics users (where the spammer may not even admission the ambition site).


1. Filters

The aboriginal footfall is to use the “Filters” affection to abolish approaching barometer spam from your analytics profile. This is alone accessible if you’re application the new “gtag.js” Javascript accoutrement (as against to the earlier “analytics.js” widget).

The bureaucracy of “filters” is simple:

  • Bang assimilate “Admin” (left) figure (it’s a baby “cog” figure at the basal larboard of the screen)
  • On the awning which shows, bang “All Filters” from the left-most column
  • When the filters show, you’ll be able to add the ones you need

You charge to add several filters – firstly to ensure that any added “spam” sites are not sending accidental barometer cartage to your sites; secondly, to ambition specific sites which may be sending barometer spam…

  1. Bang “+ Add Filter”
  2. Add the area name that’s sending the affected cartage to the “name” box
  3. For “Filter Type”, baddest “Custom”
  4. From the bullet-points, baddest “Exclude”
  5. Baddest “Campaign Source” and again blazon the area that’s sending affected cartage into the box provided
  6. Apply it to as abounding angle as you charge (we just add it to all views)
  7. Bang “Save”

This will abolish the affected cartage from the specific domains listed in your filter.

However, you aswell charge to add a amount of added filters to get rid of the swathes of affected cartage biting the net.

These are from “standardized” affected websites, which agency you’ll charge to add several of them in adjustment to get rid of the majority of affected cartage from your approaching reports:

  • Bang “+ Add Filter”
  • Add the name “Spam1″ to the “name” box
  • Baddest “Custom” from the options box and from the “Filter Field”, baddest “Campaign Source”
  • Into the ascribe box, blazon the following:
  • dailyrank|100dollars-SEO|semalt|anticrawler|sitevaluation|buttons-for-website|buttons-for-your-website|-musicas*-gratis|best-SEO-offer|best-SEO-solution|savetubevideo|ranksonic|offers.bycontext|7makemoneyonline|kambasoft|medispainstitute

This removes the better amount of “fake” websites that about flood the “referrals” letters on Analytics. Whilst not essential, it will ensure that your letters abide as honest as possible.

2. Segments

The additional footfall is to add a “No Spam” articulation to your views.

Whilst this doesn’t abolish the assorted letters from your system, it does ensure that you’re not seeing the assorted spam websites in your cartage reports.

Doing this is simple:

  • Bang assimilate any “property” for which you’re tracking cartage etc
  • At the top, you’ll see a accumbent annual of “segments” (which are acclimated to actuate absolutely which blazon of visitors you ambition to see)
  • From the list, baddest the “All Users” (or whichever one is selected) segment
  • The “segment” administration console will load
  • Bang “+ New Segment”

This will accompany up a console from which you’re able to clarify the present abstracts aural your Analytics account.

To set it up properly, you charge to accept the following:

  • Give the articulation a name (we use “No Spam”)
  • From the larboard menu, baddest “Advanced/Conditions”
  • This will accompany up a console from which you’re able to add the assorted cartage sources to block
  • From here, baddest the following:
  • Sessions > Exclude (this excludes any akin abstracts from your reports)
  • Source > matches regex (this allows you to ascertain one – or assorted – domains to block
  • Add the area that’s sending affected cartage into the ascribe box: “”

If you charge added sites blocked, just bang “OR” from the basal appropriate of that little box, and add addition “Source” (as listed above).

This should abolish that blazon of cartage from your reports. It’s aswell able to be added to all your sites/views, authoritative it actual simple to change it all from a individual panel.

Doing this will abolish firstly any affected cartage from your annual – but aswell abolish any absolute cartage at the aforementioned time.

We’ve begin that the acceleration of bots has become prolific. Whilst it’s almost simple to resolve, you charge to be abiding that you’re able to accurately absolve your abstracts of the apparition traffic. The aloft does that.

– Top Web Hosting

Updated: —
Frontier Theme