# How to add a referral exclusion list in GA4

Referrals are the portion of the traffic that reaches your website via a hyperlink from a different domain.

Google Analytics automatically recognizes where traffic is referred from before arriving on your site, and displays the domain names of these sites as the referral source in your reports.

### Why do you need to exclude referrers?

However, sometimes a session is **incorrectly marked as a referral**, when it is really part of the same user journey.

To make sure you don't break the user session with an incorrect referral, you can create a set of conditions that identify the domains whose traffic you **don't want** to include as referrals.

Google Analytics previously called this 'referral exclusion' but now calls the feature 'unwanted referrals'.

### What referrers to exclude

Here are some scenarios in which you would not want to identify traffic from a domain as referrals:

* **Third-party payment processors** where users return to your site after checking out on the third-party domain ( i.e PayPal)
* **3D secure pages** where the user is directed to to verify a credit card purchase
* **Landing pages** that you control but are part of another domain. Note: you'll need to set up [cross domain tracking](https://support.google.com/analytics/answer/10071811?hl=en) for these pages.
* **Other third-party interactions** that are part of the user flow on your website, such as managing the account or password recovery

{% hint style="success" %}
We don't recommend excluding your own domain, as this can mark self-referrals which are generally caused by missing tracking
{% endhint %}

### Configuring unwanted referrals

1. In [Admin](https://support.google.com/analytics/answer/6132368), click **Data Streams** in the Property column, and select a web data stream
2. In the web stream details, click **Configure tag settings** (at the bottom)
3. In the Settings section, click **Show all** to see all available settings
4. Click **List unwanted referrals.**

![How to List unwanted referrals](https://3956158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QhTbrMraNWciQeDvu1b%2Fuploads%2Fgit-blob-98f2640b7b75ba3ae8525db9af9f2285af7b3a2d%2Fconfiguring_unwanted_referrals-1-.gif?alt=media)

5. Under *Include referrals that match ANY of the following conditions*:

* Choose a match type
* Under *Domain*, enter the identifier for the domain you want to match (e.g. example.com).
* Click **Add condition** to add another domain.

![](https://3956158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QhTbrMraNWciQeDvu1b%2Fuploads%2Fgit-blob-498eca3c17ccce0004d22baa725f299c5c0fe69b%2Flist_unwated_referrals-1-.png?alt=media)

6. Click **Save**.

#### How to see referral traffic in GA4

1. Navigate to the **Reports** tab on the left side

   ![](https://3956158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QhTbrMraNWciQeDvu1b%2Fuploads%2Fgit-blob-5ec2a58cb1a4b4c2d0187876145c508614de8930%2Fscreen-shot-2023-09-04-at-3.36.54-pm.png?alt=media)
2. Go to the **Acquisition > Traffic Acquisition** report

   ![](https://3956158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QhTbrMraNWciQeDvu1b%2Fuploads%2Fgit-blob-bf297955164fe12ab50e601a2b54331f2f0fbd8c%2Fscreen-shot-2023-09-04-at-3.38.03-pm.png?alt=media)
3. Scroll down until you see the search box and type **referral**

   ![](https://3956158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QhTbrMraNWciQeDvu1b%2Fuploads%2Fgit-blob-429cfb92dcdfc80ae90f1d2b8595588b7bea1f15%2Fscreen-shot-2023-09-04-at-3.50.20-pm.png?alt=media)
4. Click on "**Session default channel group**" and select **source/medium**

   ![](https://3956158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QhTbrMraNWciQeDvu1b%2Fuploads%2Fgit-blob-1e02a20f2af9a93bd5fc254e75643b22c839df4f%2Fscreen-shot-2023-09-04-at-3.51.34-pm.png?alt=media)
5. You will now be able to see referral traffic in GA4:

   ![](https://3956158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QhTbrMraNWciQeDvu1b%2Fuploads%2Fgit-blob-7187f809151bb8366fd2bc22f23c0eacfc74e128%2Fscreen-shot-2023-09-04-at-3.54.01-pm.png?alt=media)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.littledata.io/google-analytics/setup/add-referral-exclusion-list-ga4.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
