This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
creatives:html-en [2017/03/28 13:33] dczipperer |
creatives:html-en [2018/06/12 11:34] zkocsis |
||
---|---|---|---|
Line 12: | Line 12: | ||
==== HTML or Markup banner? What is it all about, and what's the difference in Adverticum' | ==== HTML or Markup banner? What is it all about, and what's the difference in Adverticum' | ||
- | Markup | + | Markup |
+ | ]] | ||
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(' | + | window.top.postMessage(' |
</ | </ | ||
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(' | + | window.top.postMessage(' |
</ | </ | ||
=== 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: { | ||
- | | + | |
start: function () {...}, | start: function () {...}, | ||
stop: function () {...}, | stop: function () {...}, | ||
Line 449: | Line 449: | ||
</ | </ | ||
- | 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(); |
</ | </ | ||
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(); |
</ | </ | ||
==== Volume measure ==== | ==== Volume measure ==== |