From September, Flash will no longer be supported by Chrome. Prepare for the shift towards HTML5 by visiting our Flash to HTML5 help page

Check it out!

URL path naming

Introduction

Adform URL path iframe tracking code is used to track the visits of a website either on one specific page, or multiple pages - this code generates unique tracking points based on the URLs where it is activated from.
The tracking code utilizes functions, which gather visit count, basic visitor information (e.g. browser type, operating system or screen size) and sends this information along with campaign data to Adform servers.
Iframe tracking code is HTML technology based, therefore it is more convenient to use when JavaScript is, for example, not allowed for security reasons.

In case of website with dynamic URL appending (such as "website.com/?pageId=3" or "website.com/?pageName=homepage" etc.) it would be best to consider using Custom naming tracking instead.

 

Implementation

The code can be implemented to any part of the web page code, however it is recommended to add it to the lowest <BODY> section levels. If there is no need to pass additional parameters (such as ‘sales’, ‘order id’ etc.), it can be copy pasted to the source code of the page or respective tag management field which supports HTML code.

Example tracking code:

<iframe src="https://track.adform.net/Serving/TrackPoint/?pm={trackingID}&ADFtpmode=4" style="display:none;"></iframe>


Implement the code received to any part of the source code or respective tag management field which supports HTML code.

 Example HTML page implementation:

<html>
<head>
    <title>Homepage</title>
</head>
<body>
<iframe src="https://track.adform.net/Serving/TrackPoint/?pm=520801&ADFtpmode=4" style="display:none;"></iframe>
</body>
</html>

As the tracking point generates tracking points dynamically, it is recommended to exclude it from pages that are not required to be tracked, such as development, CMS or test pages. 

 

  • Custom variables

    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.

    For conversion page tracking we recommend implementing Unique naming tracking.


    To collect values from the website macros from the CMS or tag manager system can be used - this information should be passed to the code via respective system variables, data layer or other tools to get variable values from the site.

    Example of the tracking code output with sales, order id and two products passed:

    <iframe src="https://track.adform.net/Serving/TrackPoint/?pm={trackingID}&ADFtpmode=4&itm={sl:'95.29',id:'YWZ-487921','itms':[{pnm:'Product A'},{pnm:'Product B'}]}" style="display:none;"></iframe>

    For more information and examples of supported variables please refer to the variables page here.

 

 Implementation check

After the tracking code has been implemented on the page it can be confirmed if it has been activated with the Adform site tracking testing browser extension - it is available to be downloaded for Chrome browser here.

Alternatively, you can check network requests via browser’s developer tools:

Iframe Url Path

Successful activation will result in a tracking point network request, which contains the tracking setup id, tracking point name and other information sent.

For additional information please contact site tracking team at site-tracking@adform.com