This document explains how to pass a referrer URL using the macro for passing parameters through an ad tag. If you would like to pass multiple parameters, please see the article “Passing Multiple Dynamic Parameters.”

How it Works

ZEDO  uses customized  JavaScript tags to pass referral information in the clickthrough URL.

ZEDO does not provide reporting for this functionality. The advertiser should have a tool (or script) which will indentify the data and provide a report.

Modify the clickthrough URL

For this creative setup, ZEDO must control the clickthrough.

ZEDO will append the macro variable %ZZCUSTOM%  (or %p  for  single line code) which will be replaced with referral information at run time.

Example:

Standard banner clickthrough URL: http://www.zedo.com

Clickthrough modified to track referral URL: http://www.zedo.com&%p (or http://www.zedo.com&%ZZCUSTOM%).

On the live page &%p (or %ZZCUSTOM%) will be replaced by the referral URL

  • http://www.zedo.com&http://livepageurl.com

Modify the ad tag

Modify the ad code in the Ad Tag Generator.

For normal JavaScript tags, append the variable ;var zflag_param=window.location; as shown below.

Original JavaScript tag 

<!– Javascript tag  –>

<!– begin ZEDO for channel:  BusinessPage , publisher: News.Inc , Ad Dimension: Medium Rectangle – 300 x 250 –>

<script language=”JavaScript”>

var zflag_nid=”128″; var zflag_cid=”9436/9430″; var zflag_sid=”537″; var zflag_width=”300″; var zflag_height=”250″; var zflag_sz=”9”

</script>

<script language=”JavaScript” src=”http://c1.zedo.com/jsc/c1/fo.js”></script>

<!– end ZEDO for channel:  BusinessPage , publisher: News.Inc , Ad Dimension: Medium Rectangle – 300 x 250 –>

 

Modified JavaScript Tag 

<!– Javascript tag  –>

<!– begin ZEDO for channel:  BusinessPage , publisher: News.Inc , Ad Dimension: Medium Rectangle – 300 x 250 –>

<script language=”JavaScript”>

var zflag_nid=”128″; var zflag_cid=”9436/9430″; var zflag_sid=”537″; var zflag_width=”300″; var zflag_height=”250″; var zflag_sz=”9“;var zflag_param=window.location;

</script>

<script language=”JavaScript” src=”http://c1.zedo.com/jsc/c1/fo.js”></script>

<!– end ZEDO for channel:  BusinessPage , publisher: News.Inc , Ad Dimension: Medium Rectangle – 300 x 250 –>

If you have selected Enable 3rd Party Click Tracking for your tag, modify the code as shown below.

Original JavaScript tag with 3rd party click tracking enabled 

<!– Javascript tag  –>

<!– begin ZEDO for channel:  BusinessPage , publisher: News.Inc , Ad Dimension: Medium Rectangle – 300 x 250 –>

<script language=”JavaScript”>

var zflag_nid=”128″; var zflag_cid=”9436/9430″; var zflag_sid=”537″; var zflag_width=”300″; var zflag_height=”250″; var zflag_sz=”9”; var zflag_click=”[INSERT_CLICK_TRACKER_MACRO]”

</script>

<script language=”JavaScript” src=”http://c1.zedo.com/jsc/c1/fo.js”></script>

<!– end ZEDO for channel:  BusinessPage , publisher: News.Inc , Ad Dimension: Medium Rectangle – 300 x 250 –>

 

Modified  JavaScript tag with 3rd party click tracking enabled 

<!– Javascript tag  –>

<!– begin ZEDO for channel:  BusinessPage , publisher: News.Inc , Ad Dimension: Medium Rectangle – 300 x 250 –>

<script language=”JavaScript”>

var zflag_nid=”128″; var zflag_cid=”9436/9430″; var zflag_sid=”537″; var zflag_width=”300″; var zflag_height=”250″; var zflag_sz=”9“; var zflag_click=”[INSERT_CLICK_TRACKER_MACRO]”

;var zflag_param=window.location;

</script>

<script language=”JavaScript” src=”http://c1.zedo.com/jsc/c1/fo.js”></script>

<!– end ZEDO for channel:  BusinessPage , publisher: News.Inc , Ad Dimension: Medium Rectangle – 300 x 250 –>

 

Limitations:

  • This functionality will not work in Iframe tags.
  • The Advertiser should support referral information in landing page URL. (Check with your advertiser.)


0 0