Override referrer variable with blank value

Last update: 2023-09-22

Description

Environment
Adobe Analytics

Issue
Redirects point the web browser to a new location without user interaction. Consult Redirects and aliases in the Adobe Analytics Implementation documentation.

When the redirection occurs, the browser clears the referring URL and assigns the originating URL as the referrer.

How can the referrer value be cleared to get the right attribution?

Resolution

To assign a blank value in the referrer variable, place the below piece of code within the doPlugins section:

s.referrer='';
s.Ia=1; //This is an 'eye' and not an 'ell'

For more information on doPlugins, see the doPlugins article in the Adobe Analytics Implementation documentation.

On this page