linkName variable to determine the dimension item of custom links, download links, or exit links when running the next
If this variable is blank, AppMeasurement reverts to the
You can set the link name field when configuring a rule to send a beacon.
s.tl()radio button which reveals the Link Name field.
s.linkName variable is a string that determines the dimension item for custom links, download links, or exit links (depending on what
s.linkType is). It can hold up to 100 bytes.
This variable is the third parameter of the
tl() method, and usually does not need to be set as a standalone variable. However, you can use the
linkName variable if you do not want to set values as arguments in the
s.linkName = "Example custom link";
The following two example link tracking calls are functionally identical. They are different methods to accomplish the same link tracking hit.
// Set link tracking arguments as individual variables s.linkType = "d"; s.linkName = "Example download link"; s.tl(); // Set link tracking arguments directly in the tl() function s.tl(this,"d","Example download link");