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!

Custom naming

Introduction

Redirect tracking points are used to track links when there isn’t an option to implement Click tracking point. This type of tracking point is compatible in scenarios when HTML elements cannot be modified to implement Javascript tracking codes.

Redirect tracking code is fully suitable to be used for newsletter tracking.

Implementation

Defining pagename parameter

The pagename parameter is responsible for the tracking point name which is assigned once the code is activated. The pagename parameter should correspond to the page or event where the tracking code is activated in order to recognize the tracking points later in the platform using analytics or retargeting.

Example tracking code with pagename to be modified:

https://track.adform.net/Serving/TrackPoint/?pm={trackingID}&ADFPageName=WebsiteName|SectionName|SubSection|PageName&ADFdivider=|&rdir=<insert redirect URL here>

Where default mandatory parameters:

Parameter name Value Value type
pm Tracking setup ID of Adform client numeric
ADFPageName Name of tracking point string

Values here can be passed from any source which would define the page which is tracked, for example, part of page URL, page title, bread-crumbs, CMS variables or any other source as long as assigned value allows to identify the tracked page or event.

Implementing the tracking code

Copy the received tracking link and replace the original tracking link with it.

Example link on the web page:

<a href="https://www.adform.com">Link</a>

Example link wrapped inside the Redirect tracking point:

<a href="https://track.adform.net/Serving/TrackPoint/?pm={trackingID}&ADFPageName=Example%20point&ADFdivider=|&rdir=https://www.adform.com">Link</a>

Make sure the original link is included to the rdir parameter.

If the URL/Link contains "&", "?", spaces or any other special characters it needs to be additionally encoded/escaped before adding to the website.

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

    To collect values from your website macros from the CMS or tag manager system could 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:

    <a href="https://track.adform.net/Serving/TrackPoint/?pm={trackingID}&ADFPageName=Example%20point&ADFdivider=|&itm={sl:'95.29',id:'YWZ-487921','itms':[{pnm:'Product A'}]}&rdir=https://www.adform.com">Link</a>

    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:

Redirect

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