AdServer v2 - How to insert code for measuring point of external site into a site

How to insert code for measuring point of external site into a site
Lenka Kocurková
2011/11/07 14:53

Table of Contents

You received code for measuring point of external site and banner creatives from an agency.
Code can be as follows:
URL for click measuring
http://go.bb007.bbelements.com/please/redirect/10127/1/1/3/?param=1798/130455_0_
HTML code for impression measuring
---------------------------------------------------------------------------
<!-- External code, plan ID=130455, Position: go.bb007.bbelements.com IBB(10127) / All(1) / 745x100(1) / leaderboard(3) -->
<script type=’text/javascript’ charset=’utf-8’>
/* <![CDATA[ */
var bbs=screen,bbn=navigator,bbh;bbh=’&ubl=’+1*bbn.browserLanguage+’&ucc=’+1*bbn.cpuClass+’&ucd=’+1*bbs.colorDepth+’&udx=’+1*bbs.deviceXDPI+’&udy=’+1*bbs.deviceYDPI+’&usl=’+1*bbn.systemLanguage+’&uje=’+1*bbn.javaEnabled()+’&uah=’+1*bbs.availHeight+’&uaw=’+1*bbs.availWidth+’&ubd=’+1*bbs.bufferDepth+’&uhe=’+1*bbs.height+’&ulx=’+1*bbs.logicalXDPI+’&uly=’+1*bbs.logicalYDPI+’&use=’+1*bbs.fontSmoothingEnabled+’&uto=’+(new Date()).getTimezoneOffset()+’&uui=’+1*bbs.updateInterval+’&uul=’+1*bbn.userLanguage+’&uwi=’+1*bbs.width;
if(typeof(bburlparam)==’string’) {  bbh+=’&’+bburlparam; } 
if(typeof(bbkeywords)==’string’) {  bbh+=’&keywords=’+escape(bbkeywords); } 
document.write(”<scr”+”ipt type=’text/javascript’ charset=’utf-8’ src=’http://go.bb007.bbelements.com/please/showit/10127/1/1/3/?typkodu=js&_idplan=130455”+bbh+”&bust=”+Math.random()+”&target=_blank’><”+”\ /scr”+”ipt>”);
/* ]]> */
</script>
<noscript>
<a href=”http://go.bb007.bbelements.com/please/redirect/10127/1/1/3/” target=”_blank”><img src=”http://go.bb007.bbelements.com/please/showit/10127/1/1/3/?typkodu=img&_idplan=130455” border=’0’ alt=’’ /></a>
</noscript>
 
Insert creatives into ad site you are using or editorial system. URL for click measuring set as landing page inthe banner (URL for click usually contains landing page of a client - it can be controlled by inserting of URL for click measuring to a browser). Insert code for measuring of impression into a banner in the way that it could be performed in every banner load on the site.
In case that the whole HTML code for measuring of impressions cannot be set in the banner, use “URL for measuring of impression” http://go.bb007.bbelements.com/please/showit/10127/1/1/3/?typkodu=img&_idplan=130455   - in the end you should add anticache parameter supported by your system (e.g. %%TIMESTAMP%%, %%GMTTIME%%).
If you use BB AdServer for administration of advertisement space, follow these steps: How to insert code for measuring point of external site from BB AdServer into BB AdServer.  In case of other ad site using, please contact appropriate customer support.

Page  - last modified by Lenka Kocurková on 2011/11/07 14:53