AdvertServe User Manual

DoubleClick DART Click Tracking

Original Code

You should have received some code from DoubleClick that looks like one of the following:

Format #1 (Standard)


<A HREF="http://ad.doubleclick.net/jump/N884.sitename/B2343505.2;sz=300x250;ord=[timestamp]?">
<IMG SRC="http://ad.doubleclick.net/ad/N884.sitename/B2343505.2;sz=300x250;ord=[timestamp]?" BORDER=0 WIDTH=300 HEIGHT=250 ALT="Click Here">
</A>

Format #2 (JavaScript)


<SCRIPT language='JavaScript1.1' SRC="http://ad.doubleclick.net/adj/N270.site.com/B17804;sz=468x60;ord=[timestamp]?"></script>
<NOSCRIPT>
<A HREF="http://ad.doubleclick.net/jump/N270.site.com/B17804; sz=468x60;ord=[timestamp]?">
<IMG SRC="http://ad.doubleclick.net/ad/N270.site.com/B17804;sz=468x60;ord=[timestamp]?" BORDER=0 WIDTH=468 HEIGHT=60 ALT="Click Here!">Click Here!</A>
</NOSCRIPT>

Format #3 (JavaScript + IFRAME)


<IFRAME SRC="http://ad.doubleclick.net/adi/N884.sitename/B3453509.2;sz=300x250;ord=[timestamp]?" WIDTH=300 HEIGHT=250 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no BORDERCOLOR='#000000'>
<SCRIPT language='JavaScript1.1' SRC="http://ad.doubleclick.net/adj/N884.sitename/B3453509.2;abr=!ie;sz=300x250;ord=[timestamp]?">
</SCRIPT>
<NOSCRIPT>
<A HREF="http://ad.doubleclick.net/jump/N884.sitename/B3453509.2;abr=!ie4;abr=!ie5;sz=300x250;ord=[timestamp]?">
<IMG SRC="http://ad.doubleclick.net/ad/N884.sitename/B3453509.2;abr=!ie4;abr=!ie5;sz=300x250;ord=[timestamp]?" BORDER=0 WIDTH=300 HEIGHT=250 ALT="Click Here">
</A>
</NOSCRIPT>
</IFRAME>

Modified Code

What you need to do is modify the URLs in the <SCRIPT>, <IFRAME>, and <A> tags like this:

Format #1 (Standard)


<A HREF="%%CLICKLINK%%http://ad.doubleclick.net/jump/N884.sitename/B2343505.2;sz=300x250;ord=[timestamp]?">
<IMG SRC="http://ad.doubleclick.net/ad/N884.sitename/B2343505.2;sz=300x250;ord=[timestamp]?" BORDER=0 WIDTH=300 HEIGHT=250 ALT="Click Here">
</A>

Format #2 (JavaScript)


<SCRIPT language='JavaScript1.1' SRC="http://ad.doubleclick.net/adj/N270.site.com/B17804;sz=468x60;click=%%CLICKLINK%%;ord=[timestamp]?"></script>
<NOSCRIPT>
<A HREF="%%CLICKLINK%%http://ad.doubleclick.net/jump/N270.site.com/B17804; sz=468x60;ord=[timestamp]?">
<IMG SRC="http://ad.doubleclick.net/ad/N270.site.com/B17804;sz=468x60;ord=[timestamp]?" BORDER=0 WIDTH=468 HEIGHT=60 ALT="Click Here!">Click Here!</A>
</NOSCRIPT>

Format #3 (JavaScript + IFRAME)


<IFRAME SRC="http://ad.doubleclick.net/adi/N884.sitename/B3453509.2;sz=300x250;click=%%CLICKLINK%%;ord=[timestamp]?" WIDTH=300 HEIGHT=250 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no BORDERCOLOR='#000000'>
<SCRIPT language='JavaScript1.1' SRC="http://ad.doubleclick.net/adj/N884.sitename/B3453509.2;abr=!ie;sz=300x250;click=%%CLICKLINK%%;ord=[timestamp]?">
</SCRIPT>
<NOSCRIPT>
<A HREF="%%CLICKLINK%%http://ad.doubleclick.net/jump/N884.sitename/B3453509.2;abr=!ie4;abr=!ie5;sz=300x250;ord=[timestamp]?">
<IMG SRC="http://ad.doubleclick.net/ad/N884.sitename/B3453509.2;abr=!ie4;abr=!ie5;sz=300x250;ord=[timestamp]?" BORDER=0 WIDTH=300 HEIGHT=250 ALT="Click Here">
</A>
</NOSCRIPT>
</IFRAME>

Warning Warning

Make sure to preview the media and test clicking on it after it's created. If it fails to click through properly, try changing the bold %%CLICKLINK%% in the <SCRIPT> and/or <IFRAME> tags to %%CLICKTAG%% instead. This is sometimes necessary if DoubleClick themselves are sourcing the ad from another third party.

Note Note

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