Add Tracking Code Library
In order for the tracking function to send out tracking requests, the library must be loaded on the page beforehand:
It can be added either in the
<body> sections of the website prior to the click tracking function:
<button type="button">Click here!</button>
The tracking point library needs to be loaded only once per page in case of multiple click tracking point implementation.
Add Click Tracking Function
Once the library is added to the page, you can add the click tracking function to track the needed element on the page. In most cases, it can be added via 'onclick' event.
The tracking function also supports custom implementation within page code functions, or via tag management solutions which support event triggers.
Additional information can be collected by the tracking point with the use of variables, such as sales, order IDs, product names, or other custom values.
To collect values from your website, you can use macros from the CMS or tag manager system. Pass this information to the code via respective system variables, data layer, or other tools to get variable values from the site.
By passing extended identifiers with tracking point requests, you can collect first-party data-based audiences.
After implementing the tracking point on a page, you can check if it was activated using Adform site tracking testing browser extension. You can download it for a Chrome browser from the Chrome web store.
Alternatively, you can check network requests via the browser’s developer tools:
Successful activation will result in two network requests, which are:
Tracking point library
A tracking point request, which contains the tracking setup ID, tracking point name, and other information sent
For additional information, contact the Site Tracking team (firstname.lastname@example.org).