Self-referral Google Analytics 4 – Referral exclusion GA4

Table of Contents for Self-referral Google Analytics 4 – Referral exclusion GA4

  1. A quick recap of referral traffic
  2. Referrals exclusion list vs. list unwanted referrals
  3. Automatic self-referral detection
  4. How to configure the ‘unwanted referrals’ list in GA4?
  5. Use cases for adding domains to the ‘unwanted referrals’ list in GA4
  6. FAQ
  7. Other articles related to GA4 (Google Analytics 4)

A quick recap of referral traffic

Referral traffic in Google analytics 4 is a Google Analytics session that starts with a referrer being passed by the users’ web browser. When a Google Analytics session starts without a referrer being passed by the users’ web browser then that GA session is reported as ‘direct traffic‘.

Technically speaking, the traffic from any website to your website is referral traffic.

You can see the referral traffic in GA4 by following the steps below:

Step-1: Log in to your Google Analytics 4 account.

Step-2: Click on the ‘Reports’ link in the left-hand side menu.

Reports 1

Step-3: Navigate to Acquisition > Traffic Acquisition report:

traffic acquization

Step-4: Type ‘referral’ in the search box and then press the enter key:

referral traffic

Referrals Exclusion List vs. List Unwanted Referrals

list vs unwanted referral

Google Analytics 4 allows you to set condition(s) that identifies unwanted referrals and prevent them from being reported as referral traffic:

configuration

This way you don’t see the referral traffic from certain domains (like your own domain or from a payment gateway like PayPal) in your GA4 reports.

In the earlier version of Google Analytics (Universal Analytics) this functionality was called the referrals exclusion list. We use the referral exclusion list to create a list of domains whose traffic will be reported as direct traffic instead of referral traffic. 

Now in the case of Google analytics 4, the ‘referral exclusion list’ is known as the “List unwanted referrals” or better say “unwanted referrals” list

List unwanted referrals2

When you add a domain to the “Unwanted referrals” list, Google Analytics 4 will evaluate the events from the excluded domain and appends “ignore_referrer” parameter with a value “true” to every event that matches the conditions (ignore_referrer=true).

Let’s take an example here.

Suppose you have two domains as “www.abc.com” and “www.paypal.com”. 

A user navigates from “www.abc.com” to “www.paypal.com” to complete a purchase and then navigates back to www.abc.com

In this case, the traffic from “www.paypal.com” will be reported as “www.paypal.com/referral” in Google Analytics 4 reports of  “www.abc.com”.

Now if you do not want the traffic from “www.paypal.com” to be reported as referral traffic then you add this domain to the “Unwanted referrals” list:

paypal

Similarly, if you want to avoid self-referral issues (where your own domain appear as referral traffic), you should add your domain to the “Identify Unwanted domains” list:

own domain

Automatic self-referral detection

Google Analytics 4 can automatically detect and fix self-referral issues (where your own domain appear as referral traffic) as long as the following conditions are met:

  1. The referrer contains your domain name and the current URL contains the global site tag.
  2. The referrer is as a result of cross-domain tracking set up between the domains you own and the current URL contains the “_gl” parameter (Note: with cross-domain tracking implemented, when the user navigates to a different domain, analytics cookies are passed from one domain to another domain via the linker parameter identified as “_gl”.)

The automatic self-referral detection feature of GA4 may not always be able to fix the self-referral issues

The automatic self-referral detection feature of GA4 will not be able to fix the self-referral issues if some of the pages of your website do not contain the global site tag and a user navigates to such a page.

So the best practice is to add your domain name to the unwanted referral list.

own domain

How to configure the ‘unwanted referrals’ list in GA4?

Follow the steps below:

Step-1: Navigate to your GA4 view and then click on ‘Admin’:

Admin 1

Step-2: Click on ‘Data Streams’ under the ‘Property’ column:

admin settings overlay

Step-3: Click on the name of the web data stream for which you want to configure the unwanted referrals list in GA4:

data streams 1

Step-4: Scroll down and then click on the ‘More Tagging Settings’ link:

more tagging settings

Step-5: Click on the “List unwanted referrals” option:

list unwanted referrals

You should now see an overlay like the one below:

unwaanted referral ovrlay

Step-6: Click on the ‘Pencil’ icon:

pencil icon

Step-7: Enter the domain name you want to add to the unwanted referrals list in GA4 and then click on the ‘Save’ button:

save

Step-8: To add more domains to the unwanted referrals list in GA4, repeat the steps 5 & 6 and then click on the ‘Add Condition’ button:

Add condition

Note: Conditions are evaluated using OR logic.

Step-9: Enter the domain name you want to add to the unwanted referrals list in GA4 and then click on the ‘Save’ button:

save option 2

Congratulations.

You have successfully added unwanted domain(s) to the referral list. Now going forward the traffic from added domains won’t appear as referral traffic.

Note: For the previous period (i.e. the date before the domain was added to the unwanted referral list) the added domain(s) would still appear in your GA4 reports as referral traffic.

Use cases for adding domains to the ‘unwanted referrals’ list in GA4

Well, there are many scenarios where you don’t want to identify the traffic as referral traffic. Here are a few examples of them.

Payment gateway

paypal

Your website is built in such a way that a user has to navigates from your website to a third-party website for completing a purchase and then navigate back to your website after the payment is completed.

In this case, the traffic from the payment gateway website (like paypal.com) will be reported as referral traffic.

In order to get unified measurement across your domain and paypal.com, you would not want traffic from PayPal to be categorized as referral traffic. Since PayPal traffic is not relevant as referral traffic, you would like to add it to the “unwanted referrals” list.

Website Users interactions managed by third-party domains

hwmail

There are many scenarios where your website users interactions need to be managed by a third-party domain.

For example, you could be using a third-party domain/service for sending emails to your users to reset their password or to confirm their registration. And when a user clicks on a link in the email, he is first redirected to the third-party domain before being redirected back to your website.

In such a scenario, you would not want the third-party domain to be categorized as referral traffic. So, you should consider adding this domain to the ‘unwanted referrals’ list.

Frequently Asked Questions about Self-referral Google Analytics 4 – Referral exclusion GA4

What self-referral in Google Analytics 4 (GA4)?

A self-referral is referral traffic that originates from pages within your own domains. By default, Google Analytics 4 will not identify traffic as a referral if the referring website matched the same domain of the current page or any of its subdomains.

How do I identify referral traffic in Google Analytics 4 (GA4)?

You can see the referral traffic in GA4 by following the steps below:
Step-1: Log in to your Google Analytics 4 account.
Step-2: Click on the ‘Reports’ link in the left-hand side menu.
Step-3: Navigate to Acquisition > Traffic Acquisition report:
Step-4: Type ‘referral’ in the search box and then press the enter key. You will see traffic from referrals only.

How to filter unwanted referral traffic in Google Analytics 4 (GA4)?

You remove the unwanted referral traffic in GA4 by following the steps below:
Step-1: Navigate to your GA4 view and then click on ‘Admin’:
Step-2: Click on ‘Data Streams’ under the ‘Property’ column:
Step-3: Click on the name of the web data stream for which you want to configure the unwanted referrals list in GA4:
Step-4: Scroll down and then click on the ‘More Tagging Settings’ link:
Step-5: Click on the “List unwanted referrals” option
Step-6: Enter the domain name you want to add to the unwanted referrals list in GA4 and then click on the ‘Save’ button.

Other articles related to GA4 (Google Analytics 4)

#1 GA4 Intro

  1. What is GA4 (Google Analytics 4) – The Apps + Web Property?
  2. Key Benefits of Using Google Analytics 4 (GA4)
  3. How to upgrade to GA4 (Google Analytics 4)
  4. Google Analytics 4 (GA4) vs Universal Analytics – What is the difference?
  5. Google Signals GA4 – See demographics (gender, age) in Google Analytics 4
  6. Understanding Google Analytics Measurement ID (GA4)
  7. Google Analytics 4 training and tutorial
  8. Using the GA4 test property

#2 GA4 Integration

  1. How to connect GA4 (Google Analytics 4) with Google Data Studio
  2. How to link GA4 (Google Analytics 4) with Google Ads
  3. GA4 BigQuery – Connect Google Analytics 4 with BigQuery

#3 GA4 Events

  1. GA4 (Google Analytics 4) Event Tracking Setup Tutorial
  2. How to set up GA4 Custom Events via Google Tag Manager
  3. GA4 (Google Analytics 4) Enhanced Measurement Tracking Tutorial
  4. Events Report in Google Analytics 4 (GA4)
  5. GA4 User Properties (User Scoped Custom Dimensions) – Tutorial
  6. Event Scoped Custom Dimensions in GA4 – Tutorial

#4 GA4 Conversions

  1. GA4 (Google Analytics 4) Conversion Tracking Guide
  2. How to import conversions from GA4 property to your Google Ads account

#5 GA4 Dimensions and Metrics

  1. GA4 Metrics Tutorial with Free Google Analytics 4 Ebook
  2. GA4 Custom Metrics Tutorial
  3. GA4 Dimensions Tutorial
  4. GA4 Custom Dimensions Tutorial

#6 GA4 Ecommerce

  1. GA4 (Google Analytics 4) Ecommerce Tracking via GTM – Tutorial

#7 GA4 Specialized Tracking

  1. Cross Domain Tracking in GA4 (Google Analytics 4) Setup Guide
  2. GA4 Site Search – Tracking Site Search in Google Analytics 4
  3. GA4 (Google Analytics 4) Scroll Tracking Tutorial
  4. How to Install Google Analytics 4 on Shopify
  5. Self-referral Google Analytics 4 – Referral exclusion GA4
  6. GA4 Data Import Tutorial

#8 GA4 filters

  1. GA4 filters – Understanding data filters in Google Analytics 4
  2. How to create and test filters in Google Analytics 4 (GA4)?
  3. Exclude internal traffic in GA4 (Google Analytics 4) via IP filter

#9 GA4 Analysis Hub

  1. Analysis Hub Google Analytics – Exploration Report in GA4 (Google Analytics 4)
  2. How to use the user lifetime report in Google Analytics 4 (GA4)
  3. How to use path analysis report in Google Analytics 4 (GA4)
  4. How to use Segment Overlap Report in Google Analytics 4 (GA4)
  5. How to use the Funnel Analysis Report in Google Analytics 4 (GA4)

#10 GA4 Advanced

  1. How to use Debug View report in Google Analytics 4 (GA4)
  2. Understanding GA4 measurement protocol
  3. How to create a remarketing audience in Google Analytics 4 (GA4)
  4. GA4 Audiences – Creating custom audience in Google Analytics 4
  5. How to build comparison (Advanced segment) in Google Analytics 4 (GA4)

#11 GA4 Reporting

  1. How to create custom insights in Google Analytics 4 (GA4)

Register for the FREE TRAINING...

"How to use Digital Analytics to generate floods of new Sales and Customers without spending years figuring everything out on your own."



Here’s what we’re going to cover in this training…

#1 Why digital analytics is the key to online business success.

​#2 The number 1 reason why most marketers are not able to scale their advertising and maximize sales.

#3 Why Google and Facebook ads don’t work for most businesses & how to make them work.

#4 ​Why you won’t get any competitive advantage in the marketplace just by knowing Google Analytics.

#5 The number 1 reason why conversion optimization is not working for your business.

#6 How to advertise on any marketing platform for FREE with an unlimited budget.

​#7 How to learn and master digital analytics and conversion optimization in record time.



   

My best selling books on Digital Analytics and Conversion Optimization

Maths and Stats for Web Analytics and Conversion Optimization
This expert guide will teach you how to leverage the knowledge of maths and statistics in order to accurately interpret data and take actions, which can quickly improve the bottom-line of your online business.

Master the Essentials of Email Marketing Analytics
This book focuses solely on the ‘analytics’ that power your email marketing optimization program and will help you dramatically reduce your cost per acquisition and increase marketing ROI by tracking the performance of the various KPIs and metrics used for email marketing.

Attribution Modelling in Google Analytics and BeyondSECOND EDITION OUT NOW!
Attribution modelling is the process of determining the most effective marketing channels for investment. This book has been written to help you implement attribution modelling. It will teach you how to leverage the knowledge of attribution modelling in order to allocate marketing budget and understand buying behaviour.

Attribution Modelling in Google Ads and Facebook
This book has been written to help you implement attribution modelling in Google Ads (Google AdWords) and Facebook. It will teach you, how to leverage the knowledge of attribution modelling in order to understand the customer purchasing journey and determine the most effective marketing channels for investment.

About the Author

Himanshu Sharma

  • Founder, OptimizeSmart.com
  • Over 15 years of experience in digital analytics and marketing
  • Author of four best-selling books on digital analytics and conversion optimization
  • Nominated for Digital Analytics Association Awards for Excellence
  • Runs one of the most popular blogs in the world on digital analytics
  • Consultant to countless small and big businesses over the decade
error: Alert: Content is protected !!