{"id":4560,"date":"2020-08-17T09:00:00","date_gmt":"2020-08-17T06:00:00","guid":{"rendered":"https:\/\/trackingchef.com\/?p=4560"},"modified":"2022-09-04T17:39:16","modified_gmt":"2022-09-04T14:39:16","slug":"fixing-traffic-sources-mistakenly-reported-as-referrals","status":"publish","type":"post","link":"https:\/\/trackingchef.com\/google-analytics\/fixing-traffic-sources-mistakenly-reported-as-referrals\/","title":{"rendered":"Fixing traffic sources mistakenly reported as referrals"},"content":{"rendered":"\n

The acquisition section in Google Analytics answers one of the key questions marketers are measuring: How are people finding my website? <\/p>\n\n\n\n

Whether you\u2019re a website owner or a marketer, answering this simple question is crucial for you. Resources are limited and we must measure success to distribute them as best we can. That is why understanding what are the biggest sources of traffic, and, in turn, conversions, is so important. <\/p>\n\n\n\n

You want this information to be as accurate as possible, but the default reports are not always precise. In this guide, I\u2019ll explain how the information is collected, why there is a problem, and show the technique to fix this in a few easy steps. <\/p>\n\n\n\n

How does GA derive the traffic source\/grouping<\/h2>\n\n\n\n

A visitor’s traffic source is derived from their browsing behavior. When a user clicks a link on their browser the information about the current page is passed to the destination page. This is known as the referral URL, which can be extracted using the document.referrer<\/em> method in JavaScript.<\/p>\n\n\n

\n
\"\"
Attributing user clicking from a previous site or page<\/figcaption><\/figure><\/div>\n\n\n

All visitors report the last page they came from, the referrer. The referrer is passed with every Google Analytics pageview and then parsed:<\/p>\n\n\n\n

  1. If the referrer’s domain is the same as the site’s, treat it as navigation in the site
    (if it’s the first pageview of the visit, it will be treated as a self-referral)<\/li>
  2. If the referrer’s domain is different from the site’s, try to categorize it into one of the Channel Groupings<\/li><\/ol>\n\n\n\n

    This is true for all pages, regardless of on or off your site. It\u2019s part of the HTTP request when loading a page: <\/p>\n\n\n\n

    a user clicks a hyperlink in a web browser > the browser sends a request to the server holding the destination webpage > Google Analytics gets the referrer URL > Google Analytics divides the URLs into the traffic sources categories.<\/p>\n\n\n\n

    Traffic sources breakdown<\/h2>\n\n\n\n

    These traffic source categories are defined under a feature called Content Grouping. Content Grouping allows a rule-based customization of the way your data is aggregated in Google Analytics. <\/p>\n\n\n\n

    You could create a new group or edit an existing default one. For example, if you have a clothing e-commerce store, you might want to add content groups for men and women. Inside each group, you\u2019ll have different product pages.<\/p>\n\n\n\n

    The channel grouping you get by default in Google Analytics is the traffic source grouping. It groups various traffic sources into several categories, with these four the most common ones:<\/p>\n\n\n\n