Unique Naming (Javascript)

Solveiga
Solveiga
  • Updated

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.

Implementation

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.

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.

Note

For more information, see Variables (JavaScript).

Extended IDs

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.

A visitor ID that Adform adds to the audience after applying ID Fusion, or lookalike modeling. Extended IDs are additional entities in the audience, that Adform adds programmatically, based on the seed audience.

Check Implementation

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:

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

A visitor ID that Adform adds to the audience after applying ID Fusion, or lookalike modeling. Extended IDs are additional entities in the audience, that Adform adds programmatically, based on the seed audience.

Was this article helpful?

/
How we can make it better?

Thank you for your feedback!