Override referrer variable with blank value

Description 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 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.

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f