Version 5.0
AdvertServe User Manual :: v5.0

EyeWonder Click Tracking

Note Note

Manually making the changes documented here to activate click tracking is no longer necessary. As of version 3.0 the ad server will automatically make these changes for you when creating or editing a media. These examples are only provided as a reference so you can see if a particular code format is recognized or not. Please submit unrecognized codes to support for addition to our automated processing rules.

JavaScript Code

Original Code

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


<script language="JavaScript1.1" src="http://cdn4.eyewonder.com/cm/js/3178-13924-1843-0?mpt=[CACHEBUSTER]&mpvc="></script>
<noscript>
<a href="http://cdn4.eyewonder.com/cm/ck/3178-13924-1843-0?mpt=[CACHEBUSTER]">
<img src="http://cdn4.eyewonder.com/cm/bn/3178-13924-1843-0?mpt=[CACHEBUSTER]" alt="Click here for reservations" border="0">
</a>
</noscript>

Modified Code

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


<script language="JavaScript1.1" src="http://cdn4.eyewonder.com/cm/js/3178-13924-1843-0?mpt=[CACHEBUSTER]&mpvc=%%CLICKTAG%%"></script>
<noscript>
<a href="%%CLICKLINK%%http://cdn4.eyewonder.com/cm/ck/3178-13924-1843-0?mpt=[CACHEBUSTER]">
<img src="http://cdn4.eyewonder.com/cm/bn/3178-13924-1843-0?mpt=[CACHEBUSTER]" alt="Click here for reservations" border="0">
</a>
</noscript>

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.

HTML Code

Original Code

You should have received some HTML code from EyeWonder that looks like the following:


<script language="Javascript" type="text/javascript">
var clickTagFramePrepend1342325="[ewclickthru]";
</script>
<script language="Javascript" type="text/javascript" id="ew1342325_wrapper" src="http://cdn.eyewonder.com/100125/765225/1342325/wrapper.js"></script>
<noscript>
<body><div style="position:relative; z-index:1" align="center">
<a href="http://www.eyewonderlabs.com/ct.cfm?ewbust=0&guid=0&ewadid=92257&eid=1342325&file=http://cdn.eyewonder.com/100125/765225/1342325/NOSCRIPTfailover.jpg&pnl=MainBanner&type=0&name=Clickthru-NOSCRIPT&num=1&time=0&diff=0&clkX=&clkY=&click=http://www.eyewonder.com" target="_blank">
<img width="120" height="600" src="http://cdn.eyewonder.com/100125/765225/1342325/NOSCRIPTfailover.jpg" border="0" alt="" />
</a>
<div style="position:absolute;top:0px;left:0px;z-index:2;display:none">
<img src="http://cdn.eyewonder.com/100125/765225/1342325/ewtrack.gif?ewadid=92257" border="0" width="1" height="1" />
</div>
<div style="position:absolute;top:0px;left:0px;z-index:3;display:none">
<img src="http://cdn.eyewonder.com/100125/765225/1342325/ewtrack_f.gif?ewadid=92257" border="0" width="1" height="1" />
</div></div></body>
</noscript>

Modified Code

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


<script language="Javascript" type="text/javascript">
var clickTagFramePrepend1342325="%%CLICKLINK%%[ewclickthru]";
</script>
<script language="Javascript" type="text/javascript" id="ew1342325_wrapper" src="http://cdn.eyewonder.com/100125/765225/1342325/wrapper.js"></script>
<noscript>
<body><div style="position:relative; z-index:1" align="center">
<a href="%%CLICKLINK%%http://www.eyewonderlabs.com/ct.cfm?ewbust=0&guid=0&ewadid=92257&eid=1342325&file=http://cdn.eyewonder.com/100125/765225/1342325/NOSCRIPTfailover.jpg&pnl=MainBanner&type=0&name=Clickthru-NOSCRIPT&num=1&time=0&diff=0&clkX=&clkY=&click=http://www.eyewonder.com" target="_blank">
<img width="120" height="600" src="http://cdn.eyewonder.com/100125/765225/1342325/NOSCRIPTfailover.jpg" border="0" alt="" />
</a>
<div style="position:absolute;top:0px;left:0px;z-index:2;display:none">
<img src="http://cdn.eyewonder.com/100125/765225/1342325/ewtrack.gif?ewadid=92257" border="0" width="1" height="1" />
</div>
<div style="position:absolute;top:0px;left:0px;z-index:3;display:none">
<img src="http://cdn.eyewonder.com/100125/765225/1342325/ewtrack_f.gif?ewadid=92257" border="0" width="1" height="1" />
</div></div></body>
</noscript>

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.