Control Panel User Manual

Mediaplex Click Tracking

Original Code

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


<script language="JavaScript1.1" src="http://altfarm.mediaplex.com/ad/js/3178-13924-1843-0?mpt=[CACHEBUSTER]&mpvc="></script>
<noscript>
<a href="http://altfarm.mediaplex.com/ad/ck/3178-13924-1843-0?mpt=[CACHEBUSTER]">
<img src="http://altfarm.mediaplex.com/ad/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 URLs in the <SCRIPT> and <A> tags as shown by the highlighted changes:


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

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 %%CLICKTAG%% in the <SCRIPT> tag to %%CLICKLINK%% instead. This is sometimes necessary if Mediaplex themselves are sourcing the ad from another third party.

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.