{"id":1830,"date":"2015-07-10T05:30:02","date_gmt":"2015-07-10T10:30:02","guid":{"rendered":"http:\/\/www.ragesw.com\/blog\/?p=1830"},"modified":"2018-04-10T02:21:05","modified_gmt":"2018-04-10T07:21:05","slug":"how-to-stop-referral-spam-in-google-analytics","status":"publish","type":"post","link":"https:\/\/www.ragesw.com\/blog\/2015\/07\/10\/how-to-stop-referral-spam-in-google-analytics\/","title":{"rendered":"How to Stop Referral Spam in Google Analytics"},"content":{"rendered":"<h2>What is Referral Spam?<\/h2>\n<p>Referral spam is a technique used by spammers to make it seem like you are getting a lot of visitors from their website which entices you to visit their site. This gets more visits to the spammers website.<\/p>\n<p>Although technically harmless to your website, the biggest issue is that referral spam appears in your analytics software, such as Google Analytics, and misrepresents the data in there. It will appear as if you are getting more traffic than you actually are and your conversion rates will be significantly lower.<\/p>\n<p>You can see if you are getting referral spam by doing the following;<\/p>\n<p>&nbsp;<\/p>\n<ol>\n<li>Log\u00a0into your <a href=\"http:\/\/www.google.com\/analytics\" target=\"_blank\">Google Analytics<\/a> account<\/li>\n<li>Go to your website Acquisition-&gt;All Traffic-&gt;Referrals<\/li>\n<li>You can usually identify referral spam because it will come from a domain that either has nothing to do with your website content, or implies it is related to seo, traffic monetization etc&#8230; Referral spam is usually 100% new users, 0% conversion and a very high bounce rate<\/li>\n<\/ol>\n<div id=\"attachment_1838\" style=\"width: 727px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.ragesw.com\/blog\/wp-content\/uploads\/2015\/07\/referral-spam-google-analytics1.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1838\" class=\" wp-image-1838\" src=\"http:\/\/www.ragesw.com\/blog\/wp-content\/uploads\/2015\/07\/referral-spam-google-analytics1.jpg\" alt=\"Referral Spam Example List\" width=\"717\" height=\"280\" srcset=\"https:\/\/www.ragesw.com\/blog\/wp-content\/uploads\/2015\/07\/referral-spam-google-analytics1.jpg 812w, https:\/\/www.ragesw.com\/blog\/wp-content\/uploads\/2015\/07\/referral-spam-google-analytics1-300x117.jpg 300w\" sizes=\"auto, (max-width: 717px) 100vw, 717px\" \/><\/a><p id=\"caption-attachment-1838\" class=\"wp-caption-text\">Referral Spam Example List<\/p><\/div>\n<h2>\nCan Referral Spam be Stopped?<\/h2>\n<p>There are a couple things you can do to help slow down referral spam. However, because these spammers use many different domains and techniques, it does require some maintenance.<\/p>\n<p>You also cannot remove any previous referral spam from your Google Analytics, you can only make sure that in the future you do not see them.<\/p>\n<p>Also, there are so many different domains that spammers may use. In fact there are thousands of domains that may appear in your Google Analytics.<\/p>\n<p>The technique suggested here requires a list of domains so that Google, or your website, know to either not count the traffic as real traffic, or completely block them from accessing your server.<\/p>\n<p>&nbsp;<\/p>\n<h2>How to Stop Referral Spam<\/h2>\n<p>You can stop referral spam by creating a Google Analytics filter which will make sure that when you check your stats in the future, these spam websites won&#8217;t appear in any Google Analytics reports. Unfortunately you won&#8217;t be able to remove them from previous reports with this filter. To do that, you&#8217;ll have to create a Segment which we&#8217;ll have to do another blog post for in the future.<\/p>\n<p>To set up a filter to stop the referral spam, follow the steps;<\/p>\n<ol>\n<li>Log into Google Analytics<\/li>\n<li>Go to your Reports page for your website<\/li>\n<li>Click the Admin tab at the top of your browser<\/li>\n<li>On the next screen select &#8216;All Filters&#8217;<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-1835\" src=\"http:\/\/www.ragesw.com\/blog\/wp-content\/uploads\/2015\/07\/all-filters-google-analytics-300x243.jpg\" alt=\"All Filters\" width=\"300\" height=\"243\" srcset=\"https:\/\/www.ragesw.com\/blog\/wp-content\/uploads\/2015\/07\/all-filters-google-analytics-300x243.jpg 300w, https:\/\/www.ragesw.com\/blog\/wp-content\/uploads\/2015\/07\/all-filters-google-analytics.jpg 308w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/li>\n<li>Then press the &#8216;New Filter&#8217; button<\/li>\n<li><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1834\" src=\"http:\/\/www.ragesw.com\/blog\/wp-content\/uploads\/2015\/07\/new-filters-google-analytics.jpg\" alt=\"New Filter Button\" width=\"159\" height=\"54\" \/><\/li>\n<li>On the next screen you will actually set up your filter. Here are the settings to use;\n<ol>\n<li>Filter Name: Referral Spam<\/li>\n<li>Filter Type: Custom<\/li>\n<li>Exclude: Selected<\/li>\n<li>Filter Field: Campaign Source<\/li>\n<li>Filter Pattern: A list of domains separated by a | character. Do not include http:\/\/ or www. They are only domain names. The list will keep changing as you notice more referral spam from new domains. Here is what I have set up in this screenshot which you can copy and paste into this field;4webmasters.org|trafficmonetize.org|guardlink.org|best-seo-offer.com|howtostopreferralspam.eu|free-social-buttons.com|100dollars-seo.com|webmonetizer.net|erot.co|floating-share-buttons.com\n<div id=\"attachment_1833\" style=\"width: 209px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.ragesw.com\/blog\/wp-content\/uploads\/2015\/07\/referral-spam-filter-list.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1833\" class=\"size-medium wp-image-1833\" src=\"http:\/\/www.ragesw.com\/blog\/wp-content\/uploads\/2015\/07\/referral-spam-filter-list-199x300.jpg\" alt=\"Google Analytics Referral Spam Filters\" width=\"199\" height=\"300\" srcset=\"https:\/\/www.ragesw.com\/blog\/wp-content\/uploads\/2015\/07\/referral-spam-filter-list-199x300.jpg 199w, https:\/\/www.ragesw.com\/blog\/wp-content\/uploads\/2015\/07\/referral-spam-filter-list.jpg 364w\" sizes=\"auto, (max-width: 199px) 100vw, 199px\" \/><\/a><p id=\"caption-attachment-1833\" class=\"wp-caption-text\">Set up your referral filter as shown<\/p><\/div>\n<p>&nbsp;<\/li>\n<\/ol>\n<\/li>\n<li>Lastly select all &#8216;Available Views&#8217; and press the &#8216;Add&#8217; button to add them to the &#8216;Selected Views&#8217; list.\n<div id=\"attachment_1832\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.ragesw.com\/blog\/wp-content\/uploads\/2015\/07\/google-analytics-referral-spam-filter.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1832\" class=\"size-medium wp-image-1832\" src=\"http:\/\/www.ragesw.com\/blog\/wp-content\/uploads\/2015\/07\/google-analytics-referral-spam-filter-300x139.jpg\" alt=\"Google Analytics Referral Spam Filters\" width=\"300\" height=\"139\" srcset=\"https:\/\/www.ragesw.com\/blog\/wp-content\/uploads\/2015\/07\/google-analytics-referral-spam-filter-300x139.jpg 300w, https:\/\/www.ragesw.com\/blog\/wp-content\/uploads\/2015\/07\/google-analytics-referral-spam-filter.jpg 794w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-1832\" class=\"wp-caption-text\">Apply all your filters to your views<\/p><\/div>\n<p>&nbsp;<\/li>\n<li>Now click Save<\/li>\n<\/ol>\n<p>Starting in 24 hours, your new reports will stop showing the domains you have entered in the above steps.<\/p>\n<h2>Blocking the Domains from Accessing your Website<\/h2>\n<p>You can actually block the domains from even accessing your website if you have the knowledge to create a .htaccess file. If you use your own web hosting provider you can create a <a href=\"https:\/\/www.addedbytes.com\/blog\/block-referrer-spam\/\" target=\"_blank\">.htaccess file as described here<\/a>,<\/p>\n<p>For EverWeb + Hosting customers will be adding this feature automatically for you in an upcoming release. Stay tuned for our announcement.<\/p>\n<p>&nbsp;<\/p>\n<p>I hope this post was useful and if you have any questions, be sure to post in the comments below.<\/p>\n<p>&nbsp; <!--codes_iframe--><!--\/codes_iframe--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is Referral Spam? Referral spam is a technique used by spammers to make it seem like you are getting a lot of visitors from their website which entices you to visit their site. This gets more visits to the spammers website. Although technically harmless to your website, the biggest issue is that referral spam [&hellip;]<\/p>\n","protected":false},"author":39,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[252,247,38,2],"tags":[],"class_list":["post-1830","post","type-post","status-publish","format-standard","hentry","category-everweb-software","category-everweb","category-hosting","category-software"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ragesw.com\/blog\/wp-json\/wp\/v2\/posts\/1830","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ragesw.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ragesw.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ragesw.com\/blog\/wp-json\/wp\/v2\/users\/39"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ragesw.com\/blog\/wp-json\/wp\/v2\/comments?post=1830"}],"version-history":[{"count":4,"href":"https:\/\/www.ragesw.com\/blog\/wp-json\/wp\/v2\/posts\/1830\/revisions"}],"predecessor-version":[{"id":3630,"href":"https:\/\/www.ragesw.com\/blog\/wp-json\/wp\/v2\/posts\/1830\/revisions\/3630"}],"wp:attachment":[{"href":"https:\/\/www.ragesw.com\/blog\/wp-json\/wp\/v2\/media?parent=1830"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ragesw.com\/blog\/wp-json\/wp\/v2\/categories?post=1830"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ragesw.com\/blog\/wp-json\/wp\/v2\/tags?post=1830"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}