Some implementations don’t want to include all variables in all link tracking image requests. Use the
linkTrackEvents variables to selectively include dimensions and metrics in
This variable is not used for page view calls (
Adobe Experience Platform automatically populates this variable on the backend based on variables set in the interface, so it is always set in implementations using tags in Adobe Experience Platform.
If you set variables using the custom code editor, you must include the variable in
linkTrackVars using custom code as well.
s.linkTrackVars variable is a string containing a comma-delimited list of variables that you want to include in link tracking image requests (
tl() method). Both of the following criteria must be met to include dimensions in link tracking hits:
s.eVar1 = "Example value";.
linkTrackVarsvariable. For example,
s.linkTrackVars = "eVar1";.
s.linkTrackVars = "eVar1,eVar2,events,channel,products";
The default value for this variable is an empty string. However, Adobe provided AppMeasurement code in the Code Manager where this variable is set to
"None". Valid values are any page-level variable that populates a dimension.
"None", no variables are included in link tracking image requests.
Avoid using the Analytics object identifier (
s.) when specifying variables in this variable. For example,
s.linkTrackVars = "eVar1"; is correct, while
s.linkTrackVars = "s.eVar1"; is incorrect.
The following link tracking function includes only
eVar2) in the image request sent to Adobe:
s.eVar1 = "Example value 1"; s.eVar2 = "Example value 2"; s.linkTrackVars = "eVar1"; s.tl(this,"o","Example Custom Link");