{"id":23229,"date":"2019-07-15T08:50:41","date_gmt":"2019-07-15T13:50:41","guid":{"rendered":"https:\/\/www.hostgator.com\/blog\/?p=23229"},"modified":"2019-07-10T15:10:23","modified_gmt":"2019-07-10T20:10:23","slug":"filter-spam-bots-in-google-analytics","status":"publish","type":"post","link":"https:\/\/www.hostgator.com\/blog\/filter-spam-bots-in-google-analytics\/","title":{"rendered":"How to Filter Spam Bots in Google Analytics [Step by Step Guide]"},"content":{"rendered":"\n<p>You know <a href=\"https:\/\/www.hostgator.com\/blog\/why-use-google-analytics\/\">how valuable Google Analytics is<\/a> and you\u2019re ready to take all the insights it can offer to improve your website\u2019s performance. <\/p>\n\n\n\n<p>But as you pull up the <em>Acquisition<\/em> data to see how people are finding your website, you notice some strange entries.&nbsp;<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/vI8-XfzOM3EKHGPodvvA3tvTr9QAJbhx9hSSfQu4CtmDlB2G3qYZuYxh6qDLudgvgEtyp3JZdw3DQv3O3vchyKqpZRNFadcQkZb5SGEbW-w59oc3JXlDBKt4IH6R9pVcdOxG01jm\" alt=\"spam traffic in google analytics\"\/><\/figure><\/div>\n\n\n\n<p>Chances are, this means that you\u2019ve become a victim of spam bots.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/www.hostgator.com\/managed-wordpress-hosting\"><img loading=\"lazy\" decoding=\"async\" width=\"470\" height=\"60\" src=\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2017\/12\/Wordpress.png\" alt=\"best WordPress hosting\" class=\"wp-image-18313\" srcset=\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2017\/12\/Wordpress.png 470w, https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2017\/12\/Wordpress-300x38.png 300w\" sizes=\"(max-width: 470px) 100vw, 470px\" \/><\/a><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">What Is Google Analytics Referral Spam?<\/h2>\n\n\n\n<p>Spammers will do anything to drive more traffic to their websites. One of the tactics they\u2019ve employed to this effect is finding ways to show up in Google Analytics, hoping that website owners will click on a site to see why it\u2019s sending traffic their way. <\/p>\n\n\n\n<p>Google Analytics referral spam used to be much more common, but Google works hard to keep those spammy sites from showing up in your data.<\/p>\n\n\n\n<p>Nonetheless, many websites will still see some results in their Google Analytics data produced by spam bots. If you care about getting accurate data about your website\u2019s performance-and you should, because it\u2019s the only way to understand what\u2019s working-then you need to filter spam bots in Google Analytics.&nbsp;<\/p>\n\n\n\n<p>Here\u2019s a handy guide on how to do just that.&nbsp;&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Filter Spam Bots from Your Google Analytics Results<\/h2>\n\n\n\n<p>There are two main types of filters you should set up to capture most referral spam from bots. For both, you have the same first few steps.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Getting Started<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">1. Keep an unfiltered view.<\/h4>\n\n\n\n<p>When you make any technical change, you always want to have a backup. In Google Analytics, that means keeping an <strong>unfiltered view<\/strong>. This provides you with data you can use for comparison with the filtered results you get, to make sure they\u2019re working. And it provides you with a view you can revert back to if one of your filters doesn\u2019t work right.<\/p>\n\n\n\n<p>To do this, go to the <em>Admin<\/em> section in Google Analytics by clicking on the Gear icon in the bottom left corner. Click on <em>View Settings <\/em>in the third column.&nbsp;<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/ySPmIoKGQnIMdNPved7EenPQtNe1cbQPjiaAj-3RDZx9pnoHxCiqjgY-bdhnx6zbgyya4rL4c5FcuM2d8P4FFQ2IFgRvdtgzOmCQ_X-fW4B0lmVfj_AcZSodaI8iZl1MtnRm_8qF\" alt=\"settings view of google analytics admin\"\/><\/figure><\/div>\n\n\n\n<p>Click on <em>Copy View,<\/em> then name your view <em>Unfiltered<\/em>, or something similar.&nbsp;&nbsp;<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/8eQNNPXRZXdhK4WuID0-6EtCmownwsWcfezvG3K-djVFwTIAuwfEFhLcmIh99OUMiFd3Hyf7kKAw7i985Rr7ii2Zb8Ag2HRRdwLKrtCdGfv8VTWdrHqG7oxiUJ_sIdaC9CDDYb7n\" alt=\"set up unfiltered view in google analytics\"\/><\/figure><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">2. Click on Filters under the View column.<\/h4>\n\n\n\n<p>With that done, go back to main <em>Admin<\/em> page by either clicking the back icon or the gear icon again. Click <em>Filters<\/em> in the <em>View<\/em> section (Note: this is different than <em>All Filters<\/em> in the <em>Account<\/em> section).<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/S4ba6Bas-Z9UWXI6ERbgS37guxu4l4VBhh4dM8w9oCWEZD8U4ltWvdV40T3ptW2xsSlr4Hu6SP-PK5PQWEmpz38CKl7x36k4NW4neWywMIbmZkzf2el6Jgt5Nh5_JFkC7R9QJBpj\" alt=\"google analytics admin filters view\"\/><\/figure><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">3. <strong>Click +Add Filter.&nbsp;<\/strong><\/h4>\n\n\n\n<p>Click the red &#8220;+add filter&#8221; button. Then move onto the next section for the specific filters to create.&nbsp;<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/owfp1dtdHs7rKdfz6d2ZHPfhLhfVTZTNQ8mMRv2r9CwzJRRP5e36kr60P-wob8zo5WwPmPmyW1B5YaESwm6i0R2P2Wpgx1cUGY9yz_gGLGJ4xc505OO5NZ0MqB6uxESHSzPJWSHO\" alt=\"add filter in google analytics\"\/><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">2 Google Analytics Filters to Set Up<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Valid Hostname Filter<\/h4>\n\n\n\n<p>A <strong>valid hostname filter<\/strong> is the best way to filter out ghost spam. These are the spam bots that manage to ping your Google Analytics without ever actually visiting your website. Ghost spammers use automated scripts to send traffic to random websites, usually using a fake host. <\/p>\n\n\n\n<p>By telling Google Analytics how to recognize a valid host, this type of filter cuts the ghost spam from your analytics view.&nbsp;&nbsp;<\/p>\n\n\n\n<p><strong>1. Find your hostnames in Google Analytics.&nbsp;<\/strong><\/p>\n\n\n\n<p>A valid hostname is anywhere that you\u2019ve legitimately set up Google Analytics tracking. That includes your website, most obviously, but also services like marketing tools you use and payment gateways.<\/p>\n\n\n\n<p>You can find a hostname report in Google Analytics in the <em>Audience<\/em> section by selecting <em>Technology<\/em>, then <em>Network<\/em>. Select <em>Hostname<\/em> as your <em>Primary Dimension<\/em>.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/LhXR0GsbLK4iRJhIY9c9YH_aTJ0UrqH7XIPKs_-tnD_gnoxvVpDEpLJ1a-EHNi9eCMIE0BiQkediTQr-XxBXbkS3_dsVNW0LQm72eniq2kStvK6WQu96owaclr6HYIWURxL23FYv\" alt=\"find hostnames in google analytics\"\/><\/figure><\/div>\n\n\n\n<p>Set your date range to go back at least a year. Scan the list to identify your valid hostnames. You should be able to recognize these as your own domain name, and any tools you use and knowingly allowed access to your Google Analytics tracking. Anything you don\u2019t recognize or don\u2019t manage yourself is probably spam.&nbsp;<\/p>\n\n\n\n<p>If there\u2019s an entry you\u2019re not sure about, do some Googling. For example, Google Web Light isn\u2019t something I manage directly, but it\u2019s a service Google provides to load speedier pages on mobile devices with slow connections. That makes it legit.&nbsp;<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/ecwLieaoXB7YGdfqx_zYmN1tHYbM_LdoKCw9TPydN4djaQarFC9Q3k3cYbLDCVWo2jzbv2kKGKKpB8VxRb0NoecTWNjHgYvPyXOKOm1mrx2wXa0LIuoQ_VFWCTtXVFAwvnxC0dAF\" alt=\"example of spam vs. non-spam traffic in google analytics\"\/><\/figure><\/div>\n\n\n\n<p><strong>2. Create a filter listing your hostnames.<\/strong><\/p>\n\n\n\n<p>Back over in our <em>Add Filter<\/em> screen (scroll back up to the Getting Started section if you need a reminder), name the filter something like &#8220;Valid Hostnames.&#8221; Select <em>Custom<\/em> under <em>Filter Types<\/em>, <em>Include<\/em> in the list of bullets below that, and <em>Hostname<\/em> from the dropdown menu.&nbsp;<\/p>\n\n\n\n<p>Under <em>Filter<\/em> Pattern, list all your valid hostnames in this format:<\/p>\n\n\n\n<p style=\"text-align:center\"><em>yourdomain.com|hostname2|hostname3|hostname4&nbsp;<\/em><\/p>\n\n\n\n<p>You want to fit all of your valid hostnames into one filter here-you can\u2019t create more than one filter that includes hostnames.&nbsp;<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/dcN2PE2p-cw6PP8DDIll8debgOswNMEfyg6-u7bMpQrTZuxDSZ-a2Be0KrO4azX0sfgw6z4GWG74dAbIR9u7_PKO9lwECy0tJ6-jmZytnK3BPe_2vL6-WG94NKqmYomSkhoRHDkS\" alt=\"create google analytics filter for hostnames\"\/><\/figure><\/div>\n\n\n\n<p><strong>3. Test your filter.&nbsp;<\/strong><\/p>\n\n\n\n<p>Before you click save, take a few seconds to test the filter out and make sure you configured it right. You can use the <em>Verify Filter<\/em> option right there on the page to run a basic test and see how the filter would affect your data for the past 7 days. Note that, if your website doesn\u2019t currently get that many spam hits, 7 days might not be enough of a sample set to show a difference.<\/p>\n\n\n\n<p>Once you\u2019re confident your filter is accurate, click <em>Save<\/em>.&nbsp;<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Crawler Spam Filter<\/h4>\n\n\n\n<p>The other main category of spam bots that show up in Google Analytics is <strong>crawler spam<\/strong>. These are bots that actually do visit your site. They leave a correct hostname, so won\u2019t get caught in your valid hostname filter. Instead, you need to exclude these from your analytics.&nbsp;<\/p>\n\n\n\n<p><strong>1. Find the crawler spam in your analytics.<\/strong><\/p>\n\n\n\n<p>To start, identify the crawler spam that shows up in your analytics now. In the <em>Acquisition<\/em> menu, choose <em>All Traffic<\/em>, then <em>Referrals<\/em>. Change your date range to include at least a year. Now browse the list of websites to look for any that appear to be spammy.&nbsp;<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh4.googleusercontent.com\/SAAXqBkMsO25oNUAUpKmaogcDdz25XQQKINldDkDWweoEbGNtwoIsuUZGiWV35ENLpsB0krBfNJxSbRBIb028z776QsGpxq7QWpl8fpfpFYizOSImPUIAeyf7QoqNNIn2ICKvZ8Z\" alt=\"find crawler spam in google analytics traffic\"\/><\/figure><\/div>\n\n\n\n<p>Some will look immediately suspicious. For example, <em>display-your-ads-hereti.info<\/em> jumps out in the list above as probably spam. But for anything you\u2019re not sure about, do a Google search for 'what is &lt;URL&gt;'\u009d and you can usually get your answer for whether or not it\u2019s spam.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh5.googleusercontent.com\/VGtKobMpH10-OPHU_RL0bdpa_I2K-Pep3iJfMR1bwhaZK94tWvytea2KHWYMFF7ZlqOgCUyug5B2iaXhhQ5uc9MF5hAUc5aVsNC-xg5WFVQwIxE_QS_byAACUWtv8Xhh2Y7S2rkM\" alt=\"search for spam bot traffic in google\"\/><\/figure><\/div>\n\n\n\n<p>If the list here is long, it\u2019s probably not worth your time to try and filter out every single spam bot, but if there are a main few sending a lot of fake traffic to your site, make note of them to include in your filter.&nbsp;&nbsp;<\/p>\n\n\n\n<p><strong>2. Look up common crawler spam lists.<\/strong><\/p>\n\n\n\n<p>In addition to the spam examples you find in your own analytics, you can find pre-created filters that list many of the most common offenders on sites around the web (such as <a href=\"https:\/\/carloseo.com\/removing-google-analytics-spam\/#crawler-expressions\">here<\/a> and <a href=\"https:\/\/www.wholewhale.com\/tips\/simple-guide-to-filtering-spam-in-google-analytics\/\">here<\/a>). These will cover many of the spam bots that may not have hit your website yet, but could.&nbsp;<\/p>\n\n\n\n<p><strong>3. Create a filter (or multiple filters) listing the crawler spam.<\/strong><\/p>\n\n\n\n<p>Back in our <em>Add Filter<\/em> screen, name your filter something like &#8220;Referral Spam.&#8221; Choose <em>Custom<\/em> as your Filter type, click on the <em>Exclude<\/em> button, and select <em>Campaign Source<\/em> in the dropdown menu.&nbsp;<\/p>\n\n\n\n<p>For the pre-created filters you find, you can simply copy-and-paste them into your Google Analytics. For any you manually create, use the same format you did for your hostname filter:<\/p>\n\n\n\n<p style=\"text-align:center\"><em>Spamname|spamname2|spamname3<\/em><\/p>\n\n\n\n<p>Since you have a limited number of characters you can use for each filter, you\u2019ll likely be creating several different filters in this step. Be sure to give them each a unique name.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/UhL7L0aEbRrCJV4pTXzLKCYKHYyYqL1nA3oy4xeViLsfJXkf4gNWM_OPzI_JbzOPbacoCjVnurxZaXyNTUhAQw3IUAuDza2HtpGPmyhDoVHwE4ODT5or5zvym3txFwJ2dAU_TT7a\" alt=\"create google analytics filter for crawler spam\"\/><\/figure><\/div>\n\n\n\n<p><strong>4. Test your filter.<\/strong><\/p>\n\n\n\n<p>For each filter you create, take a minute to test it. If you\u2019re satisfied it\u2019s accurate, click <em>Save<\/em>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Filtering Spam Bots on a WordPress Site<\/h2>\n\n\n\n<p>Setting up filters within Google Analytics can feel pretty complicated. But if you have <a href=\"https:\/\/www.hostgator.com\/blog\/add-google-analytics-wordpress-website\/\">Google Analytics set up<\/a> for your WordPress website, you have an easier solution you can take advantage of: plugins.&nbsp;<\/p>\n\n\n\n<p>There are a number of WordPress plugins devoted to blocking referral spam, including:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/wordpress.org\/plugins\/block-referer-spam\/\">Block Referrer Spam<\/a><\/li><li><a href=\"https:\/\/wordpress.org\/plugins\/spamreferrerblock\/\">SpamReferrerBlock<\/a><\/li><li><a href=\"https:\/\/wordpress.org\/plugins\/wp-block-referrer-spam\/\">WP Block Referrer Spam<\/a><\/li><li><a href=\"https:\/\/wordpress.org\/plugins\/stop-referrer-spam\/\">Stop Referrer Spam<\/a><\/li><\/ul>\n\n\n\n<p>You can block a significant amount of spam from your analytics simply by choosing one of these plugins, installing it to your WordPress site, and activating it.&nbsp;<\/p>\n\n\n\n<p>If you\u2019re not on WordPress now, but liking the idea of a simpler process for filtering spam bots, the first step to setting up a WordPress site is investing in <a href=\"https:\/\/www.hostgator.com\/managed-wordpress-hosting\">WordPress hosting<\/a>. Many aspects of designing, managing, and maintaining a website are easier with WordPress, so for website owners without extensive tech skills, it\u2019s worth considering.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Google Analytics Spam Bots FAQs<\/h2>\n\n\n\n<p>Those are the main steps you need to know to filter spam bots in your Google Analytics. But if you still have questions about Google Analytics spam bots, here are answers to some of the most common questions people wonder about.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. How do I detect spam in Google Analytics?<\/h3>\n\n\n\n<p>First things first, don\u2019t click on the link! If you visit the website itself, the spammers are getting what they want from their shady tactics.&nbsp;<\/p>\n\n\n\n<p>Instead, either do a search for the website in quotation marks, e.g. '99-reasons-for-seo.com'\u009d or a search like 'what is 99-reaons-for-seo.com.'\u009d <\/p>\n\n\n\n<p>That will ensure Google doesn\u2019t take you to the spammer\u2019s website-the thing we\u2019re trying to avoid here-and instead you\u2019ll see results from other websites about it. If the website\u2019s a known source for analytics spam, someone\u2019s probably written about it.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. Why does filtering spam from my Google Analytics results matter?<\/h3>\n\n\n\n<p>Website analytics are a rich source of information about what your audience responds to. They can show you what your website gets right now, and reveal areas for improvement. And they\u2019re your best way to track the success of your online marketing activities so you know what tactics are worth the investment.<\/p>\n\n\n\n<p>Referral spam clouds the accuracy of your analytics. It puts you at risk of misinterpreting the data you have, because the data itself isn\u2019t accurate. You don\u2019t want to spend time and money on tactics that aren\u2019t working because a spam bot makes you think a particular page is more popular than it truly is with your audience. By cleaning up your data, spam bot filters ensure your analytics deliver insights that are more accurate and useful.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3. Can I clean past Google Analytics data?<\/h3>\n\n\n\n<p>These filters will mean you get cleaner data moving forward, but they won\u2019t be applied retroactively. Your historical data will still include inaccuracies caused by spam bots. <\/p>\n\n\n\n<p>But, seeing the comparison between your analytics before and after applying the filters can help you make an educated guess about how much of your traffic was due to bots. You can take that into account when analyzing the data you have to help you get closer to an accurate picture.&nbsp;&nbsp;&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Gain Clarity by Skipping the Spam<\/h2>\n\n\n\n<p>Google Analytics is one of the most valuable tools available to every website owner. While you can\u2019t completely avoid spammers online (they have an obnoxious skill for being everywhere), you can control the influence they have on your website data. <\/p>\n\n\n\n<p>Applying the right filters and plugins to your website analytics will rob spammers of their power, and give you back the accuracy you need to build a stronger website for your audience.&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You know how valuable Google Analytics is and you\u2019re ready to take all the insights it can offer to improve&#8230;<\/p>\n","protected":false},"author":166,"featured_media":23247,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[123,121],"class_list":["post-23229","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-and-hosting-tips","tag-seo-marketing","tag-wordpress-hosting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v23.2 (Yoast SEO v23.2) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Filter Spam Bots in Google Analytics [Step by Step Guide] - HostGator<\/title>\n<meta name=\"description\" content=\"Is spam traffic clouding your Google Analytics? Gain clarity with our easy, step-by-step guide to filtering out spam and bot traffic in Google Analytics.\" \/>\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.hostgator.com\/blog\/filter-spam-bots-in-google-analytics\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Filter Spam Bots in Google Analytics [Step by Step Guide]\" \/>\n<meta property=\"og:description\" content=\"Is spam traffic clouding your Google Analytics? Gain clarity with our easy, step-by-step guide to filtering out spam and bot traffic in Google Analytics.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hostgator.com\/blog\/filter-spam-bots-in-google-analytics\/\" \/>\n<meta property=\"og:site_name\" content=\"HostGator\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/HostGator\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-15T13:50:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-07-10T20:10:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.hostgator.com\/blog\/wp-content\/\/uploads\/2018\/08\/How-to-filter-spam-bots-in-Google-Analytics.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1152\" \/>\n\t<meta property=\"og:image:height\" content=\"603\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Kristen Hicks\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/atxcopywriter\" \/>\n<meta name=\"twitter:site\" content=\"@HostGator\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kristen Hicks\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.hostgator.com\/blog\/filter-spam-bots-in-google-analytics\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.hostgator.com\/blog\/filter-spam-bots-in-google-analytics\/\"},\"author\":{\"name\":\"Kristen Hicks\",\"@id\":\"https:\/\/www.hostgator.com\/blog\/#\/schema\/person\/9ab81f8120a12dcfbd7d2ab946dab0a5\"},\"headline\":\"How to Filter Spam Bots in Google Analytics [Step by Step Guide]\",\"datePublished\":\"2019-07-15T13:50:41+00:00\",\"dateModified\":\"2019-07-10T20:10:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.hostgator.com\/blog\/filter-spam-bots-in-google-analytics\/\"},\"wordCount\":1891,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.hostgator.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.hostgator.com\/blog\/filter-spam-bots-in-google-analytics\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2018\/08\/How-to-filter-spam-bots-in-Google-Analytics.png\",\"keywords\":[\"SEO Marketing\",\"WordPress Hosting\"],\"articleSection\":[\"Web Hosting Tips\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.hostgator.com\/blog\/filter-spam-bots-in-google-analytics\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.hostgator.com\/blog\/filter-spam-bots-in-google-analytics\/\",\"url\":\"https:\/\/www.hostgator.com\/blog\/filter-spam-bots-in-google-analytics\/\",\"name\":\"How to Filter Spam Bots in Google Analytics [Step by Step Guide] - HostGator\",\"isPartOf\":{\"@id\":\"https:\/\/www.hostgator.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.hostgator.com\/blog\/filter-spam-bots-in-google-analytics\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.hostgator.com\/blog\/filter-spam-bots-in-google-analytics\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2018\/08\/How-to-filter-spam-bots-in-Google-Analytics.png\",\"datePublished\":\"2019-07-15T13:50:41+00:00\",\"dateModified\":\"2019-07-10T20:10:23+00:00\",\"description\":\"Is spam traffic clouding your Google Analytics? Gain clarity with our easy, step-by-step guide to filtering out spam and bot traffic in Google Analytics.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.hostgator.com\/blog\/filter-spam-bots-in-google-analytics\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.hostgator.com\/blog\/filter-spam-bots-in-google-analytics\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.hostgator.com\/blog\/filter-spam-bots-in-google-analytics\/#primaryimage\",\"url\":\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2018\/08\/How-to-filter-spam-bots-in-Google-Analytics.png\",\"contentUrl\":\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2018\/08\/How-to-filter-spam-bots-in-Google-Analytics.png\",\"width\":1152,\"height\":603,\"caption\":\"How to filter spam bots in Google Analytics\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.hostgator.com\/blog\/filter-spam-bots-in-google-analytics\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.hostgator.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Filter Spam Bots in Google Analytics [Step by Step Guide]\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.hostgator.com\/blog\/#website\",\"url\":\"https:\/\/www.hostgator.com\/blog\/\",\"name\":\"HostGtaor\",\"description\":\"Web Hosting and Marketing Tips for Entrepreneurs\",\"publisher\":{\"@id\":\"https:\/\/www.hostgator.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.hostgator.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.hostgator.com\/blog\/#organization\",\"name\":\"HostGtaor\",\"url\":\"https:\/\/www.hostgator.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.hostgator.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2019\/04\/cropped-HG-Logo_default-default.png\",\"contentUrl\":\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2019\/04\/cropped-HG-Logo_default-default.png\",\"width\":1092,\"height\":215,\"caption\":\"HostGtaor\"},\"image\":{\"@id\":\"https:\/\/www.hostgator.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/HostGator\",\"https:\/\/x.com\/HostGator\",\"https:\/\/www.instagram.com\/hostgator\",\"https:\/\/www.linkedin.com\/company\/hostgator-com\",\"https:\/\/www.pinterest.com\/hostgator\/\",\"https:\/\/www.youtube.com\/user\/hostgator\"],\"email\":\"support@gator.com\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.hostgator.com\/blog\/#\/schema\/person\/9ab81f8120a12dcfbd7d2ab946dab0a5\",\"name\":\"Kristen Hicks\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.hostgator.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/457ef8a7379a7f4f39d7810b58ef0a0f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/457ef8a7379a7f4f39d7810b58ef0a0f?s=96&d=mm&r=g\",\"caption\":\"Kristen Hicks\"},\"description\":\"Kristen Hicks is an Austin-based freelance content writer and lifelong learner with an ongoing curiosity to learn new things. She uses that curiosity, combined with her experience as a freelance business owner, to write about subjects valuable to small business owners on the HostGator blog. You can find her on Twitter at @atxcopywriter.\",\"sameAs\":[\"http:\/\/austin-copywriter.com\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/atxcopywriter\"],\"url\":\"https:\/\/www.hostgator.com\/blog\/author\/khicks\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Filter Spam Bots in Google Analytics [Step by Step Guide] - HostGator","description":"Is spam traffic clouding your Google Analytics? Gain clarity with our easy, step-by-step guide to filtering out spam and bot traffic in Google Analytics.","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.hostgator.com\/blog\/filter-spam-bots-in-google-analytics\/","og_locale":"en_US","og_type":"article","og_title":"How to Filter Spam Bots in Google Analytics [Step by Step Guide]","og_description":"Is spam traffic clouding your Google Analytics? Gain clarity with our easy, step-by-step guide to filtering out spam and bot traffic in Google Analytics.","og_url":"https:\/\/www.hostgator.com\/blog\/filter-spam-bots-in-google-analytics\/","og_site_name":"HostGator","article_publisher":"https:\/\/www.facebook.com\/HostGator","article_published_time":"2019-07-15T13:50:41+00:00","article_modified_time":"2019-07-10T20:10:23+00:00","og_image":[{"width":1152,"height":603,"url":"https:\/\/www.hostgator.com\/blog\/wp-content\/\/uploads\/2018\/08\/How-to-filter-spam-bots-in-Google-Analytics.png","type":"image\/png"}],"author":"Kristen Hicks","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/atxcopywriter","twitter_site":"@HostGator","twitter_misc":{"Written by":"Kristen Hicks","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hostgator.com\/blog\/filter-spam-bots-in-google-analytics\/#article","isPartOf":{"@id":"https:\/\/www.hostgator.com\/blog\/filter-spam-bots-in-google-analytics\/"},"author":{"name":"Kristen Hicks","@id":"https:\/\/www.hostgator.com\/blog\/#\/schema\/person\/9ab81f8120a12dcfbd7d2ab946dab0a5"},"headline":"How to Filter Spam Bots in Google Analytics [Step by Step Guide]","datePublished":"2019-07-15T13:50:41+00:00","dateModified":"2019-07-10T20:10:23+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hostgator.com\/blog\/filter-spam-bots-in-google-analytics\/"},"wordCount":1891,"commentCount":0,"publisher":{"@id":"https:\/\/www.hostgator.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hostgator.com\/blog\/filter-spam-bots-in-google-analytics\/#primaryimage"},"thumbnailUrl":"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2018\/08\/How-to-filter-spam-bots-in-Google-Analytics.png","keywords":["SEO Marketing","WordPress Hosting"],"articleSection":["Web Hosting Tips"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hostgator.com\/blog\/filter-spam-bots-in-google-analytics\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hostgator.com\/blog\/filter-spam-bots-in-google-analytics\/","url":"https:\/\/www.hostgator.com\/blog\/filter-spam-bots-in-google-analytics\/","name":"How to Filter Spam Bots in Google Analytics [Step by Step Guide] - HostGator","isPartOf":{"@id":"https:\/\/www.hostgator.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hostgator.com\/blog\/filter-spam-bots-in-google-analytics\/#primaryimage"},"image":{"@id":"https:\/\/www.hostgator.com\/blog\/filter-spam-bots-in-google-analytics\/#primaryimage"},"thumbnailUrl":"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2018\/08\/How-to-filter-spam-bots-in-Google-Analytics.png","datePublished":"2019-07-15T13:50:41+00:00","dateModified":"2019-07-10T20:10:23+00:00","description":"Is spam traffic clouding your Google Analytics? Gain clarity with our easy, step-by-step guide to filtering out spam and bot traffic in Google Analytics.","breadcrumb":{"@id":"https:\/\/www.hostgator.com\/blog\/filter-spam-bots-in-google-analytics\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hostgator.com\/blog\/filter-spam-bots-in-google-analytics\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hostgator.com\/blog\/filter-spam-bots-in-google-analytics\/#primaryimage","url":"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2018\/08\/How-to-filter-spam-bots-in-Google-Analytics.png","contentUrl":"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2018\/08\/How-to-filter-spam-bots-in-Google-Analytics.png","width":1152,"height":603,"caption":"How to filter spam bots in Google Analytics"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hostgator.com\/blog\/filter-spam-bots-in-google-analytics\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hostgator.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Filter Spam Bots in Google Analytics [Step by Step Guide]"}]},{"@type":"WebSite","@id":"https:\/\/www.hostgator.com\/blog\/#website","url":"https:\/\/www.hostgator.com\/blog\/","name":"HostGtaor","description":"Web Hosting and Marketing Tips for Entrepreneurs","publisher":{"@id":"https:\/\/www.hostgator.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hostgator.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hostgator.com\/blog\/#organization","name":"HostGtaor","url":"https:\/\/www.hostgator.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hostgator.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2019\/04\/cropped-HG-Logo_default-default.png","contentUrl":"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2019\/04\/cropped-HG-Logo_default-default.png","width":1092,"height":215,"caption":"HostGtaor"},"image":{"@id":"https:\/\/www.hostgator.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/HostGator","https:\/\/x.com\/HostGator","https:\/\/www.instagram.com\/hostgator","https:\/\/www.linkedin.com\/company\/hostgator-com","https:\/\/www.pinterest.com\/hostgator\/","https:\/\/www.youtube.com\/user\/hostgator"],"email":"support@gator.com"},{"@type":"Person","@id":"https:\/\/www.hostgator.com\/blog\/#\/schema\/person\/9ab81f8120a12dcfbd7d2ab946dab0a5","name":"Kristen Hicks","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hostgator.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/457ef8a7379a7f4f39d7810b58ef0a0f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/457ef8a7379a7f4f39d7810b58ef0a0f?s=96&d=mm&r=g","caption":"Kristen Hicks"},"description":"Kristen Hicks is an Austin-based freelance content writer and lifelong learner with an ongoing curiosity to learn new things. She uses that curiosity, combined with her experience as a freelance business owner, to write about subjects valuable to small business owners on the HostGator blog. You can find her on Twitter at @atxcopywriter.","sameAs":["http:\/\/austin-copywriter.com\/","https:\/\/x.com\/https:\/\/twitter.com\/atxcopywriter"],"url":"https:\/\/www.hostgator.com\/blog\/author\/khicks\/"}]}},"_links":{"self":[{"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/posts\/23229"}],"collection":[{"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/users\/166"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/comments?post=23229"}],"version-history":[{"count":4,"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/posts\/23229\/revisions"}],"predecessor-version":[{"id":23254,"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/posts\/23229\/revisions\/23254"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/media\/23247"}],"wp:attachment":[{"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/media?parent=23229"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/categories?post=23229"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/tags?post=23229"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}