Override referrer variable with blank value

Description

Environment
Adobe Analytics

Issue
Redirects point the web browser to a new location without user interaction. Consult Redirects and aliases in Adobe Analytics in Adobe Experience League for more information.

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

Solution
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 Adobe Analytics Documentation in Adobe Experience League.

On this page