{"id":3030,"date":"2015-06-30T13:49:24","date_gmt":"2015-06-30T13:49:24","guid":{"rendered":"http:\/\/www.silkstream.net\/blog\/?p=3030"},"modified":"2018-06-27T14:44:30","modified_gmt":"2018-06-27T14:44:30","slug":"how-to-filter-referrer-spam-in-google-analytics","status":"publish","type":"post","link":"https:\/\/www.silkstream.net\/blog\/2015\/06\/how-to-filter-referrer-spam-in-google-analytics.html","title":{"rendered":"How To Filter Referrer Spam in Google Analytics"},"content":{"rendered":"<h2><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3036\" src=\"https:\/\/www.silkstream.net\/blog\/wp-content\/uploads\/2015\/06\/filter-referrer-spam.png\" alt=\"Filter Referrer Spam\" width=\"556\" height=\"280\" \/><\/h2>\n<h2>What is Referrer Spam?<\/h2>\n<p style=\"text-align: justify;\">With smaller websites especially, you may have noticed the huge swarm of annoying referral spam that has been plaguing our Google Analytics in recent months. In fact, if you&#8217;ve just launched a new website and aren&#8217;t yet pushing for much traffic, if you sort your traffic by Bounce Rate, it might look a little like this:<\/p>\n<p style=\"text-align: justify;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3033\" src=\"https:\/\/www.silkstream.net\/blog\/wp-content\/uploads\/2015\/06\/spam-traffic-google-analytics.png\" alt=\"Spam Traffic in Google Analytics\" width=\"550\" height=\"345\" \/><\/p>\n<p style=\"text-align: justify;\">Gross, right? An eighth of the website&#8217;s traffic is from a single spammy website. Just sitting there, screwing up my analytics. Of course, you could exclude them right there and then as you&#8217;re browsing. But they&#8217;ll keep popping up, infecting your data with more fake traffic&#8230; You need to get rid of them once and for all.<\/p>\n<p style=\"text-align: justify;\">Those figures above seem small, but they add up and can skew your website data massively depending on the incoming traffic\u00a0of your website. Giving you the wrong figures for things such as conversation rates, bounce rates, and a whole load of other metrics in addition to just pageviews and visits.<\/p>\n<div style=\"border: 3px dashed #f79239; border-radius: 25px; padding: 10px; margin-bottom: 20px;\">\n<h3 style=\"color: #f79239;\">WARNING!<\/h3>\n<p style=\"padding-left: 60px; text-align: justify;\"><strong>Referrer spam\u00a0can be dangerous.<\/strong> You may see some suspicious referrals coming from websites containing the word &#8220;<strong>blackhat<\/strong>&#8221; or even websites that seem to be offering free tools or services. Recently I&#8217;ve even seen referral spam coming from\u00a0<strong><em>howtostopreferralspam.eu<\/em><\/strong> &#8211;\u00a0<strong>DO NOT VISIT! <\/strong>If you are curious, you can google the website and see what it&#8217;s about from a different source or forum. Website domains may even imitate popular websites using a misspelled variant of the popular domain name, so that you click through to the website to see where your website was mentioned.<\/p>\n<p style=\"padding-left: 60px; text-align: justify;\">The reason these websites exist and are spamming your Google Analytics like this is because <strong>they\u00a0<em>want<\/em> you to visit their website<\/strong>. Whether it&#8217;s to download <strong>adware<\/strong> or <strong>malware<\/strong>, or to show you a whole bunch of ads which make them money. They aren&#8217;t spamming your analytics for fun; it&#8217;s their business.<\/p>\n<p style=\"padding-left: 60px; text-align: justify;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4553\" src=\"https:\/\/www.silkstream.net\/blog\/wp-content\/uploads\/2017\/05\/logo-divider.png\" alt=\"Divider\" width=\"556\" height=\"40\" \/><\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<h2 style=\"text-align: justify;\">How To Filter Referrer\u00a0Spam in Google Analytics Using REGEX<\/h2>\n<p style=\"text-align: justify;\">There are two main types of this Google Analytics spam: the annoying web crawlers which you can block from accessing your website (and therefore your analytics) using .htaccess, and <span style=\"color: #ff6600;\"><strong>ghost referrals<\/strong><\/span>. Ghost referrals don&#8217;t actually visit your website in the first place, so blocking them in your .htaccess will do nothing.<\/p>\n<p style=\"text-align: justify;\"><span style=\"color: #ff6600;\"><strong>This solution will only prevent referral spam from appearing in your Google Analytics.<\/strong><\/span> Annoying, attention-seeking web crawlers will still be able to access your website but\u00a0their visit <em>won&#8217;t<\/em> be\u00a0recorded in Analytics, unless you block them in your .htaccess too.<\/p>\n<h3>1) Create a Master View &#8211; Don&#8217;t create new filters on your main All Website Data view!<\/h3>\n<p style=\"text-align: justify;\">Google highly recommends that webmasters <em>always<\/em>\u00a0maintain one view that collects\u00a0<em>all\u00a0<\/em>website data, with no filters to alter the data. (In fact, this even comes up in the Google Analytics Certification exam that you should always keep one unfiltered view!) This is so that you are always able to have access to all incoming traffic and data, should you need it.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3032\" src=\"https:\/\/www.silkstream.net\/blog\/wp-content\/uploads\/2015\/06\/filter-internal-ip-google-analytics.png\" alt=\"Filter Internal IP and Referrer Spam in Google Analytics\" width=\"437\" height=\"222\" \/><\/p>\n<p style=\"text-align: justify;\">Creating a new &#8220;Master View&#8221; (by which I mean the view that you will most likely be checking everyday) is easy. It&#8217;s as easy as clicking on <span style=\"color: #ff6600;\"><strong>Create new view<\/strong><\/span>, where you will be able to name your view. And that&#8217;s all there is to it. Once you&#8217;ve named your view, it&#8217;s right there for you to do with it what you please. By default, it will just be unfiltered. Filters do not work retroactively, so I recommend creating the filter as soon as you have your view, before any spam gets in.<\/p>\n<h3>2) Create your Fake Referral Spam filter<\/h3>\n<p style=\"text-align: justify;\">In the account&#8217;s Admin, once you have selected your new View, you can click on <span style=\"color: #ff6600;\"><strong>Filters<\/strong><\/span> and\u00a0<span style=\"color: #ff6600;\"><strong>+ New Filter<\/strong><\/span>. Where you will see the<span style=\"color: #ff6600;\"><strong>\u00a0Add Filter To View<\/strong><\/span> page:<\/p>\n<p style=\"text-align: justify;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3039\" src=\"https:\/\/www.silkstream.net\/blog\/wp-content\/uploads\/2015\/06\/add-spam-filter-analytics.png\" alt=\"Add spam filter in Analytics\" width=\"556\" height=\"609\" srcset=\"https:\/\/www.silkstream.net\/blog\/wp-content\/uploads\/2015\/06\/add-spam-filter-analytics.png 556w, https:\/\/www.silkstream.net\/blog\/wp-content\/uploads\/2015\/06\/add-spam-filter-analytics-548x600.png 548w\" sizes=\"auto, (max-width: 556px) 100vw, 556px\" \/><\/p>\n<p style=\"text-align: justify;\">You can name your Filter whatever you want to help you remember what the filter actually does. You want to set your <span style=\"color: #ff6600;\"><strong>Filter Type<\/strong><\/span> to <span style=\"color: #ff6600;\"><strong>Custom<\/strong><\/span>, so that you can <span style=\"color: #ff6600;\"><strong>Exclude<\/strong><\/span> by <span style=\"color: #ff6600;\"><strong>Campaign Source<\/strong><\/span> in the <span style=\"color: #ff6600;\"><strong>Filter Field<\/strong><\/span>.<\/p>\n<p style=\"text-align: justify;\">And then in the Filter Pattern, you can type out or paste in the REGEX pattern to block your spam. The one in this example will block all of the main ones that pop up, so feel free to copy and paste this:<\/p>\n<div style=\"border: 3px dashed #f79239; border-radius: 25px; padding: 10px; margin-bottom: 20px;\">\n<h3 style=\"color: #f79239;\">Fake Referrer Filter REGEX Example:<\/h3>\n<pre style=\"padding-left: 60px;\"><strong>darodar\\.|buttons-for.*?website|blackhatworth|ilovevitaly|prodvigator|cenokos\\.|ranksonic\\.|adcash\\.|share.?buttons\\.|social.?buttons\\.|hulfingtonpost\\.|best-seo-(solution|offer|service)|free.*traffic|buy-cheap-online|100dollars-seo<\/strong><\/pre>\n<h3 style=\"color: #f79239;\">REGEX Tips for Google Analytics Filters:<\/h3>\n<p style=\"padding-left: 60px; text-align: left;\"><strong>.<\/strong> \u00a0 \u00a0<span style=\"color: #ff6600;\">Any character<\/span><br \/>\n<strong>\\<\/strong> \u00a0 \u00a0<span style=\"color: #ff6600;\">Escape following character<\/span><br \/>\n<strong>*<\/strong>\u00a0 \u00a0 <span style=\"color: #ff6600;\">More than 0 of previous character<\/span><br \/>\n<strong>?<\/strong>\u00a0 \u00a0 <span style=\"color: #ff6600;\">1 or 0 of the previous character<br \/>\n<\/span><b>| \u00a0 \u00a0<\/b><span style=\"color: #ff6600;\">&#8220;Or&#8221;<\/span><b><br \/>\n<\/b><strong>() \u00a0 \u00a0<\/strong><span style=\"color: #ff6600;\">Matches group of characters<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4553\" src=\"https:\/\/www.silkstream.net\/blog\/wp-content\/uploads\/2017\/05\/logo-divider.png\" alt=\"Divider\" width=\"556\" height=\"40\" \/><\/p>\n<\/div>\n<p style=\"text-align: justify;\">You can add to or replace the REGEX above with your most common spam referrers. Make sure that every dot (.) has a backslash (\\) in front of it as you literally do mean a . and not &#8220;any character&#8221; as a dot would usually signify in REGEX. The backslash &#8220;escapes&#8221; the following character<\/p>\n<p style=\"text-align: justify;\">If you frequently get hit by any other\u00a0fake referral websites, you should add them in to the pattern or create a new filter to add them in. You may need more than one filter to filter all these websites as there is a <span style=\"color: #ff6600;\"><strong>character limit of 255<\/strong><\/span> for filter patterns.<\/p>\n<h3>3)\u00a0Edit your Fake Referral Spam Filter for any new spam sites<\/h3>\n<p style=\"text-align: justify;\">New websites will in time pop up, and it&#8217;s important to keep on top of this. You can add to or edit your filters whenever you want, or simply create a new one.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3031\" src=\"https:\/\/www.silkstream.net\/blog\/wp-content\/uploads\/2015\/06\/referral-spam-filtered-view.png\" alt=\"Referral Spam Filtered View\" width=\"556\" height=\"601\" srcset=\"https:\/\/www.silkstream.net\/blog\/wp-content\/uploads\/2015\/06\/referral-spam-filtered-view.png 556w, https:\/\/www.silkstream.net\/blog\/wp-content\/uploads\/2015\/06\/referral-spam-filtered-view-555x600.png 555w\" sizes=\"auto, (max-width: 556px) 100vw, 556px\" \/><\/p>\n<h2 style=\"text-align: justify;\">Spam Referrers to Filter:<\/h2>\n<p>There are too many to list&#8230; but these guys seem to pop up the most!<\/p>\n<div style=\"width: 100%; display: inline-block;\">\n<ul style=\"float: left; width: 50%; margin: 0px; padding: 0px;\">\n<li>buttons-for-website.com<\/li>\n<li>buttons-for-your-website.com<\/li>\n<li>darodar.com<\/li>\n<li>priceg.com<\/li>\n<li>blackhatworth.com<\/li>\n<li>hulfingtonpost.com<\/li>\n<li>bestwebsitesawards.com<\/li>\n<li>o-o-6-o-o.com<\/li>\n<li>ilovevitaly.com<\/li>\n<li>semaltmedia.com<\/li>\n<\/ul>\n<ul style=\"float: left; width: 50%; margin: 0px; padding: 0px;\">\n<li>free-share-buttons.com<\/li>\n<li>social-buttons.com<\/li>\n<li>best-seo-solution.com<\/li>\n<li>best-seo-offer.com<\/li>\n<li>Get-Free-Traffic-Now.com<\/li>\n<li>googlsucks.com<\/li>\n<li>theguardlan.com<\/li>\n<li>100dollars-seo.com<\/li>\n<li>howtostopreferralspam.eu<\/li>\n<li>sitevaluation.org<\/li>\n<li>free-social-buttons.com<\/li>\n<\/ul>\n<\/div>\n<p style=\"text-align: justify;\">As you can see, these referrer spam domain names often tend to\u00a0disguise themselves as popular websites (e.g. hulfingtonpost.com and theguardlan.com) making you think that one of the top names in the media industry has linked to you somewhere, and encouraging you to click through to see where you were linked from. Or they make you think as if you&#8217;ve won some sort of website award so you want to see what award you&#8217;ve won (e.g. bestwebsitesawards.com). But most of the time, the domain name tries to offer you something for &#8220;free&#8221; or something that is the &#8220;best&#8221; (such as SEO, traffic, social sharing buttons, or some other tool or service).<\/p>\n<p style=\"text-align: justify;\">There&#8217;s a <a href=\"https:\/\/perishablepress.com\/blacklist\/ultimate-referrer-blacklist.txt\" target=\"_blank\" rel=\"noopener noreferrer\">huge blacklist<\/a> available to help you block known spammy HTTP referrers in your .htaccess too. Of which you can select which ones to filter in your analytics or whatever. For obvious reasons, some of the URLs on that list are a bit&#8230; NSFW perhaps. Also, be warned that you should NOT, under any circumstances, just copy and paste the whole thing into your website&#8217;s .htaccess. But don&#8217;t forget: this will only affect the referrer spambots that actually visit the website. Not the ghost referral bots.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\nWhat is Referrer Spam?<br \/>\nWith smaller websites especially, you may have noticed the huge swarm of annoying referral spam that has been plaguing our <\/p>\n","protected":false},"author":7,"featured_media":3037,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-3030","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How To Filter Referrer Spam in Google Analytics - Silkstream<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silkstream.net\/blog\/2015\/06\/how-to-filter-referrer-spam-in-google-analytics.html\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Filter Referrer Spam in Google Analytics - Silkstream\" \/>\n<meta property=\"og:description\" content=\"What is Referrer Spam? With smaller websites especially, you may have noticed the huge swarm of annoying referral spam that has been plaguing our\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silkstream.net\/blog\/2015\/06\/how-to-filter-referrer-spam-in-google-analytics.html\" \/>\n<meta property=\"og:site_name\" content=\"Silkstream\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/silkstream\" \/>\n<meta property=\"article:published_time\" content=\"2015-06-30T13:49:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-06-27T14:44:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.silkstream.net\/blog\/wp-content\/uploads\/2015\/06\/referrer-spam-filter.png\" \/>\n\t<meta property=\"og:image:width\" content=\"278\" \/>\n\t<meta property=\"og:image:height\" content=\"278\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ria\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@RiaLolwut\" \/>\n<meta name=\"twitter:site\" content=\"@silkstreamnet\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ria\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.silkstream.net\\\/blog\\\/2015\\\/06\\\/how-to-filter-referrer-spam-in-google-analytics.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.silkstream.net\\\/blog\\\/2015\\\/06\\\/how-to-filter-referrer-spam-in-google-analytics.html\"},\"author\":{\"name\":\"Ria\",\"@id\":\"https:\\\/\\\/www.silkstream.net\\\/blog\\\/#\\\/schema\\\/person\\\/1516b66b9d6da001d8052655282481b1\"},\"headline\":\"How To Filter Referrer Spam in Google Analytics\",\"datePublished\":\"2015-06-30T13:49:24+00:00\",\"dateModified\":\"2018-06-27T14:44:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.silkstream.net\\\/blog\\\/2015\\\/06\\\/how-to-filter-referrer-spam-in-google-analytics.html\"},\"wordCount\":1155,\"commentCount\":5,\"image\":{\"@id\":\"https:\\\/\\\/www.silkstream.net\\\/blog\\\/2015\\\/06\\\/how-to-filter-referrer-spam-in-google-analytics.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.silkstream.net\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/06\\\/referrer-spam-filter.png\",\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.silkstream.net\\\/blog\\\/2015\\\/06\\\/how-to-filter-referrer-spam-in-google-analytics.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.silkstream.net\\\/blog\\\/2015\\\/06\\\/how-to-filter-referrer-spam-in-google-analytics.html\",\"url\":\"https:\\\/\\\/www.silkstream.net\\\/blog\\\/2015\\\/06\\\/how-to-filter-referrer-spam-in-google-analytics.html\",\"name\":\"How To Filter Referrer Spam in Google Analytics - Silkstream\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.silkstream.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.silkstream.net\\\/blog\\\/2015\\\/06\\\/how-to-filter-referrer-spam-in-google-analytics.html#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.silkstream.net\\\/blog\\\/2015\\\/06\\\/how-to-filter-referrer-spam-in-google-analytics.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.silkstream.net\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/06\\\/referrer-spam-filter.png\",\"datePublished\":\"2015-06-30T13:49:24+00:00\",\"dateModified\":\"2018-06-27T14:44:30+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.silkstream.net\\\/blog\\\/#\\\/schema\\\/person\\\/1516b66b9d6da001d8052655282481b1\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.silkstream.net\\\/blog\\\/2015\\\/06\\\/how-to-filter-referrer-spam-in-google-analytics.html#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.silkstream.net\\\/blog\\\/2015\\\/06\\\/how-to-filter-referrer-spam-in-google-analytics.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.silkstream.net\\\/blog\\\/2015\\\/06\\\/how-to-filter-referrer-spam-in-google-analytics.html#primaryimage\",\"url\":\"https:\\\/\\\/www.silkstream.net\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/06\\\/referrer-spam-filter.png\",\"contentUrl\":\"https:\\\/\\\/www.silkstream.net\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/06\\\/referrer-spam-filter.png\",\"width\":278,\"height\":278},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.silkstream.net\\\/blog\\\/2015\\\/06\\\/how-to-filter-referrer-spam-in-google-analytics.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.silkstream.net\\\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Filter Referrer Spam in Google Analytics\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.silkstream.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.silkstream.net\\\/blog\\\/\",\"name\":\"Silkstream\",\"description\":\"Here you&#039;ll find the latest blogs, white papers and case studies from Silkstream experts.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.silkstream.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.silkstream.net\\\/blog\\\/#\\\/schema\\\/person\\\/1516b66b9d6da001d8052655282481b1\",\"name\":\"Ria\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/dad9acd650d88d7fd9c7e2b77f38d25ec2c921eb7efb622d785820719d8a75df?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/dad9acd650d88d7fd9c7e2b77f38d25ec2c921eb7efb622d785820719d8a75df?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/dad9acd650d88d7fd9c7e2b77f38d25ec2c921eb7efb622d785820719d8a75df?s=96&d=mm&r=g\",\"caption\":\"Ria\"},\"description\":\"SEO &amp; Internet Marketing addict, and aspiring crazy cat lady.\",\"sameAs\":[\"http:\\\/\\\/www.silkstream.net\",\"https:\\\/\\\/x.com\\\/RiaLolwut\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Filter Referrer Spam in Google Analytics - Silkstream","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silkstream.net\/blog\/2015\/06\/how-to-filter-referrer-spam-in-google-analytics.html","og_locale":"en_GB","og_type":"article","og_title":"How To Filter Referrer Spam in Google Analytics - Silkstream","og_description":"What is Referrer Spam? With smaller websites especially, you may have noticed the huge swarm of annoying referral spam that has been plaguing our","og_url":"https:\/\/www.silkstream.net\/blog\/2015\/06\/how-to-filter-referrer-spam-in-google-analytics.html","og_site_name":"Silkstream","article_publisher":"https:\/\/www.facebook.com\/silkstream","article_published_time":"2015-06-30T13:49:24+00:00","article_modified_time":"2018-06-27T14:44:30+00:00","og_image":[{"width":278,"height":278,"url":"https:\/\/www.silkstream.net\/blog\/wp-content\/uploads\/2015\/06\/referrer-spam-filter.png","type":"image\/png"}],"author":"Ria","twitter_card":"summary_large_image","twitter_creator":"@RiaLolwut","twitter_site":"@silkstreamnet","twitter_misc":{"Written by":"Ria","Estimated reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.silkstream.net\/blog\/2015\/06\/how-to-filter-referrer-spam-in-google-analytics.html#article","isPartOf":{"@id":"https:\/\/www.silkstream.net\/blog\/2015\/06\/how-to-filter-referrer-spam-in-google-analytics.html"},"author":{"name":"Ria","@id":"https:\/\/www.silkstream.net\/blog\/#\/schema\/person\/1516b66b9d6da001d8052655282481b1"},"headline":"How To Filter Referrer Spam in Google Analytics","datePublished":"2015-06-30T13:49:24+00:00","dateModified":"2018-06-27T14:44:30+00:00","mainEntityOfPage":{"@id":"https:\/\/www.silkstream.net\/blog\/2015\/06\/how-to-filter-referrer-spam-in-google-analytics.html"},"wordCount":1155,"commentCount":5,"image":{"@id":"https:\/\/www.silkstream.net\/blog\/2015\/06\/how-to-filter-referrer-spam-in-google-analytics.html#primaryimage"},"thumbnailUrl":"https:\/\/www.silkstream.net\/blog\/wp-content\/uploads\/2015\/06\/referrer-spam-filter.png","articleSection":["Tutorials"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.silkstream.net\/blog\/2015\/06\/how-to-filter-referrer-spam-in-google-analytics.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.silkstream.net\/blog\/2015\/06\/how-to-filter-referrer-spam-in-google-analytics.html","url":"https:\/\/www.silkstream.net\/blog\/2015\/06\/how-to-filter-referrer-spam-in-google-analytics.html","name":"How To Filter Referrer Spam in Google Analytics - Silkstream","isPartOf":{"@id":"https:\/\/www.silkstream.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.silkstream.net\/blog\/2015\/06\/how-to-filter-referrer-spam-in-google-analytics.html#primaryimage"},"image":{"@id":"https:\/\/www.silkstream.net\/blog\/2015\/06\/how-to-filter-referrer-spam-in-google-analytics.html#primaryimage"},"thumbnailUrl":"https:\/\/www.silkstream.net\/blog\/wp-content\/uploads\/2015\/06\/referrer-spam-filter.png","datePublished":"2015-06-30T13:49:24+00:00","dateModified":"2018-06-27T14:44:30+00:00","author":{"@id":"https:\/\/www.silkstream.net\/blog\/#\/schema\/person\/1516b66b9d6da001d8052655282481b1"},"breadcrumb":{"@id":"https:\/\/www.silkstream.net\/blog\/2015\/06\/how-to-filter-referrer-spam-in-google-analytics.html#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silkstream.net\/blog\/2015\/06\/how-to-filter-referrer-spam-in-google-analytics.html"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.silkstream.net\/blog\/2015\/06\/how-to-filter-referrer-spam-in-google-analytics.html#primaryimage","url":"https:\/\/www.silkstream.net\/blog\/wp-content\/uploads\/2015\/06\/referrer-spam-filter.png","contentUrl":"https:\/\/www.silkstream.net\/blog\/wp-content\/uploads\/2015\/06\/referrer-spam-filter.png","width":278,"height":278},{"@type":"BreadcrumbList","@id":"https:\/\/www.silkstream.net\/blog\/2015\/06\/how-to-filter-referrer-spam-in-google-analytics.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.silkstream.net\/blog"},{"@type":"ListItem","position":2,"name":"How To Filter Referrer Spam in Google Analytics"}]},{"@type":"WebSite","@id":"https:\/\/www.silkstream.net\/blog\/#website","url":"https:\/\/www.silkstream.net\/blog\/","name":"Silkstream","description":"Here you&#039;ll find the latest blogs, white papers and case studies from Silkstream experts.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.silkstream.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.silkstream.net\/blog\/#\/schema\/person\/1516b66b9d6da001d8052655282481b1","name":"Ria","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/dad9acd650d88d7fd9c7e2b77f38d25ec2c921eb7efb622d785820719d8a75df?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/dad9acd650d88d7fd9c7e2b77f38d25ec2c921eb7efb622d785820719d8a75df?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/dad9acd650d88d7fd9c7e2b77f38d25ec2c921eb7efb622d785820719d8a75df?s=96&d=mm&r=g","caption":"Ria"},"description":"SEO &amp; Internet Marketing addict, and aspiring crazy cat lady.","sameAs":["http:\/\/www.silkstream.net","https:\/\/x.com\/RiaLolwut"]}]}},"_links":{"self":[{"href":"https:\/\/www.silkstream.net\/blog\/wp-json\/wp\/v2\/posts\/3030","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silkstream.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silkstream.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silkstream.net\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silkstream.net\/blog\/wp-json\/wp\/v2\/comments?post=3030"}],"version-history":[{"count":11,"href":"https:\/\/www.silkstream.net\/blog\/wp-json\/wp\/v2\/posts\/3030\/revisions"}],"predecessor-version":[{"id":5176,"href":"https:\/\/www.silkstream.net\/blog\/wp-json\/wp\/v2\/posts\/3030\/revisions\/5176"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.silkstream.net\/blog\/wp-json\/wp\/v2\/media\/3037"}],"wp:attachment":[{"href":"https:\/\/www.silkstream.net\/blog\/wp-json\/wp\/v2\/media?parent=3030"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silkstream.net\/blog\/wp-json\/wp\/v2\/categories?post=3030"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silkstream.net\/blog\/wp-json\/wp\/v2\/tags?post=3030"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}