Version 5.0
AdvertServe User Manual :: v5.0

Zedo 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 (Simple)

Original Code

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


<script language="JavaScript" src="http://c7.zedo.com/jsc/fm.js?n=162&c=24/1&d=14&s=23&w=728&h=90&l=[CLICK_TAG]&z=[RANDOM_NUMBER]">
</script>

Modified Code

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


<script language="JavaScript" src="http://c7.zedo.com/jsc/fm.js?n=162&c=24/1&d=14&s=23&w=728&h=90&l=%%CLICKTAG%%&z=[RANDOM_NUMBER]">
</script>

Note Note

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

JavaScript Code (Advanced)

Original Code

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


<script language="JavaScript">
var zflag_nid="1142"; var zflag_cid="862"; var zflag_sid="152"; var zflag_width="300";
var zflag_height="600"; var zflag_sz="28"; var zflag_charset="utf-8";
var zflag_click="[INSERT_CLICK_TRACKER_MACRO]";
</script>
<script language="JavaScript" src="http://d2.zedo.com/jsc/d2/fo.js">
</script>

Modified Code

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


<script language="JavaScript">
var zflag_nid="1142"; var zflag_cid="862"; var zflag_sid="152"; var zflag_width="300";
var zflag_height="600"; var zflag_sz="28"; var zflag_charset="utf-8";
var zflag_click="%%CLICKLINK%%";
</script>
<script language="JavaScript" src="http://d2.zedo.com/jsc/d2/fo.js">
</script>

IFRAME Code

Original Code

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


<iframe src="http://d3.zedo.com/jsc/d3/ff2.html?n=824;c=52;s=1;d=14;w=728;h=90" frameborder=0 marginheight=0 marginwidth=0 scrolling="no" allowTransparency="true" width=728 height=90></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://d3.zedo.com/jsc/d3/ff2.html?n=824;c=52;s=1;d=14;w=728;h=90;l=%%CLICKLINK%%" frameborder=0 marginheight=0 marginwidth=0 scrolling="no" allowTransparency="true" width=728 height=90></iframe>

Note Note

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