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
Previous revision
Next revision Both sides next revision
creatives:html-en [2017/03/28 13:35]
dczipperer
creatives:html-en [2020/07/14 17:12]
dtakacs [Measuring events inside the banner with tracking links]
Line 320: Line 320:
 :!: **Attention! The AdServer serves the HTML banner in an iframe, so the instructions here are not applicable for Markup banners. The links given here should be used in iframes in order to be able to measure events in Markup banners.** :!: **Attention! The AdServer serves the HTML banner in an iframe, so the instructions here are not applicable for Markup banners. The links given here should be used in iframes in order to be able to measure events in Markup banners.**
      
-In HTML banners (but in Flash banner, too) it could be solved to track some events (like clicks that don't take the visitor to the landing page or the use of tabs) with the help of special tracking URLs. The tracking URLs and the information about which tracking URL should measure which event is sent by the banner creator to the campaign manager. (It is favourable for the campaign manager to upload these in a separate measuring campaign.)+In HTML banners it could be solved to track some events (like clicks that don't take the visitor to the landing page or the use of tabs) with the help of special tracking URLs. The tracking URLs and the information about which tracking URL should measure which event is sent by the banner creator to the campaign manager. (It is favourable for the campaign manager to upload these in a separate measuring campaign.)
  
 :!: **Attention! The uploaded URLs on the admin interface could be referred to the way seen below but those belong to the banner's CT data so they are not good for tracking! For tracking purposes we recommend the direct insertion of tracking links!** :!: **Attention! The uploaded URLs on the admin interface could be referred to the way seen below but those belong to the banner's CT data so they are not good for tracking! For tracking purposes we recommend the direct insertion of tracking links!**
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