addListener

The addListener() method adds automatic link tracking to an HTML element. You can use it to track links added to a document after a page load.

Syntax

addListener(domElement)
Not available
Not available
Not available
Not available
Not available
Not available

Parameters

domElement (DOM element, required)

The element that you want to track as a link.

Examples

To add a link to this element #dynamically-added-link:

_paq.push(["addListener", document.querySelector("#dynamically-added-link")]);
Not available
Not available
Not available
Not available
Not available
Not available