Search
Clear search
Close search
Google apps
Main menu

Referral exclusions

This feature is only available for properties using Universal Analytics.

Referral traffic is the segment of traffic that arrives on your website through another source, like through a link on another domain. Analytics automatically recognizes where traffic was immediately before arriving on your site, and displays the domain names of these sites as the referral traffic sources in your reports.

How excluding referral traffic affects your data

By default, a referral automatically triggers a new session. When you exclude a referral source, traffic that arrives to your site from the excluded domain doesn’t trigger a new session. If you want traffic arriving from a specific site to trigger a new session, don't include that domain in this table.

Because each referral triggers a new session, excluding referrals (or not excluding referrals) affects how sessions are calculated in your account. The same interaction can be counted as either one or two sessions, based on how you treat referrals. For example, a user on my-site.com goes to your-site.com, and then returns to my-site.com. If you do not exclude your-site.com as a referring domain, two sessions are counted, one for each arrival at my-site.com. If, however, you exclude referrals from your-site.com, the second arrival to my-site.com does not trigger a new session, and only one session is counted.

Learn more about how sessions work in Analytics

Common uses for referral exclusions

Third-party payment processors

A common use for this feature is to prevent third-party shopping carts from starting second sessions. When the third-party shopping cart is in the exclusion list, a user will no longer initiate a new session, and won't be counted as a referral when they return to your order-confirmation page after checking out on the third-party site.

Cross-subdomain tracking

When your domain is in the exclusion list, then users can cross from one subdomain on your site to another without starting a new session. Without your domain in the exclusion list, when a user goes from one subdomain to another on your site, Analytics sees that as a referral from one hostname to another and starts a new session. As a result, your reports can have artificially inflated session counts.

When you initially set up your Analytics property, your domain is automatically added to the referral exclusion list. As a result, you shouldn't see self-referrals if you have a web property that tracks multiple subdomains.

The referral exclusion list

Only traffic from the domain entered in the referral exclusions list and any subdomains are excluded. Traffic from domains that only have substring matches are not excluded.

For example, if you add example.com to the list of referral exclusions, traffic from the domain example.com and the subdomain another.example.com is excluded. Traffic from another-example.com is not excluded.

Adding referral traffic sources

  1. Sign in to your Analytics account.
  2. Click Admin in the menu bar at the top of any page.
  3. In the ACCOUNT column, use the dropdown to select the Analytics account that contains the property you want to work with.
  4. In the PROPERTY column, use the dropdown to select a property.
  5. Click Tracking Info.
  6. Click Referral Exclusion List.
  7. To add a domain, click +ADD REFERRAL EXCLUSION.
  8. Enter the Domain name.
  9. Click Create to save.

Removing referral traffic sources

If you've added a domain to the list of exclusions, you can reintroduce that traffic as a referring source in your reports by removing the domain from the list of excluded domains.

Follow steps 1-6 above. In the table, click remove in the row of the domain you want to remove. Click Delete domain to save.

Make sure the referral exclusion list is working

The best way to validate that the referral exclusion list is set up correctly is to use Google Tag Assistant Recordings. When you make a session that crosses domains, it can tell you instantly whether an extra session was created.

View an example report that shows how Tag Assistant Recordings highlights the problem.

Why returning users from excluded domains still appear in your reports

This issue results from the default campaign timeout of 6 months:

  • User A arrives to your site via a referral from Domain B before you add that domain to the Referral Exclusion List.
  • That first session is attributed to Domain B.
  • You add Domain B to the Referral Exclusion List.
  • User A returns directly to the site (e.g., via a bookmark).
  • Because of the last-non-direct-click attribution model, this second session is also attributed to Domain B.

Related resources

For more information on traffic sources:

Was this article helpful?
Google Analytics training and support resources

Check out our comprehensive list to learn more about Analytics solutions.