To track website visits from specific pages or events, Adform uses a standard unique tracking code. The tracking code logs users' visits and sends basic browser information, such as browser type, operating system, or screen size, to Adform. This data helps attribute visits to specific campaigns.
Note
To track multiple pages, we recommend using either URL Path or custom tracking points. This is effective for smaller websites, as each page can have its own tracking point.
For very large websites (for example, with more than 10,000 pages), it may be impractical to give each page a unique tracking point. In this case, you can group pages with similar content or functionality and then assign tracking points based on these groupings.
By default, the code loads asynchronously, so it can be implemented to any part of the web page code. If you don't need to pass additional parameters, such as 'sales', 'order ID', and others, you can paste it into the source code of the page or tag management solution.
Note
In rare cases, when you need to load the tracking code before the rest of the page continues loading, you might use asynchronous implementation. Use this option only if you have specific requirements that depend on the tracking code running before other website scripts.
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.
Note
For more information, see Variables (JavaScript).
By passing extended identifiers (EIDs) with tracking point requests, you can build audiences based on first-party data.
JavaScript-based tags support the common openRTB eids format.
After implementing the tracking point on a page, to check if it was activated, you can use Adform Site Tracking Helper extension for Chromium-based browsers.
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 (site-tracking@adform.com).