User Tools

Site Tools


creatives:ehtml-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
creatives:ehtml-en [2015/10/15 12:25]
avarga [Adding extra parameters to the banner]
creatives:ehtml-en [2015/12/08 14:48] (current)
avarga [Handling clicks in case of multiple URLs]
Line 147: Line 147:
  
 <code javascript>​ <code javascript>​
-{"​clickTAG0":​ "//​missinglink.adverticum.net/",​ "clickTAG0": "//​check.adverticum.net/"​}+{"​clickTAG0":​ "//​missinglink.adverticum.net/",​ "clickTAG1": "//​check.adverticum.net/"​}
 </​code>​ </​code>​
  
Line 229: Line 229:
 <div id="​closeButton"></​div>​ <div id="​closeButton"></​div>​
 <​script>​ <​script>​
-    document.getElementById('​closeButton'​).onclick = window[goa.closeFunction];+    document.getElementById('​closeButton'​).onclick = window[goa.closeFUNCTION];
 </​script>​ </​script>​
  
Line 270: Line 270:
 <div id="​openButton"></​div>​ <div id="​openButton"></​div>​
 <​script>​ <​script>​
-    document.getElementById('​openButton'​).onclick = window[goa.openFunction];+    document.getElementById('​openButton'​).onclick = window[goa.openFUNCTION];
 </​script>​ </​script>​
  
Line 313: Line 313:
 <div id="​hideButton"></​div>​ <div id="​hideButton"></​div>​
 <​script>​ <​script>​
-    document.getElementById('​hideButton'​).onclick = window[goa.hideFunction];+    document.getElementById('​hideButton'​).onclick = window[goa.hideFUNCTION];
 </​script>​ </​script>​
  
Line 365: Line 365:
  
 This will be recieved by the tamplate and passed to the banner. If there is a need for extra parameters, please consult the developer to use the proper variable names. ​ This will be recieved by the tamplate and passed to the banner. If there is a need for extra parameters, please consult the developer to use the proper variable names. ​
 +
 +:!: **Attention! This example won't measure clicks, it's just a sample, or if we want to use 3rd party measure links. To measure clicks please use the example below.
  
 In the example the two parameters are ''​clickTAG0''​ and ''​clickTAG1''​. These provide multiple CT URLs fot the banner. In the example the two parameters are ''​clickTAG0''​ and ''​clickTAG1''​. These provide multiple CT URLs fot the banner.
creatives/ehtml-en.1444904727.txt.gz · Last modified: 2015/10/15 12:25 by avarga