Links can be set manually or tracked
. Manual tracking is done by adding the details under the
part of the schema. There are three required variables:
"name":"My Custom Link", //Name that shows up in the custom links report
"URL":"https://myurl.com", //the URL of the link
"type":"other", // values: other, download, exit
The link type can be one of three values:
Automatic link tracking
By default, the Web SDK captures,
link tags. Clicks are captured with a
click event listener that is attached to the document.
Disabling automatic link tracking can be done by
the Web SDK.
What tags qualify for link-tracking?
Automatic link tracking is done for anchor
tags. However, these tags aren't considered for link tracking if they have an attached
How are links labeled?
Links are labeled as a download link if the anchor tag includes a download attribute or if the link ends with a popular file extension. The download link qualifier can be
with a regular expression:
Links are labeled as an exit link if the link target domain differs from the current
Links that do not qualify as a download or exit link are labeled as "other."