General Specifications

This following presents a guideline on how Adform standard rich media tags should be edited to count clicks in standard website ad management systems. Adform ad serving uses standard rich media javascript tags:

<script language="javascript" src="http://track.adform.net/adfscript/?bn=43547"></script>
<noscript>
<a href="http://track.adform.net/C/?bn=43547;C=0" TARGET="_blank">
<img src="http://track.adform.net/adfserve/?bn=43547;srctype=4;ord=[timestamp]" border="0" width="468" height="60" alt="">
</a>
</noscript>

In order to track clicks follow the procedure below:

1. Create a click counter in your ad management system (example: "http://www.youradsystem.com/?redirect=").
2. Insert ";click=" and "http://www.youradsystem.com/?redirect=" into the redirect string.
3. In case click URL must be encoded, please use „;encodedclick=“ instead of „;click=“.

The resulting tag should look similar to the following example:

<script language="javascript" src="http://track.adform.net/adfscript/?bn=43547;click=http://www.youradsystem.com/?redirect="></script>
<noscript>
<a href="http://www.youradsystem.com/?redirect=http://track.adform.net/C/?bn=43547;C=0" target="_blank">
<img src="http://track.adform.net/adfserve/?bn=43547;srctype=4;ord=yourrandomnumber" border="0" width="468" height="60" alt="">
</a>
</noscript>

"http://www.youradsystem.com/?redirect=http://www.google.com" is merely an example of a redirect url. When the url is entered into a browser it counts a click in your ad management system and redirect to http://www.google.com.
By inserting ";click=http://www.youradsystem.com/?redirect=" in the Adform javascript tag the Adform system returns an ad, which (when clicked) redirects to your ad management system, which again redirects to Adform where the final redirect is performed according to the Adform database value.

Notes: Add "http//*.adform.net" under "allowed domains".
             Special characters in your system click counter must be encoded ("&", "?", spaces, etc).

Smart AdServer

What you will do in order to track clicks is add the ";click=" and [countgo] into the redirect string as below.

<script language="javascript" src="http://track.adform.net/adfscript/?bn=43547;click=[countgo]"></script>
<noscript>	
<a href="[countgo]http://track.adform.net/c/?bn=43547;c=0" target="_blank">
<img src="http://track.adform.net/adfserve/?bn=43547;srctype=4;ord=[timestamp]" border="0" width="468" height="60" alt="">
</a>
</noscript>

Note: this describes the usage of external non Adform related systems and please check respective documentation for most up to date information.

OpenX example

What you will do in order to track clicks is add the ";click=" and {clickurl} into the redirect string as below. [timestamp] is exchanged for {random}.

<script language="javascript" src="http://track.adform.net/adfscript/?bn=43547;click={clickurl}"></script>
<noscript>	
<a href="{clickurl}http://track.adform.net/c/?bn=43547;c=0" target="_blank">
<img src="http://track.adform.net/adfserve/?bn=43547;srctype=4;ord={random}" border="0" width="468" height="60" alt="">
</a>
</noscript>

Note: this describes the usage of external non Adform related systems and please check respective documentation for most up to date information.

AdOcean example

What you will do in order to track clicks is add the ;click= and <%%REDIR%%> into the redirect string as below.

<script language="javascript" src="http://track.adform.net/adfscript/?bn=43547;click=<%%REDIR%%>"></script>
<noscript>
<a href="<%%REDIR%%>http://track.adform.net/c/?bn=43547;c=0" target="_blank">
<img src="http://track.adform.net/adfserve/?bn=43547;srctype=4;ord=<%%RANDOM%%>" border="0" width="468" height="60" alt="">
</a>
</noscript>

Note: this describes the usage of external non Adform related systems and please check respective documentation for most up to date information.

Helios IQ example

What you will do in order to track clicks is add the ;click= and _ADCLICK_ into the redirect string as below.
[timestamp] is exchanged for _ADTIME_.

<script language="javascript" src="http://track.adform.net/adfscript/?bn=43547;click=_ADCLICK_"></script>
<noscript>
<a href="_ADCLICK_http://track.adform.net/c/?bn=43547;c=0" target="_blank">
<img src="http://track.adform.net/adfserve/?bn=43547;srctype=4;ord=_ADTIME_" border="0" width="468" height="60" alt="">
</a>
</noscript>

Note: this describes the usage of external non Adform related systems and please check respective documentation for most up to date information.

TradeDoubler example

What you will do in order to track clicks is add the ;click= and $$&url= into the redirect string as below.
[timestamp] is exchanged for [TD_RRANDOM].

<script language="javascript" src="http://track.adform.net/adfscript/?bn=43547;click=$$&url="></script><noscript>
<a href="$$&url=http://track.adform.net/c/?bn=43547;c=0" target="_blank">
<img src="http://track.adform.net/adfserve/?bn=43547;srctype=4;ord=[TD_RRANDOM]" border="0" width="468" height="60" alt="">
</a>
</noscript>

Note: this describes the usage of external non Adform related systems and please check respective documentation for most up to date information.

Real Media example

What you will do in order to track clicks is add the ;click= and %%C%%?_RM_REDIR_= into the redirect string as below.
[timestamp] is exchanged for %%REALRAND%%.

<script language="javascript" src="http://track.adform.net/adfscript/?bn=43547;click=%%C%%?_RM_REDIR_="></script>
<noscript>
<a href="%%C%%?_RM_REDIR_=http://track.adform.net/c/?bn=43547;c=0" target="_blank">
<img src="http://track.adform.net/adfserve/?bn=43547;srctype=4;ord=%%REALRAND%%" border="0" width="468" height="60" alt="">
</a>
</noscript>

Note: this describes the usage of external non Adform related systems and please check respective documentation for most up to date information.

Dart Tag example

What you will do in order to track clicks is add the ;click= and %c into the redirect string as below.
[timestamp] is exchanged for %n.

<script language="javascript" src="http://track.adform.net/adfscript/?bn=43547;click=%c"></script>
<noscript>
<a href="%chttp://track.adform.net/c/?bn=43547;c=0" target="_blank">
<img src="http://track.adform.net/adfserve/?bn=43547;srctype=4;ord=%n" border="0" width="468" height="60" alt="">
</a>
</noscript>

Note: this describes the usage of external non Adform related systems and please check respective documentation for most up to date information.

EmediateAd Tag example

What you will do in order to track clicks is add the ;click= and EASLink= parameters into the redirect string as below.
[timestamp] is exchanged for _U_.

<script language="javascript" src="http://track.adform.net/adfscript/?bn=43547;click=EASLink="></script>
<noscript>
<a href="EASLink=http://track.adform.net/c/?bn=43547;c=0" target="_blank">
<img src="http://track.adform.net/adfserve/?bn=43547;srctype=4;ord=_U_" border="0" width="468" height="60" alt="">
</a>
</noscript>

Note: this describes the usage of external non Adform related systems and please check respective documentation for most up to date information.

Doubleclick for Publishers

There are two types of DFP click-tracking macros:

  • Unescaped click macro: %%CLICK_URL_UNESC%
  • Escaped click macro: %%CLICK_URL_ESC%%

Use an unescaped click macro when the creative hosted by Adform is a standard image (.gif/.jpg). Use the escaped click macro for Flash (.swf) creatives. Not sure which file type the creative is? You can preview the ad and right-click it. If you see a Save Image As... or Save Picture As... option appear in the right-click menu, the creative is a standard image. If you see an About Adobe Flash Player... option, the creative is a Flash ad.

What you will do in order to track clicks is add the ";click=" and %%CLICK_URL_UNESC%% (for image type creatives) or %%CLICK_URL_ESC%% (for Flash type creatives) into the redirect string. [timestamp] is exchanged for %%CACHEBUSTER%%

When creative hosted in Adform is Flash (.swf) type:

<script language="javascript" src="http://track.adform.net/adfscript/?bn=43547;click=%%CLICK_URL_ESC%%"></script><noscript>
<a href="%%CLICK_URL_UNESC%%http://track.adform.net/C/?bn=43547;C=0" target="_blank">
<img src="http://track.adform.net/adfserve/?bn=43547;srctype=4;ord=%%CACHEBUSTER%%" border="0" width="468" height="60" alt="">
</a>
</noscript>

When creative hosted in Adform is standard image (.gif/.jpg):

<script language="javascript" src="http://track.adform.net/adfscript/?bn=43547;click=%%CLICK_URL_UNESC%%"></script><noscript>
<a href="%%CLICK_URL_UNESC%%http://track.adform.net/C/?bn=43547;C=0" target="_blank">
<img src="http://track.adform.net/adfserve/?bn=43547;srctype=4;ord=%%CACHEBUSTER%%" border="0" width="468" height="60" alt="">
</a>
</noscript>

Note: this describes the usage of external non Adform related systems and please check respective documentation for most up to date information.