{"id":34003,"date":"2020-03-03T19:02:22","date_gmt":"2020-03-04T00:02:22","guid":{"rendered":"https:\/\/ahrefs.com\/blog\/?p=34003"},"modified":"2025-07-21T10:15:56","modified_gmt":"2025-07-21T15:15:56","slug":"google-analytics-tracking-mistakes","status":"publish","type":"post","link":"https:\/\/ahrefs.com\/blog\/google-analytics-tracking-mistakes\/","title":{"rendered":"13 Google Analytics Tracking Mistakes (and How to Fix&nbsp;Them)"},"content":{"rendered":"<div class=\"intro-txt\">If you saw this traffic drop in your Google Analytics account\u2026<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1088\" height=\"643\" class=\"wp-image-34016\" src=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/1-google-analytics-traffic-1.png\" alt=\"1 google analytics traffic 1\" srcset=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/1-google-analytics-traffic-1.png 1088w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/1-google-analytics-traffic-1-680x402.png 680w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/1-google-analytics-traffic-1-768x454.png 768w\" sizes=\"auto, (max-width: 1088px) 100vw, 1088px\"><\/p>\n<p>\u2026then you\u2019d probably want to prioritize <a href=\"https:\/\/ahrefs.com\/blog\/how-to-improve-seo\/\">improving SEO<\/a> for that&nbsp;page.<\/p>\n<p>But what if this data is flawed?<\/p>\n<p>There\u2019s a high risk of making bad decisions if you\u2019re blindly relying on the data that you see in Google Analytics. You know the saying: garbage in, garbage out.<\/p>\n<p>This guide will help you minimize data skewing factors by fixing these mistakes:<\/p>\n<ol>\n<li><a href=\"#missing-duplicate-ga-codes\">Missing or duplicate Google Analytics code<\/a><\/li>\n<li><a href=\"#incorrect-interaction-event-setup\">Incorrectly set up interaction events<\/a><\/li>\n<li><a href=\"#tracking-hits-from-other-domains\">Tracking hits from other domains<\/a><\/li>\n<li><a href=\"#tracking-your-own-sessions\">Tracking your own sessions<\/a><\/li>\n<li><a href=\"#not-filtering-bots\">Not using bot filtering<\/a><\/li>\n<li><a href=\"#tracking-spam-referrals\">Tracking spam referrals<\/a><\/li>\n<li><a href=\"#sloppy-utm-parameters\">Sloppy use of UTM parameters<\/a><\/li>\n<li><a href=\"#not-excluding-url-parameters\">Not excluding query parameters<\/a><\/li>\n<li><a href=\"#not-merging-sources-and-mediums\">Not merging the same sources and mediums<\/a><\/li>\n<li><a href=\"#not-using-a-referral-exclusion-list\">Not using a referral exclusion list<\/a><\/li>\n<li><a href=\"#tracking-pii\">Tracking Personally Identifiable Information (PII)<\/a><\/li>\n<li><a href=\"#not-firing-pageviews-for-spa\">Not firing page views for Single Page Applications (SPAs)<\/a><\/li>\n<li><a href=\"#not-having-backup-views\">Not having backup and testing views<\/a><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\"><\/span><\/p><div class=\"recommendation\"><div class=\"recommendation-title\">Out now: Ahrefs Web Analytics<\/div><div class=\"recommendation-content\">\n<p><span style=\"font-weight: 400;\">Ahrefs<\/span><a href=\"https:\/\/ahrefs.com\/web-analytics\"> <span style=\"font-weight: 400;\">Web Analytics<\/span><\/a><span style=\"font-weight: 400;\"> is a simple Google Analytics alternative. Fast, privacy-friendly, and free for up to 1 million events per month per&nbsp;site.<\/span><\/p>\n<p><a href=\"https:\/\/ahrefs.com\/web-analytics\"><span style=\"font-weight: 400;\">Learn more<\/span><\/a><\/p>\n<p><span style=\"font-weight: 400;\"><\/span><\/p><\/div><\/div>\n<div class=\"post-nav-link clearfix\" id=\"section1\"><a class=\"subhead-anchor\" data-tip=\"tooltip__copielink\" rel=\"#section1\"><svg width=\"19\" height=\"19\" viewBox=\"0 0 14 14\" style><g fill=\"none\" fill-rule=\"evenodd\"><path d=\"M0 0h14v14H0z\" \/><path d=\"M7.45 9.887l-1.62 1.621c-.92.92-2.418.92-3.338 0a2.364 2.364 0 0 1 0-3.339l1.62-1.62-1.273-1.272-1.62 1.62a4.161 4.161 0 1 0 5.885 5.884l1.62-1.62L7.45 9.886zM5.527 5.135L7.17 3.492c.92-.92 2.418-.92 3.339 0 .92.92.92 2.418 0 3.339L8.866 8.473l1.272 1.273 1.644-1.643A4.161 4.161 0 1 0 5.897 2.22L4.254 3.863l1.272 1.272zm-.66 3.998a.749.749 0 0 1 0-1.06l2.208-2.206a.749.749 0 1 1 1.06 1.06L5.928 9.133a.75.75 0 0 1-1.061 0z\" style \/><\/g><\/svg><\/a><div class=\"link-text\" data-anchor=\"1. Missing or duplicate code\" data-section=\"missing-duplicate-ga-codes\">\n<h2>1. Missing or duplicate Google Analytics code<\/h2>\n<\/div><\/div>\n<p>This sounds trivial, but it\u2019s a common problem\u2014especially on sites that use more than one&nbsp;CMS.<\/p>\n<p>The&nbsp;good news is that Google Analytics has missing code <a href=\"https:\/\/support.google.com\/analytics\/answer\/7030884?hl=en\" target=\"_blank\" rel=\"noopener noreferrer\">notifications built-in<\/a>. The bad news is that it\u2019s slow, and may take weeks to alert you about pages with missing code. It also doesn\u2019t tell you about duplicate codes, which is another common problem.<\/p>\n<p>For that reason, it\u2019s best not to rely on Google\u2019s notifications and instead crawl your site for errors with a tool that allows custom extraction.<\/p>\n<p>Here\u2019s how to set up a crawl with custom extraction in Screaming Frog to scrape both Google Tag Manager and Google Analytics codes:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"879\" height=\"254\" class=\"wp-image-34019\" src=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/2-sf-regex-1.png\" alt=\"2 sf regex 1\" srcset=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/2-sf-regex-1.png 879w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/2-sf-regex-1-680x196.png 680w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/2-sf-regex-1-768x222.png 768w\" sizes=\"auto, (max-width: 879px) 100vw, 879px\"><\/p>\n<p>It\u2019s best to export the crawl to inspect the data. You can easily filter missing codes or see duplicates if there are more columns in the report, e.g., Find GTM code 1 and Find GTM code&nbsp;2.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"796\" class=\"wp-image-34010\" src=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/3-missing-google-analytics-code-1.png\" alt=\"3 missing google analytics code 1\" srcset=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/3-missing-google-analytics-code-1.png 1600w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/3-missing-google-analytics-code-1-680x338.png 680w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/3-missing-google-analytics-code-1-768x382.png 768w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/3-missing-google-analytics-code-1-1536x764.png 1536w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/3-missing-google-analytics-code-1-400x200.png 400w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\"><\/p>\n<div class=\"post-nav-link clearfix\" id=\"section1\"><a class=\"subhead-anchor\" data-tip=\"tooltip__copielink\" rel=\"#section1\"><svg width=\"19\" height=\"19\" viewBox=\"0 0 14 14\" style><g fill=\"none\" fill-rule=\"evenodd\"><path d=\"M0 0h14v14H0z\" \/><path d=\"M7.45 9.887l-1.62 1.621c-.92.92-2.418.92-3.338 0a2.364 2.364 0 0 1 0-3.339l1.62-1.62-1.273-1.272-1.62 1.62a4.161 4.161 0 1 0 5.885 5.884l1.62-1.62L7.45 9.886zM5.527 5.135L7.17 3.492c.92-.92 2.418-.92 3.339 0 .92.92.92 2.418 0 3.339L8.866 8.473l1.272 1.273 1.644-1.643A4.161 4.161 0 1 0 5.897 2.22L4.254 3.863l1.272 1.272zm-.66 3.998a.749.749 0 0 1 0-1.06l2.208-2.206a.749.749 0 1 1 1.06 1.06L5.928 9.133a.75.75 0 0 1-1.061 0z\" style \/><\/g><\/svg><\/a><div class=\"link-text\" data-anchor=\"2. Incorrectly set up interaction events\" data-section=\"incorrect-interaction-event-setup\">\n<h2>2. Incorrectly set up interaction events<\/h2>\n<\/div><\/div>\n<p>Having things like purchases, form submissions, or video plays set up as interaction events makes sense. They\u2019re important for your business, so the fact that they\u2019re not counted as bounces\u2014even when the visitor only views one page\u2014is fine.<\/p>\n<p>But if you\u2019re using interaction events for tracking events that fire automatically on each page, like scroll depth tracking, that\u2019ll result in close-to-zero bounce rates across your whole website\u2014which isn\u2019t&nbsp;good.<\/p>\n<p>You can easily spot these issues by looking for unrealistically low <a href=\"https:\/\/ahrefs.com\/blog\/bounce-rate\/\" target=\"_blank\" rel=\"noopener\">bounce rates in GA<\/a>.<\/p>\n<p>If you suspect interaction events as the culprit, change the event\u2019s \u201cNon-interaction hit\u201d setting from false to true in Google Tag Manager.<br>\n<img loading=\"lazy\" decoding=\"async\" width=\"722\" height=\"1374\" class=\"wp-image-34007\" src=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/4-event-interaction-settings-1.png\" alt=\"4 event interaction settings 1\" srcset=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/4-event-interaction-settings-1.png 722w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/4-event-interaction-settings-1-223x425.png 223w\" sizes=\"auto, (max-width: 722px) 100vw, 722px\"><\/p>\n<p>If you\u2019re not using Google Tag Manager, just add <a href=\"https:\/\/developers.google.com\/analytics\/devguides\/collection\/analyticsjs\/events#non-interaction_events\" target=\"_blank\" rel=\"noopener noreferrer\">one more line of code<\/a>&nbsp;to the GA event snippet.<\/p>\n<div class=\"post-nav-link clearfix\" id=\"section1\"><a class=\"subhead-anchor\" data-tip=\"tooltip__copielink\" rel=\"#section1\"><svg width=\"19\" height=\"19\" viewBox=\"0 0 14 14\" style><g fill=\"none\" fill-rule=\"evenodd\"><path d=\"M0 0h14v14H0z\" \/><path d=\"M7.45 9.887l-1.62 1.621c-.92.92-2.418.92-3.338 0a2.364 2.364 0 0 1 0-3.339l1.62-1.62-1.273-1.272-1.62 1.62a4.161 4.161 0 1 0 5.885 5.884l1.62-1.62L7.45 9.886zM5.527 5.135L7.17 3.492c.92-.92 2.418-.92 3.339 0 .92.92.92 2.418 0 3.339L8.866 8.473l1.272 1.273 1.644-1.643A4.161 4.161 0 1 0 5.897 2.22L4.254 3.863l1.272 1.272zm-.66 3.998a.749.749 0 0 1 0-1.06l2.208-2.206a.749.749 0 1 1 1.06 1.06L5.928 9.133a.75.75 0 0 1-1.061 0z\" style \/><\/g><\/svg><\/a><div class=\"link-text\" data-anchor=\"3. Tracking hits from other domains\" data-section=\"tracking-hits-from-other-domains\">\n<h2>3. Tracking hits from other domains<\/h2>\n<\/div><\/div>\n<p>It\u2019s surprisingly easy for someone to screw up your data if you don\u2019t take preventive measures. Why? Because your GA\/GTM tracking code is visible to anyone who opens your source code, so anyone can send hits to GA servers under your tracking code.<\/p>\n<p>Luckily, it\u2019s easy to prevent this from happening by setting up a view filter.<\/p>\n<p>This will only include hits from your own (sub)domain:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"834\" height=\"908\" class=\"wp-image-34013\" src=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/6-exclude-subdomain-1.png\" alt=\"6 exclude subdomain 1\" srcset=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/6-exclude-subdomain-1.png 834w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/6-exclude-subdomain-1-390x425.png 390w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/6-exclude-subdomain-1-768x836.png 768w\" sizes=\"auto, (max-width: 834px) 100vw, 834px\"><\/p>\n<p>Here\u2019s the hostname regex filter pattern:&nbsp;<code>(^|\\.)example\\.com<\/code><\/p>\n<div class=\"post-nav-link clearfix\" id=\"section1\"><a class=\"subhead-anchor\" data-tip=\"tooltip__copielink\" rel=\"#section1\"><svg width=\"19\" height=\"19\" viewBox=\"0 0 14 14\" style><g fill=\"none\" fill-rule=\"evenodd\"><path d=\"M0 0h14v14H0z\" \/><path d=\"M7.45 9.887l-1.62 1.621c-.92.92-2.418.92-3.338 0a2.364 2.364 0 0 1 0-3.339l1.62-1.62-1.273-1.272-1.62 1.62a4.161 4.161 0 1 0 5.885 5.884l1.62-1.62L7.45 9.886zM5.527 5.135L7.17 3.492c.92-.92 2.418-.92 3.339 0 .92.92.92 2.418 0 3.339L8.866 8.473l1.272 1.273 1.644-1.643A4.161 4.161 0 1 0 5.897 2.22L4.254 3.863l1.272 1.272zm-.66 3.998a.749.749 0 0 1 0-1.06l2.208-2.206a.749.749 0 1 1 1.06 1.06L5.928 9.133a.75.75 0 0 1-1.061 0z\" style \/><\/g><\/svg><\/a><div class=\"link-text\" data-anchor=\"4. Tracking your own sessions\" data-section=\"tracking-your-own-sessions\">\n<h2>4. Tracking your own sessions<\/h2>\n<\/div><\/div>\n<p>There are a lot of irregular actions we make on our websites, and we don\u2019t want those reflected in our&nbsp;data.<\/p>\n<p>So, while we\u2019re setting up filters, let\u2019s also make sure to exclude hits from internal IP addresses. It\u2019s easy to do this for a single IP:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1566\" height=\"1076\" class=\"wp-image-34017\" src=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/5-ip-address-1.png\" alt=\"5 ip address 1\" srcset=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/5-ip-address-1.png 1566w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/5-ip-address-1-619x425.png 619w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/5-ip-address-1-768x528.png 768w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/5-ip-address-1-1536x1055.png 1536w\" sizes=\"auto, (max-width: 1566px) 100vw, 1566px\"><\/p>\n<p>If you need to exclude more IPs, refer to <a href=\"https:\/\/support.google.com\/analytics\/answer\/1034840?hl=en\" target=\"_blank\" rel=\"noopener noreferrer\">this guide from Google<\/a>.<\/p>\n<div class=\"post-nav-link clearfix\" id=\"section1\"><a class=\"subhead-anchor\" data-tip=\"tooltip__copielink\" rel=\"#section1\"><svg width=\"19\" height=\"19\" viewBox=\"0 0 14 14\" style><g fill=\"none\" fill-rule=\"evenodd\"><path d=\"M0 0h14v14H0z\" \/><path d=\"M7.45 9.887l-1.62 1.621c-.92.92-2.418.92-3.338 0a2.364 2.364 0 0 1 0-3.339l1.62-1.62-1.273-1.272-1.62 1.62a4.161 4.161 0 1 0 5.885 5.884l1.62-1.62L7.45 9.886zM5.527 5.135L7.17 3.492c.92-.92 2.418-.92 3.339 0 .92.92.92 2.418 0 3.339L8.866 8.473l1.272 1.273 1.644-1.643A4.161 4.161 0 1 0 5.897 2.22L4.254 3.863l1.272 1.272zm-.66 3.998a.749.749 0 0 1 0-1.06l2.208-2.206a.749.749 0 1 1 1.06 1.06L5.928 9.133a.75.75 0 0 1-1.061 0z\" style \/><\/g><\/svg><\/a><div class=\"link-text\" data-anchor=\"5. Not using bot filtering\" data-section=\"not-filtering-bots\">\n<h2>5. Not using bot filtering<\/h2>\n<\/div><\/div>\n<p>Google can detect a fair portion of the spam\/bot traffic coming to your website. All you need to do is to check a&nbsp;box.<\/p>\n<p>You\u2019ll find this in <em>Admin &gt; View Settings<\/em>:<br>\n<img loading=\"lazy\" decoding=\"async\" width=\"1365\" height=\"1600\" class=\"wp-image-34023\" src=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/7-bot-filtering-1.jpg\" alt=\"7 bot filtering 1\" srcset=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/7-bot-filtering-1.jpg 1365w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/7-bot-filtering-1-363x425.jpg 363w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/7-bot-filtering-1-768x900.jpg 768w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/7-bot-filtering-1-1310x1536.jpg 1310w\" sizes=\"auto, (max-width: 1365px) 100vw, 1365px\"><\/p>\n<p>Note that it\u2019s enough to check this only for your main analytics view. There\u2019s no need to do this for the raw or testing views.<\/p>\n<div class=\"post-nav-link clearfix\" id=\"section1\"><a class=\"subhead-anchor\" data-tip=\"tooltip__copielink\" rel=\"#section1\"><svg width=\"19\" height=\"19\" viewBox=\"0 0 14 14\" style><g fill=\"none\" fill-rule=\"evenodd\"><path d=\"M0 0h14v14H0z\" \/><path d=\"M7.45 9.887l-1.62 1.621c-.92.92-2.418.92-3.338 0a2.364 2.364 0 0 1 0-3.339l1.62-1.62-1.273-1.272-1.62 1.62a4.161 4.161 0 1 0 5.885 5.884l1.62-1.62L7.45 9.886zM5.527 5.135L7.17 3.492c.92-.92 2.418-.92 3.339 0 .92.92.92 2.418 0 3.339L8.866 8.473l1.272 1.273 1.644-1.643A4.161 4.161 0 1 0 5.897 2.22L4.254 3.863l1.272 1.272zm-.66 3.998a.749.749 0 0 1 0-1.06l2.208-2.206a.749.749 0 1 1 1.06 1.06L5.928 9.133a.75.75 0 0 1-1.061 0z\" style \/><\/g><\/svg><\/a><div class=\"link-text\" data-anchor=\"6. Tracking spam referrals\" data-section=\"tracking-spam-referrals\">\n<h2>6. Tracking spam referrals<\/h2>\n<\/div><\/div>\n<p>Popular websites attract spammy links. It\u2019s just how things are.<\/p>\n<p>Most of these are negligible and bring zero referral traffic, but some can send thousands of spammy referrals every&nbsp;day.<\/p>\n<p>To check if that\u2019s a problem for you, set the date range to three months minimum, then go to the Referrals report (<em>Acquisition &gt; All Traffic &gt; Referrals).&nbsp;<\/em><\/p>\n<p>Look for shady domains with a high number of referrals.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"866\" class=\"wp-image-34014\" src=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/8-spam-referrals-1.png\" alt=\"8 spam referrals 1\" srcset=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/8-spam-referrals-1.png 1600w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/8-spam-referrals-1-680x368.png 680w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/8-spam-referrals-1-768x416.png 768w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/8-spam-referrals-1-1536x831.png 1536w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\"><\/p>\n<p>Don\u2019t click suspicious domains as they might contain malware or spyware. Instead, create a list and exclude them with a filter (<em>Admin &gt; Filter<\/em>). Set the Filter Field as \u201cCampaign Source,\u201d then list domains in the Filter Pattern field separated by a pipe (|) symbol.<br>\n<img loading=\"lazy\" decoding=\"async\" width=\"1026\" height=\"1218\" class=\"wp-image-34008\" src=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/9-spam-referral-exclusion-1.png\" alt=\"9 spam referral exclusion 1\" srcset=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/9-spam-referral-exclusion-1.png 1026w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/9-spam-referral-exclusion-1-358x425.png 358w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/9-spam-referral-exclusion-1-768x912.png 768w\" sizes=\"auto, (max-width: 1026px) 100vw, 1026px\"><\/p>\n<p><strong>IMPORTANT<\/strong>. Always remember to verify your filters to see how it influences your data.&nbsp;There\u2019s a button below the filters for&nbsp;this.<\/p>\n<div class=\"post-nav-link clearfix\" id=\"section1\"><a class=\"subhead-anchor\" data-tip=\"tooltip__copielink\" rel=\"#section1\"><svg width=\"19\" height=\"19\" viewBox=\"0 0 14 14\" style><g fill=\"none\" fill-rule=\"evenodd\"><path d=\"M0 0h14v14H0z\" \/><path d=\"M7.45 9.887l-1.62 1.621c-.92.92-2.418.92-3.338 0a2.364 2.364 0 0 1 0-3.339l1.62-1.62-1.273-1.272-1.62 1.62a4.161 4.161 0 1 0 5.885 5.884l1.62-1.62L7.45 9.886zM5.527 5.135L7.17 3.492c.92-.92 2.418-.92 3.339 0 .92.92.92 2.418 0 3.339L8.866 8.473l1.272 1.273 1.644-1.643A4.161 4.161 0 1 0 5.897 2.22L4.254 3.863l1.272 1.272zm-.66 3.998a.749.749 0 0 1 0-1.06l2.208-2.206a.749.749 0 1 1 1.06 1.06L5.928 9.133a.75.75 0 0 1-1.061 0z\" style \/><\/g><\/svg><\/a><div class=\"link-text\" data-anchor=\"7. Sloppy use of UTM parameters\" data-section=\"sloppy-utm-parameters\">\n<h2>7. Sloppy use of UTM parameters<\/h2>\n<\/div><\/div>\n<p>UTM parameters are tags that are appended to URLs to label different traffic sources. They\u2019re mostly used with paid ads and links that would otherwise get mixed with organic visits.<\/p>\n<p>Let\u2019s say that we\u2019re running ads on Twitter. By default, the traffic would fall under \u201ctwitter.com \/ referral\u201d, making any performance analysis impossible. So we append UTM parameters to URLs used for Twitter Ads:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"1564\" class=\"wp-image-34011\" src=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/utm_builder-1.png\" alt=\"utm builder 1\" srcset=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/utm_builder-1.png 1600w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/utm_builder-1-435x425.png 435w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/utm_builder-1-768x751.png 768w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/utm_builder-1-1536x1501.png 1536w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\"><\/p>\n<p>These UTM parameters are then sent to GA servers and used in their respective dimensions.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1568\" height=\"674\" class=\"wp-image-34018\" src=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/11-utm-ga-1.png\" alt=\"11 utm ga 1\" srcset=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/11-utm-ga-1.png 1568w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/11-utm-ga-1-680x292.png 680w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/11-utm-ga-1-768x330.png 768w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/11-utm-ga-1-1536x660.png 1536w\" sizes=\"auto, (max-width: 1568px) 100vw, 1568px\"><\/p>\n<div class=\"recommendation\"><div class=\"recommendation-title\">are you part of a marketing team?<\/div><div class=\"recommendation-content\">\n<p>If there are multiple people handing the performance marketing side of things, you need to have guidelines for UTM parameters unification. Trust me, analyzing performance of marketing channels when the tagging is not unified is one of the things that you really don\u2019t want to be doing in Google Analytics.<\/p>\n<p>When doing this, keep in mind that the process of adding UTM parameters depends on the advertising platform. For example, Twitter Ads require URLs that already have the parameters in them, whereas Google Ads can (and should) be completely automatized.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1272\" height=\"134\" class=\"wp-image-34006\" src=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/ads_autotagging-1.png\" alt=\"ads autotagging 1\" srcset=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/ads_autotagging-1.png 1272w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/ads_autotagging-1-680x72.png 680w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/ads_autotagging-1-768x81.png 768w\" sizes=\"auto, (max-width: 1272px) 100vw, 1272px\"><\/p>\n<\/div><\/div>\n<div class=\"post-nav-link clearfix\" id=\"section1\"><a class=\"subhead-anchor\" data-tip=\"tooltip__copielink\" rel=\"#section1\"><svg width=\"19\" height=\"19\" viewBox=\"0 0 14 14\" style><g fill=\"none\" fill-rule=\"evenodd\"><path d=\"M0 0h14v14H0z\" \/><path d=\"M7.45 9.887l-1.62 1.621c-.92.92-2.418.92-3.338 0a2.364 2.364 0 0 1 0-3.339l1.62-1.62-1.273-1.272-1.62 1.62a4.161 4.161 0 1 0 5.885 5.884l1.62-1.62L7.45 9.886zM5.527 5.135L7.17 3.492c.92-.92 2.418-.92 3.339 0 .92.92.92 2.418 0 3.339L8.866 8.473l1.272 1.273 1.644-1.643A4.161 4.161 0 1 0 5.897 2.22L4.254 3.863l1.272 1.272zm-.66 3.998a.749.749 0 0 1 0-1.06l2.208-2.206a.749.749 0 1 1 1.06 1.06L5.928 9.133a.75.75 0 0 1-1.061 0z\" style \/><\/g><\/svg><\/a><div class=\"link-text\" data-anchor=\"8. Not excluding query parameters\" data-section=\"not-excluding-url-parameters\">\n<h2>8. Not excluding query parameters<\/h2>\n<\/div><\/div>\n<p>Cluttering your (Landing) Page dimensions with <a href=\"https:\/\/ahrefs.com\/blog\/url-parameters\/\">parameterized URLs<\/a> can be a nightmare for any further analyses. It breaks up the same URL into multiple rows, which leads to splintered metrics.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1330\" height=\"614\" class=\"wp-image-34021\" src=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/12-query-parameters-ga-1.png\" alt=\"12 query parameters ga 1\" srcset=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/12-query-parameters-ga-1.png 1330w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/12-query-parameters-ga-1-680x314.png 680w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/12-query-parameters-ga-1-768x355.png 768w\" sizes=\"auto, (max-width: 1330px) 100vw, 1330px\"><\/p>\n<p>To solve this, use the report filter to show all parameterized URLs recorded in your GA&nbsp;view.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"518\" height=\"62\" class=\"wp-image-34020\" src=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/param_filter-1.png\" alt=\"param filter 1\"><\/p>\n<p>Then, to keep the page dimensions unified, exclude <a href=\"https:\/\/ahrefs.com\/blog\/url-parameters\/\">parameters<\/a> that you don\u2019t want to see in your reports.<\/p>\n<p>You can do it in <em>View Settings<\/em>:<br>\n<img loading=\"lazy\" decoding=\"async\" width=\"1365\" height=\"1600\" class=\"wp-image-34024\" src=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/13-exclude-query-parameters-1.jpg\" alt=\"13 exclude query parameters 1\" srcset=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/13-exclude-query-parameters-1.jpg 1365w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/13-exclude-query-parameters-1-363x425.jpg 363w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/13-exclude-query-parameters-1-768x900.jpg 768w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/13-exclude-query-parameters-1-1310x1536.jpg 1310w\" sizes=\"auto, (max-width: 1365px) 100vw, 1365px\"><\/p>\n<p>Just make sure not to exclude:<\/p>\n<ul>\n<li>Search query parameters (otherwise it\u2019ll block your <a href=\"https:\/\/ahrefs.com\/blog\/google-analytics-for-seo\/#find-keyword-opportunities-from-site-search\">internal site search data<\/a>)<\/li>\n<li>UTM parameters (GA can already handle them properly)<\/li>\n<li>Parameters you want to track separately (e.g., those for different products on ecommerce sites)<\/li>\n<\/ul>\n<p>If you\u2019re dealing with a vast number of different parameters that you want to exclude, it\u2019s better to use view filters instead. Their flexibility and the option to use regular expressions make them a better solution. Follow <a href=\"https:\/\/www.bounteous.com\/insights\/2015\/04\/17\/strip-query-parameters-google-analytics\/\" target=\"_blank\" rel=\"noopener noreferrer\">this guide<\/a>&nbsp;to set them&nbsp;up.<\/p>\n<div class=\"post-nav-link clearfix\" id=\"section1\"><a class=\"subhead-anchor\" data-tip=\"tooltip__copielink\" rel=\"#section1\"><svg width=\"19\" height=\"19\" viewBox=\"0 0 14 14\" style><g fill=\"none\" fill-rule=\"evenodd\"><path d=\"M0 0h14v14H0z\" \/><path d=\"M7.45 9.887l-1.62 1.621c-.92.92-2.418.92-3.338 0a2.364 2.364 0 0 1 0-3.339l1.62-1.62-1.273-1.272-1.62 1.62a4.161 4.161 0 1 0 5.885 5.884l1.62-1.62L7.45 9.886zM5.527 5.135L7.17 3.492c.92-.92 2.418-.92 3.339 0 .92.92.92 2.418 0 3.339L8.866 8.473l1.272 1.273 1.644-1.643A4.161 4.161 0 1 0 5.897 2.22L4.254 3.863l1.272 1.272zm-.66 3.998a.749.749 0 0 1 0-1.06l2.208-2.206a.749.749 0 1 1 1.06 1.06L5.928 9.133a.75.75 0 0 1-1.061 0z\" style \/><\/g><\/svg><\/a><div class=\"link-text\" data-anchor=\"9. Not merging sources and mediums\" data-section=\"not-merging-sources-and-mediums\">\n<h2>9. Not merging the same sources and mediums<\/h2>\n<\/div><\/div>\n<p>You might have noticed that some of your traffic sources and mediums are a mess because they\u2019re basically the same thing. The most common example is referral traffic from Facebook.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1326\" height=\"820\" class=\"wp-image-34009\" src=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/14-facebook-referrals-1.png\" alt=\"14 facebook referrals 1\" srcset=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/14-facebook-referrals-1.png 1326w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/14-facebook-referrals-1-680x421.png 680w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/14-facebook-referrals-1-768x475.png 768w\" sizes=\"auto, (max-width: 1326px) 100vw, 1326px\"><\/p>\n<p>Those weird subdomains are called link shim referrals. Facebook uses them for security and privacy reasons, but they can make analyzing the performance of a particular source\/medium difficult.<\/p>\n<p>To fix them, use filters. Here\u2019s one that merges referral traffic from Facebook:<br>\n<img loading=\"lazy\" decoding=\"async\" width=\"1553\" height=\"1600\" class=\"wp-image-34015\" src=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/15-filter-verification-1.png\" alt=\"15 filter verification 1\" srcset=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/15-filter-verification-1.png 1553w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/15-filter-verification-1-413x425.png 413w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/15-filter-verification-1-768x791.png 768w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/15-filter-verification-1-1491x1536.png 1491w\" sizes=\"auto, (max-width: 1553px) 100vw, 1553px\"><\/p>\n<p>Remember to verify the filter to check that it does what you think it&nbsp;does.<\/p>\n<p>You should also create a note that you\u2019ve merged the traffic so others won\u2019t wonder what caused the change. Google Analytics doesn\u2019t apply the filters retroactively, so you\u2019ll still have to deal with the old&nbsp;data.<\/p>\n<div class=\"post-nav-link clearfix\" id=\"section1\"><a class=\"subhead-anchor\" data-tip=\"tooltip__copielink\" rel=\"#section1\"><svg width=\"19\" height=\"19\" viewBox=\"0 0 14 14\" style><g fill=\"none\" fill-rule=\"evenodd\"><path d=\"M0 0h14v14H0z\" \/><path d=\"M7.45 9.887l-1.62 1.621c-.92.92-2.418.92-3.338 0a2.364 2.364 0 0 1 0-3.339l1.62-1.62-1.273-1.272-1.62 1.62a4.161 4.161 0 1 0 5.885 5.884l1.62-1.62L7.45 9.886zM5.527 5.135L7.17 3.492c.92-.92 2.418-.92 3.339 0 .92.92.92 2.418 0 3.339L8.866 8.473l1.272 1.273 1.644-1.643A4.161 4.161 0 1 0 5.897 2.22L4.254 3.863l1.272 1.272zm-.66 3.998a.749.749 0 0 1 0-1.06l2.208-2.206a.749.749 0 1 1 1.06 1.06L5.928 9.133a.75.75 0 0 1-1.061 0z\" style \/><\/g><\/svg><\/a><div class=\"link-text\" data-anchor=\"10. Not using a referral exclusion list\" data-section=\"not-using-a-referral-exclusion-list\">\n<h2>10. Not using a referral exclusion list<\/h2>\n<\/div><\/div>\n<p>When you add a domain to a referral exclusion list, any traffic from it will no longer be labeled as referral traffic, and will not trigger a new session.<\/p>\n<p>This is especially useful in three&nbsp;cases:<\/p>\n<ul>\n<li><strong>Payment gateways. <\/strong>If you use any third-party payment processors, you\u2019ll likely be redirecting your customers there and back after finishing the payment. That should be one session under one source of traffic.<\/li>\n<li><strong>Subdomain tracking. <\/strong>Subdomains are separate hostnames, and traffic from them would naturally trigger a new referral session. Luckily, GA submits your own domain into the list when creating the property. Leave it there. And keep the default \u201cCookie Domain: Auto\u201d as well if you ever encounter that in the tracking code or&nbsp;GTM.<\/li>\n<li><strong><a href=\"https:\/\/www.analyticsmania.com\/post\/google-analytics-cross-domain-tracking-with-google-tag-manager\/\" target=\"_blank\" rel=\"noopener noreferrer\">Cross-domain tracking<\/a>. <\/strong>You may have microsites and other separate domains for which you may want merged data if it\u2019s the same business.<\/li>\n<\/ul>\n<p>You\u2019ll find this list in <em>Admin &gt; Property column &gt; Tracking Info &gt; Referral Exclusion List.<\/em><\/p>\n<p>Enter the domains in the <em>example.com<\/em>&nbsp;format to cover all the subdomains.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"572\" height=\"212\" class=\"wp-image-34022\" src=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/referral-exclusion-list-analytics-1.png\" alt=\"referral exclusion list analytics 1\"><\/p>\n<div class=\"post-nav-link clearfix\" id=\"section1\"><a class=\"subhead-anchor\" data-tip=\"tooltip__copielink\" rel=\"#section1\"><svg width=\"19\" height=\"19\" viewBox=\"0 0 14 14\" style><g fill=\"none\" fill-rule=\"evenodd\"><path d=\"M0 0h14v14H0z\" \/><path d=\"M7.45 9.887l-1.62 1.621c-.92.92-2.418.92-3.338 0a2.364 2.364 0 0 1 0-3.339l1.62-1.62-1.273-1.272-1.62 1.62a4.161 4.161 0 1 0 5.885 5.884l1.62-1.62L7.45 9.886zM5.527 5.135L7.17 3.492c.92-.92 2.418-.92 3.339 0 .92.92.92 2.418 0 3.339L8.866 8.473l1.272 1.273 1.644-1.643A4.161 4.161 0 1 0 5.897 2.22L4.254 3.863l1.272 1.272zm-.66 3.998a.749.749 0 0 1 0-1.06l2.208-2.206a.749.749 0 1 1 1.06 1.06L5.928 9.133a.75.75 0 0 1-1.061 0z\" style \/><\/g><\/svg><\/a><div class=\"link-text\" data-anchor=\"11. Tracking Personally Identifiable Information (PII)\" data-section=\"tracking-pii\">\n<h2>11. Tracking Personally Identifiable Information (PII)<\/h2>\n<\/div><\/div>\n<p>While this doesn\u2019t harm your data clarity, it can cause some serious damage to your business.<\/p>\n<p>You need to <a href=\"https:\/\/support.google.com\/analytics\/answer\/6366371?hl=en\" target=\"_blank\" rel=\"noopener noreferrer\">make sure that you\u2019re not tracking any PII<\/a>&nbsp;like emails, phone numbers, or names. Or even better\u2014adhere to the data protection and privacy regulations that apply to your business.<\/p>\n<p>Unfortunately, you may be tracking PII without knowing it by generating URL parameters with personal information in forms or elsewhere.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"908\" height=\"318\" class=\"wp-image-34012\" src=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/16-form-pii-1.png\" alt=\"16 form pii 1\" srcset=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/16-form-pii-1.png 908w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/16-form-pii-1-680x238.png 680w, https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/16-form-pii-1-768x269.png 768w\" sizes=\"auto, (max-width: 908px) 100vw, 908px\"><\/p>\n<p>This probably won\u2019t be the case if you\u2019re using a popular CMS, but you should <a href=\"https:\/\/www.getelevar.com\/guides\/google-analytics\/how-to-find-and-fix-pii-in-google-analytics-data\/\" target=\"_blank\" rel=\"noopener noreferrer\">definitely check this<\/a>&nbsp;if you have a completely custom website.<\/p>\n<p>Just to state the obvious, don\u2019t try collecting PII through custom dimensions. And if you want to check what data websites are collecting, use a browser extension like <a href=\"https:\/\/chrome.google.com\/webstore\/detail\/dataslayer\/ikbablmmjldhamhcldjjigniffkkjgpo\" target=\"_blank\" rel=\"noopener noreferrer\">dataslayer<\/a>&nbsp;or <a href=\"https:\/\/chrome.google.com\/webstore\/detail\/waspinspector-analytics-s\/niaoghengfohplclhbjnjheodgkejpih?hl=en\" target=\"_blank\" rel=\"noopener noreferrer\">WASP<\/a>.<\/p>\n<div class=\"post-nav-link clearfix\" id=\"section1\"><a class=\"subhead-anchor\" data-tip=\"tooltip__copielink\" rel=\"#section1\"><svg width=\"19\" height=\"19\" viewBox=\"0 0 14 14\" style><g fill=\"none\" fill-rule=\"evenodd\"><path d=\"M0 0h14v14H0z\" \/><path d=\"M7.45 9.887l-1.62 1.621c-.92.92-2.418.92-3.338 0a2.364 2.364 0 0 1 0-3.339l1.62-1.62-1.273-1.272-1.62 1.62a4.161 4.161 0 1 0 5.885 5.884l1.62-1.62L7.45 9.886zM5.527 5.135L7.17 3.492c.92-.92 2.418-.92 3.339 0 .92.92.92 2.418 0 3.339L8.866 8.473l1.272 1.273 1.644-1.643A4.161 4.161 0 1 0 5.897 2.22L4.254 3.863l1.272 1.272zm-.66 3.998a.749.749 0 0 1 0-1.06l2.208-2.206a.749.749 0 1 1 1.06 1.06L5.928 9.133a.75.75 0 0 1-1.061 0z\" style \/><\/g><\/svg><\/a><div class=\"link-text\" data-anchor=\"12. Not firing page views for SPAs\" data-section=\"not-firing-pageviews-for-spa\">\n<h2>12. Not firing pageviews for Single Page Applications (SPA)<\/h2>\n<\/div><\/div>\n<p>Is your website a Single Page Application (SPA)? In other words, is it using JavaScript to generate page content dynamically?<\/p>\n<p>If the answer is yes, then tracking just got a bit more tricky for&nbsp;you.<\/p>\n<p>SPAs load everything needed with the first pageview and update the content and URLs dynamically. That means GA won\u2019t track any subsequent pageviews because there are naturally no subsequent hits to their servers.<\/p>\n<p>(I\u2019m guilty of overlooking this when developers were gradually switching a project I was working on to the React framework.)<\/p>\n<p>To fix this, you\u2019ll need to use workarounds that will most likely require help from developers or GTM experts. If you want to learn more about this, check out Google\u2019s <a href=\"https:\/\/developers.google.com\/analytics\/devguides\/collection\/analyticsjs\/single-page-applications\" target=\"_blank\" rel=\"noopener noreferrer\">official documentation<\/a>&nbsp;and <a href=\"https:\/\/www.analyticsmania.com\/post\/single-page-web-app-with-google-tag-manager\/\" target=\"_blank\" rel=\"noopener noreferrer\">this thorough guide<\/a>.<\/p>\n<div class=\"post-nav-link clearfix\" id=\"section1\"><a class=\"subhead-anchor\" data-tip=\"tooltip__copielink\" rel=\"#section1\"><svg width=\"19\" height=\"19\" viewBox=\"0 0 14 14\" style><g fill=\"none\" fill-rule=\"evenodd\"><path d=\"M0 0h14v14H0z\" \/><path d=\"M7.45 9.887l-1.62 1.621c-.92.92-2.418.92-3.338 0a2.364 2.364 0 0 1 0-3.339l1.62-1.62-1.273-1.272-1.62 1.62a4.161 4.161 0 1 0 5.885 5.884l1.62-1.62L7.45 9.886zM5.527 5.135L7.17 3.492c.92-.92 2.418-.92 3.339 0 .92.92.92 2.418 0 3.339L8.866 8.473l1.272 1.273 1.644-1.643A4.161 4.161 0 1 0 5.897 2.22L4.254 3.863l1.272 1.272zm-.66 3.998a.749.749 0 0 1 0-1.06l2.208-2.206a.749.749 0 1 1 1.06 1.06L5.928 9.133a.75.75 0 0 1-1.061 0z\" style \/><\/g><\/svg><\/a><div class=\"link-text\" data-anchor=\"13. Not having backup and testing views\" data-section=\"not-having-backup-views\">\n<h2>13. Not having backup and testing views<\/h2>\n<\/div><\/div>\n<p>This last one\u2019s not so much a tracking mistake but rather a best practice for handling data in Google Analytics.<\/p>\n<p>Even if you have just one account and property, always make sure to have at least three different <a href=\"https:\/\/support.google.com\/analytics\/answer\/2649553?hl=en\" target=\"_blank\" rel=\"noopener noreferrer\">views<\/a>:<\/p>\n<ol>\n<li><strong>Master view<\/strong>. You\u2019ll use this one the most with all the desired settings and filters applied.<\/li>\n<li><strong>Backup view<\/strong>. A view left with all settings&nbsp;on default. If anything goes wrong with your master view, you\u2019ll always have all the raw data&nbsp;here.<\/li>\n<li><strong>Testing view.<\/strong>&nbsp;You can play around with this one to test the waters first. It\u2019s useful if you\u2019re not sure about the implications of tweaking more complex view settings, such as various filters.<\/li>\n<\/ol>\n<p>You can rename views in <em>Admin &gt; View Settings &gt; View&nbsp;Name.<\/em><\/p>\n<p>Just remember to make the&nbsp;view names as self-explanatory as possible so that others using the account understand them.<\/p>\n<h2>Final thoughts<\/h2>\n<p>Test, verify, repeat.<\/p>\n<p>Whenever you make changes to your GA settings, GTM, or tracking codes, you should take the role of a Quality Assurance engineer for a&nbsp;while.<\/p>\n<p>That means you need to be comfortable working with the source code, cookies, and various debugging tools. I recommend using the following ones:<\/p>\n<ul>\n<li><a href=\"https:\/\/get.google.com\/tagassistant\/\" target=\"_blank\" rel=\"noopener noreferrer\">Google Tag Assistant<\/a><\/li>\n<li><a href=\"https:\/\/chrome.google.com\/webstore\/detail\/google-analytics-debugger\/jnkmfdileelhofjcijamephohjechhna?hl=en\" target=\"_blank\" rel=\"noopener noreferrer\">Google Analytics Debugger<\/a><\/li>\n<li><a href=\"https:\/\/chrome.google.com\/webstore\/detail\/dataslayer\/ikbablmmjldhamhcldjjigniffkkjgpo\" target=\"_blank\" rel=\"noopener noreferrer\">dataslayer<\/a><\/li>\n<li><a href=\"https:\/\/chrome.google.com\/webstore\/detail\/waspinspector-analytics-s\/niaoghengfohplclhbjnjheodgkejpih?hl=en\" target=\"_blank\" rel=\"noopener noreferrer\">WASP<\/a><\/li>\n<li>Real-time reports in GA to immediately see the effects of fired&nbsp;tags<\/li>\n<li>Debugging tools of any ad platforms that you use, e.g., <a href=\"https:\/\/chrome.google.com\/webstore\/detail\/facebook-pixel-helper\/fdgfkebogiimcoedlicjlajpkdmockpc?hl=en\" target=\"_blank\" rel=\"noopener noreferrer\">Facebook Pixel Helper<\/a><\/li>\n<\/ul>\n<p>Implementing, auditing, and debugging depends on the complexity of your tracking needs and code implementation. If you\u2019re not using GTM yet, I\u2019d strongly advise you to make the change unless your tracking needs are simple.<\/p>\n<p>Yes, it will take quite a lot of time to <a href=\"https:\/\/analytics.google.com\/analytics\/academy\/course\/5\" target=\"_blank\" rel=\"noopener noreferrer\">learn if you\u2019re a beginner<\/a>. But the benefits are enormous. You won\u2019t have to contact developers for tracking code changes, and it\u2019s just awesome to have neatly organized containers, tags, triggers, and variables.<\/p>\n<p>Did I mention to test and verify everything?<\/p>\n<p>Ping me on <a href=\"https:\/\/twitter.com\/michalpecanek\" target=\"_blank\" rel=\"noopener noreferrer\">Twitter<\/a>&nbsp;if you have any questions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u2026then you\u2019d probably want to prioritize improving SEO for that&nbsp;page. But what if this data is flawed? There\u2019s a high risk of making bad decisions if you\u2019re blindly relying on the data that you see in Google Analytics. You know<span class=\"ellipsis\">\u2026<\/span><\/p>\n<div class=\"read-more\">Read more \u203a<\/div>\n<p><!-- end of .read-more --><\/p>\n","protected":false},"author":149,"featured_media":34028,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wp_typography_post_enhancements_disabled":false,"footnotes":""},"categories":[335],"tags":[],"coauthors":[375],"class_list":["post-34003","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-general-seo","odd"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>13 Google Analytics Tracking Mistakes (and How to Fix Them)<\/title>\n<meta name=\"description\" content=\"Having flawed data in Google Analytics can lead to bad decisions. Fix these 13 mistakes to minimize data skewing factors.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ahrefs.com\/blog\/google-analytics-tracking-mistakes\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"13 Google Analytics Tracking Mistakes (and How to Fix Them)\" \/>\n<meta property=\"og:description\" content=\"Make better decisions by fixing flawed data in Google Analytics\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ahrefs.com\/blog\/google-analytics-tracking-mistakes\/\" \/>\n<meta property=\"og:site_name\" content=\"SEO Blog by Ahrefs\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Ahrefs\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-03-04T00:02:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-21T15:15:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/fb-google-analytics-tracking-mistakes.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"990\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Michal Pec\u00e1nek\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:description\" content=\"Make better decisions by fixing flawed data in Google Analytics\" \/>\n<meta name=\"twitter:creator\" content=\"@michalpecanek\" \/>\n<meta name=\"twitter:site\" content=\"@ahrefs\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/google-analytics-tracking-mistakes\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/google-analytics-tracking-mistakes\\\/\"},\"author\":{\"name\":\"Michal Pec\u00e1nek\",\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/#\\\/schema\\\/person\\\/b66ba944c48e71d0abac1af2f11265ec\"},\"headline\":\"13 Google Analytics Tracking Mistakes (and How to Fix&nbsp;Them)\",\"datePublished\":\"2020-03-04T00:02:22+00:00\",\"dateModified\":\"2025-07-21T15:15:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/google-analytics-tracking-mistakes\\\/\"},\"wordCount\":2249,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/google-analytics-tracking-mistakes\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/fb-google-analytics-tracking-mistakes.jpg\",\"articleSection\":[\"General SEO\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/ahrefs.com\\\/blog\\\/google-analytics-tracking-mistakes\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/google-analytics-tracking-mistakes\\\/\",\"url\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/google-analytics-tracking-mistakes\\\/\",\"name\":\"13 Google Analytics Tracking Mistakes (and How to Fix Them)\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/google-analytics-tracking-mistakes\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/google-analytics-tracking-mistakes\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/fb-google-analytics-tracking-mistakes.jpg\",\"datePublished\":\"2020-03-04T00:02:22+00:00\",\"dateModified\":\"2025-07-21T15:15:56+00:00\",\"description\":\"Having flawed data in Google Analytics can lead to bad decisions. Fix these 13 mistakes to minimize data skewing factors.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/ahrefs.com\\\/blog\\\/google-analytics-tracking-mistakes\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/google-analytics-tracking-mistakes\\\/#primaryimage\",\"url\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/fb-google-analytics-tracking-mistakes.jpg\",\"contentUrl\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/fb-google-analytics-tracking-mistakes.jpg\",\"width\":1920,\"height\":990},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/\",\"name\":\"SEO Blog by Ahrefs\",\"description\":\"Link Building Strategies &amp; SEO Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/#organization\",\"name\":\"Ahrefs\",\"url\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/ahrefs-logo.png\",\"contentUrl\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/ahrefs-logo.png\",\"width\":2048,\"height\":768,\"caption\":\"Ahrefs\"},\"image\":{\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Ahrefs\\\/\",\"https:\\\/\\\/x.com\\\/ahrefs\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/ahrefs\\\/\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/ahrefscom\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/#\\\/schema\\\/person\\\/b66ba944c48e71d0abac1af2f11265ec\",\"name\":\"Michal Pec\u00e1nek\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/08c8f97481700ebb7fa875d1c0ce2a09bacba7ec4e37d19883377184bc111f03?s=96&d=mm&r=gd907208e0da9767ada4256cffbd6f311\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/08c8f97481700ebb7fa875d1c0ce2a09bacba7ec4e37d19883377184bc111f03?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/08c8f97481700ebb7fa875d1c0ce2a09bacba7ec4e37d19883377184bc111f03?s=96&d=mm&r=g\",\"caption\":\"Michal Pec\u00e1nek\"},\"description\":\"SaaS SEO consultant with over 6 years of experience. Before going freelance, Michal was an SEO &amp; Marketing Educator at Ahrefs\u2013creating content for the blog and managing a team of guest writers.\",\"sameAs\":[\"https:\\\/\\\/www.michalpecanek.com\\\/\",\"michalpecanek\",\"https:\\\/\\\/x.com\\\/michalpecanek\",\"joshua.hardwick@ahrefs.com\"],\"url\":\"https:\\\/\\\/ahrefs.com\\\/blog\\\/author\\\/michal-pecanek\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"13 Google Analytics Tracking Mistakes (and How to Fix Them)","description":"Having flawed data in Google Analytics can lead to bad decisions. Fix these 13 mistakes to minimize data skewing factors.","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:\/\/ahrefs.com\/blog\/google-analytics-tracking-mistakes\/","og_locale":"en_US","og_type":"article","og_title":"13 Google Analytics Tracking Mistakes (and How to Fix Them)","og_description":"Make better decisions by fixing flawed data in Google Analytics","og_url":"https:\/\/ahrefs.com\/blog\/google-analytics-tracking-mistakes\/","og_site_name":"SEO Blog by Ahrefs","article_publisher":"https:\/\/www.facebook.com\/Ahrefs\/","article_published_time":"2020-03-04T00:02:22+00:00","article_modified_time":"2025-07-21T15:15:56+00:00","og_image":[{"width":1920,"height":990,"url":"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/fb-google-analytics-tracking-mistakes.jpg","type":"image\/jpeg"}],"author":"Michal Pec\u00e1nek","twitter_card":"summary_large_image","twitter_description":"Make better decisions by fixing flawed data in Google Analytics","twitter_creator":"@michalpecanek","twitter_site":"@ahrefs","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ahrefs.com\/blog\/google-analytics-tracking-mistakes\/#article","isPartOf":{"@id":"https:\/\/ahrefs.com\/blog\/google-analytics-tracking-mistakes\/"},"author":{"name":"Michal Pec\u00e1nek","@id":"https:\/\/ahrefs.com\/blog\/#\/schema\/person\/b66ba944c48e71d0abac1af2f11265ec"},"headline":"13 Google Analytics Tracking Mistakes (and How to Fix&nbsp;Them)","datePublished":"2020-03-04T00:02:22+00:00","dateModified":"2025-07-21T15:15:56+00:00","mainEntityOfPage":{"@id":"https:\/\/ahrefs.com\/blog\/google-analytics-tracking-mistakes\/"},"wordCount":2249,"commentCount":0,"publisher":{"@id":"https:\/\/ahrefs.com\/blog\/#organization"},"image":{"@id":"https:\/\/ahrefs.com\/blog\/google-analytics-tracking-mistakes\/#primaryimage"},"thumbnailUrl":"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/fb-google-analytics-tracking-mistakes.jpg","articleSection":["General SEO"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ahrefs.com\/blog\/google-analytics-tracking-mistakes\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/ahrefs.com\/blog\/google-analytics-tracking-mistakes\/","url":"https:\/\/ahrefs.com\/blog\/google-analytics-tracking-mistakes\/","name":"13 Google Analytics Tracking Mistakes (and How to Fix Them)","isPartOf":{"@id":"https:\/\/ahrefs.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ahrefs.com\/blog\/google-analytics-tracking-mistakes\/#primaryimage"},"image":{"@id":"https:\/\/ahrefs.com\/blog\/google-analytics-tracking-mistakes\/#primaryimage"},"thumbnailUrl":"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/fb-google-analytics-tracking-mistakes.jpg","datePublished":"2020-03-04T00:02:22+00:00","dateModified":"2025-07-21T15:15:56+00:00","description":"Having flawed data in Google Analytics can lead to bad decisions. Fix these 13 mistakes to minimize data skewing factors.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ahrefs.com\/blog\/google-analytics-tracking-mistakes\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ahrefs.com\/blog\/google-analytics-tracking-mistakes\/#primaryimage","url":"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/fb-google-analytics-tracking-mistakes.jpg","contentUrl":"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2020\/03\/fb-google-analytics-tracking-mistakes.jpg","width":1920,"height":990},{"@type":"WebSite","@id":"https:\/\/ahrefs.com\/blog\/#website","url":"https:\/\/ahrefs.com\/blog\/","name":"SEO Blog by Ahrefs","description":"Link Building Strategies &amp; SEO Tips","publisher":{"@id":"https:\/\/ahrefs.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ahrefs.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/ahrefs.com\/blog\/#organization","name":"Ahrefs","url":"https:\/\/ahrefs.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ahrefs.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2023\/06\/ahrefs-logo.png","contentUrl":"https:\/\/ahrefs.com\/blog\/wp-content\/uploads\/2023\/06\/ahrefs-logo.png","width":2048,"height":768,"caption":"Ahrefs"},"image":{"@id":"https:\/\/ahrefs.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Ahrefs\/","https:\/\/x.com\/ahrefs","https:\/\/www.linkedin.com\/company\/ahrefs\/","https:\/\/www.youtube.com\/c\/ahrefscom"]},{"@type":"Person","@id":"https:\/\/ahrefs.com\/blog\/#\/schema\/person\/b66ba944c48e71d0abac1af2f11265ec","name":"Michal Pec\u00e1nek","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/08c8f97481700ebb7fa875d1c0ce2a09bacba7ec4e37d19883377184bc111f03?s=96&d=mm&r=gd907208e0da9767ada4256cffbd6f311","url":"https:\/\/secure.gravatar.com\/avatar\/08c8f97481700ebb7fa875d1c0ce2a09bacba7ec4e37d19883377184bc111f03?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/08c8f97481700ebb7fa875d1c0ce2a09bacba7ec4e37d19883377184bc111f03?s=96&d=mm&r=g","caption":"Michal Pec\u00e1nek"},"description":"SaaS SEO consultant with over 6 years of experience. Before going freelance, Michal was an SEO &amp; Marketing Educator at Ahrefs\u2013creating content for the blog and managing a team of guest writers.","sameAs":["https:\/\/www.michalpecanek.com\/","michalpecanek","https:\/\/x.com\/michalpecanek","joshua.hardwick@ahrefs.com"],"url":"https:\/\/ahrefs.com\/blog\/author\/michal-pecanek\/"}]}},"_links":{"self":[{"href":"https:\/\/ahrefs.com\/blog\/wp-json\/wp\/v2\/posts\/34003","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ahrefs.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ahrefs.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ahrefs.com\/blog\/wp-json\/wp\/v2\/users\/149"}],"replies":[{"embeddable":true,"href":"https:\/\/ahrefs.com\/blog\/wp-json\/wp\/v2\/comments?post=34003"}],"version-history":[{"count":0,"href":"https:\/\/ahrefs.com\/blog\/wp-json\/wp\/v2\/posts\/34003\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ahrefs.com\/blog\/wp-json\/wp\/v2\/media\/34028"}],"wp:attachment":[{"href":"https:\/\/ahrefs.com\/blog\/wp-json\/wp\/v2\/media?parent=34003"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ahrefs.com\/blog\/wp-json\/wp\/v2\/categories?post=34003"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ahrefs.com\/blog\/wp-json\/wp\/v2\/tags?post=34003"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/ahrefs.com\/blog\/wp-json\/wp\/v2\/coauthors?post=34003"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}