Grapeshot measurement code

Last modified by Lenka Kocurková on 2015/05/13 09:43
Comments (0) · Attachments (8)

The code consists of simple HTML tag of 1x1 pixel picture. It contains anticache placeholder [%Random%] which is necessary to substitute by iBB placeholder [timestamp].

Code preview before the insertion:

2015-01-16_150051.jpg


The procedure of implementation

  1. From the orginal Sizmek codes copy the following source path:
    http://xaxis.grapeshot.co.uk/wasmuth/redirect.cgi?target=http://cz.gmads.mookie1.com/247r?gmttzd=-120&gmtr=[%Random%]&gmtsrc=gm_cz_all&gmtctrl=1&gmttopic=GS_CHANNELS

  2. Substitute anticache placeholder [%Random%] by iBB Ad Server placeholder. For example [timestamp].
    http://xaxis.grapeshot.co.uk/wasmuth/redirect.cgi?target=http://cz.gmads.mookie1.com/247r?gmttzd=-120&gmtr=[timestamp]&gmtsrc=gm_cz_all&gmtctrl=1&gmttopic=GS_CHANNELS

  3. In iBB creative lib rendering scripts, paste such modificated URL into impressionTrackingUrl line.2015-04-21_153142.jpg

  4. In case you don’t use scripts from iBB Creative library or you add tracking code to another external displaying code, use „over object“ implementation:.

    var  counterimg= new Image (1,1);
    counterimg.src="http://xaxis.grapeshot.co.uk/wasmuth/redirect.cgi?target=http://cz.gmads.mookie1.com/247r?gmttzd=-120&gmtr=[timestamp]&gmtsrc=gm_cz_all&gmtctrl=1&gmttopic=GS_CHANNELS";


    Insert it at the beginning or at the end of rendering script. (See pictures below - the blue marked part is the rendering script, the green marked part is implemented impression tracking code. Both variants are possible.)2015-04-21_153433.jpg2015-04-21_153435.jpg


Tags:
Created by ZdVo on 2015/01/16 14:58
Translated into en by ZdVo on 2015/04/21 15:37

Navigation


This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 4.0 - Documentation