User Tools

Site Tools


creatives:html-en

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
creatives:html-en [2017/03/28 13:35]
dczipperer
creatives:html-en [2018/06/12 11:34]
zkocsis
Line 410: Line 410:
  
 === In case of HTML banner=== === In case of HTML banner===
-In the example we measure the time when the banner is opened. We use the ’openTime’ measure for this.+In the example we measure the time when the banner is opened. We use the ’Time’ measure for this.
 Start of the time measure: Start of the time measure:
 <code javascript> <code javascript>
 // We send a message to the top window running Goa3, then indicate  // We send a message to the top window running Goa3, then indicate 
 // the calling measure // the calling measure
-window.top.postMessage('[zone].measure.openTime.start', '*');+window.top.postMessage('[zone].measure.Time.start', '*');
 </code> </code>
  
Line 423: Line 423:
 // We send a message to the top window running Goa3, then indicate  // We send a message to the top window running Goa3, then indicate 
 // the calling measure // the calling measure
-window.top.postMessage('[zone].measure.openTime.stop', '*');+window.top.postMessage('[zone].measure.Time.stop', '*');
 </code> </code>
  
 === In case of markup banner === === In case of markup banner ===
  
-In our example the structure of the time measure called ’openTime’ is available in the following form after requesting the zone data.+In our example the structure of the time measure called ’Time’ is available in the following form after requesting the zone data.
  
 <code javascript> <code javascript>
Line 440: Line 440:
    
         measures: {         measures: {
-            openTime: {+            Time: {
                 start: function () {...},                 start: function () {...},
                 stop: function () {...},                 stop: function () {...},
Line 449: Line 449:
 </code> </code>
  
-In the example we measure the time when the banner is opened. We use the ’openTime’ measure for this.+In the example we measure the time when the banner is opened. We use the ’Time’ measure for this.
 Start of the time measure: Start of the time measure:
 <code javascript> <code javascript>
 // Starting the time measure. // Starting the time measure.
-goAdverticum3.getZone([zone]).measure.openTime.start();+goAdverticum3.getZone([zone]).measure.Time.start();
 </code> </code>
  
Line 460: Line 460:
 <code javascript> <code javascript>
 // Stopping the time measure. // Stopping the time measure.
-goAdverticum3.getZone([zone]).measure.openTime.stop();+goAdverticum3.getZone([zone]).measure.Time.stop();
 </code> </code>
 ==== Volume measure ==== ==== Volume measure ====
creatives/html-en.txt · Last modified: 2020/07/14 17:13 by dtakacs