Unique Naming (Javascript)

Toma
  • Updated

Adform standard unique tracking code is used to track visits to a website from a specific page or event. The tracking code utilizes JavaScript functions, which gather visit count, basic visitor information (such as browser type, operating system, or screen size) and sends this information along with campaign data to Adform servers.

For multiple page tracking, we recommend using either URL Path, or custom tracking points.

Implementation

The code can be implemented to any part of the web page code, since it loads asynchronously. If there is no need to pass additional parameters (such as ‘sales’, ‘order ID’, and others), it can be copy-pasted to the source code of the page or tag management solution.

Custom Variables

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.

Extended IDs

By passing extended identifiers with tracking point requests, you can collect first-party data-based audiences.

Javascript based tags support common openRTB eids format.

Check Implementation

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:

Network

Successful activation will result in two network requests, which are:

  1. Tracking point library

  2. 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).

Was this article helpful?

/
How we can make it better?

Thank you for your feedback!