The variable can be used to restore lost referrer information.
Traffic > Finding Methods Conversion > Finding Methods
For Analytics to record a referrer, it must be "well formed," meaning that it must follow the standard URL format, with a protocol and appropriate location.
Syntax and Possible Values
Only URL-compatible values should be in the referrer . Make sure the string is URL encoded (no spaces).
s.referrer="https://www.google.com/search?q=search+string" s.referrer=<%=referrerVar%> // populated server-side if(s.getQueryParam('ref') s.referrer=s.getQueryParam('ref')
Pitfalls, Questions, and Tips
The referrer must look like a standard URL and include a protocol.