Advertising macro - Risyandi/adops-engineer GitHub Wiki
Advertising macro adalah sebuah perubahan terhadap tags iklan, dimana fungsi macro ini adalah untuk melacak jumlah nilai impression atau click yang dimana nilai tersebut untuk data pembanding untuk pihak ketiga, tujuan nya untuk menyamakan dan membandingkan berapa persen perbedaan data yang terjadi dari pihak pertama, pihak kedua dan pihak ketiga. berikut adalah beberapa macro yang sering dipakai untuk beberapa platform yang berbeda :
<script language="javascript" src="http://track.adform.net/adfscript/?bn=123456;click=${CLICK_URL}"></script>
<noscript>
<a href="${CLICK_URL}http://track.adform.net/C/?bn=123456;C=0" target="_blank">
<img src="http://track.adform.net/adfserve/?bn=123456;srctype=4;ord=${CACHEBUSTER}" border="0" width="930" height="180" alt=""/></a></noscript>
<script type="text/javascript" language="JavaScript">
(function() {
ADGEAR_SOURCE_CLICKTRACKER = "${CLICK_URL}";
ADGEAR_SOURCE_CLICKTRACKER_EXPECTS_ENCODED = false;
ADGEAR_SOURCE_CLICKTRACKER_IS_ENCODED = false;
ADGEAR_SOURCE_CLICKTRACKER_IS_DOUBLE_ENCODED = false;
var randomnum = "{CACHEBUSTER}";
var agref = "";
var proto = "http:";
if (!agref.match(/^https?/i)) agref = "";
if (window.location.protocol == "https:") proto = "https:";
if (randomnum.substring(0,2) == "__") randomnum = String(Math.random());
document.writeln('<scr' + 'ipt type="text/ja' + 'vascr' + 'ipt" s' + 'rc="' +
proto + '//d.adgear.com' + '/impressions/ext/p=' +
'1234' + '.js?AG_R=' + randomnum +
(agref === "" ? "" : ("&AG_REF=" + encodeURIComponent(agref))) +
'"></scr' + 'ipt>');
})();</script>
<SCRIPT>adx_U_555555="";adx_D_55555="${CLICK_URL}";adx_I_555555="";</SCRIPT>
<SCRIPT SRC="http://mi.adinterax.com/js/denvernp,atencio_300X_seren,C=XXXXX,P=XXXXX/ad2.js?q=55555555" LANGUAGE="JavaScript"></SCRIPT>
<NOSCRIPT><A HREF="${CLICK_URL}http://tr.adinterax.com/re/denvernp,atencio_300X_seren,C=XXXXXX ,P=XXXXX/0/0/tc,c:noscript/http://www.johnatencio.com/search?q=new+heart&x=16&y=9"><IMG SRC="http://tr.adinterax.com/re/XXXXXX,atencio_300X_seren,C=John_atencio,
P=Scott/0/0/in,ti/http://mi.adinterax.com/customer/XXXXXXX/0/300x250_FL_newart.jpg?adxq=1282775581" BORDER=0></A></NOSCRIPT>
<!-- BEGIN ADITIONTAG -->
<script type="text/javascript" src="http://imagesrv.adition.com/js/adition.js"></script>
<script type="text/javascript" src="http://ad1.adfarm1.adition.com/js?wp_id=12345&kid=12345&clickurl=${CLICK_URL}"></script>
<noscript><a href="${CLICK_URL}http://ad1.adfarm1.adition.com/click?sid=12345&ts=${CACHEBUSTER}">
<img src="http://ad1.adfarm1.adition.com/banner?sid=12345&kid=12345&ts=${CACHEBUSTER}" border="0"></a></noscript>
<!-- END ADITIONTAG -->
<iframe allowTransparency="true" frameborder="0" scrolling="no"
marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" width="728"
height="90"
src="http://this.content.served.by.adshuffle.com/p/kl/01/234/r/56/7/8/abdef/ghijkl/view.html?${CACHEBUSTER}&ASTPCT=${CLICK_URL}"></iframe>
<!--IFRAME Tag (General Redirect) // Page: 728x90 // -->
<IFRAME WIDTH="728" HEIGHT="90" SCROLLING="No" FRAMEBORDER="0" MARGINHEIGHT="0" MARGINWIDTH="0" SRC="http://adserver.adtech.de/adiframe|3.0|1234|1234|0|1234|ADTECH;AdId=1234;BnId=-1;;target=_blank;misc=[timestamp];rdclick=${CLICK_URL}"><script language="javascript" src="http://adserver.adtech.de/addyn|3.0|1234|1234|0|1234|ADTECH;AdId=1234;BnId=-1;;loc=700;target=_blank;misc=[timestamp];rdclick=${CLICK_URL}"></script><noscript><a href="http://adserver.adtech.de/adlink|3.0|1234|1234|0|1234|ADTECH;AdId=9479763;BnId=-1;;loc=300;misc=[timestamp]" target="_blank;AdId=9479763;BnId=-1;"><img src="http://adserver.adtech.de/adserv|3.0|1234|1234|0|1234|ADTECH;loc=300;misc=[timestamp]" border="0" width="728" height="90"></a></noscript></IFRAME>
<!-- End of IFRAME Tag -->