Show Menu
TOPICS×

s.linkLeaveQueryString

By default, query strings are excluded from all reports.
For some exit links and download links, the important portion of the URL can be in the query string, as shown in the following sample URL.
https://www.mycompany.com/download.asp?filename=myfile.exe

The download file name can be defined in the query string and, consequently, the query string is necessary to make the File Downloads report more accurate.
The linkLeaveQueryString variable determines whether or not the query string should be included in the Exit Links and File Download reports.
Max Size
Debugger Parameter
Reports Populated
Default Value
N/A
N/A
Exit Links File Downloads
false
Setting linkLeaveQueryString=true includes all query string parameters for all exit links and download links.

Syntax

s.linkLeaveQueryString=[false/true]

Examples

s.linkLeaveQueryString=false

Possible Values

s.linkLeaveQueryString=false

s.linkLeaveQueryString=true

Configuration Settings

No configuration is necessary for this variable.

Pitfalls, Questions, and Tips

  • Setting s.linkLeaveQueryString=true includes all query string parameters for all exit links and download links.
  • The linkLeaveQueryString variable does not affect recorded page URLs, visitor click map, or Path reports.