AdvertServe User Manual

AppNexus Click Tracking

JavaScript Code

Original Code

You should have received some JavaScript code from AppNexus that looks like the following:


<SCRIPT SRC="http://ib.adnxs.com/ttj?id=721707&cb=[CACHEBUSTER]&pubclick=[INSERT_CLICK_TAG]" TYPE="text/javascript"></SCRIPT>

Modified Code

What you need to do is modify the URL in the <SCRIPT> tag as shown by the highlighted changes:


<SCRIPT SRC="http://ib.adnxs.com/ttj?id=721707&cb=[CACHEBUSTER]&pubclick=%%CLICKTAG%%" TYPE="text/javascript"></SCRIPT>

Note Note

The ad server recognizes the [CACHEBUSTER] placeholder and will automatically replace it with a random number. It is not necessary to convert it to the %%RANDOM%% macro manually.

IFRAME Code

Original Code

You should have received some IFRAME code from AppNexus that looks like the following:


<IFRAME SRC="http://ib.adnxs.com/tt?id=721707&cb=[CACHEBUSTER]&pubclick=[INSERT_CLICK_TAG]" FRAMEBORDER="0" SCROLLING="no" MARGINHEIGHT="0" MARGINWIDTH="0" TOPMARGIN="0" LEFTMARGIN="0" ALLOWTRANSPARENCY="true" WIDTH="300" HEIGHT="250"></IFRAME>

Modified Code

What you need to do is modify the URL in the <IFRAME> tag as shown by the highlighted changes:


<IFRAME SRC="http://ib.adnxs.com/tt?id=721707&cb=[CACHEBUSTER]&pubclick=%%CLICKTAG%%" FRAMEBORDER="0" SCROLLING="no" MARGINHEIGHT="0" MARGINWIDTH="0" TOPMARGIN="0" LEFTMARGIN="0" ALLOWTRANSPARENCY="true" WIDTH="300" HEIGHT="250"></IFRAME>

Note Note

The ad server recognizes the [CACHEBUSTER] placeholder and will automatically replace it with a random number. It is not necessary to convert it to the %%RANDOM%% macro manually.