Link tracking hits can populate one of three dimensions:
linkType variable to determine which dimension you want to populate when running the next
Set the link type when configuring a rule to send a beacon.
s.tl()radio button which reveals the Link Type dropdown.
You can set this dropdown to Custom Link, Download Link, or Exit Link.
s.linkType variable is a string that accepts one of three single-character values:
e. If a
tl() method is called without a link type, it defaults to Custom link.
o- Custom links
d- Download links
e- Exit links
This variable is the second parameter of the
tl() method, and usually does not need to be set as a standalone variable. However, you can use the
linkType variable if you do not want to set values as arguments in the
s.linkType = "e";
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");