Documentation DCO Enabler -> ENABLER HTML5 ->
Manage Click
MANAGE THE CLICK
Banner with a redirect :
Clicks on advertising should be sent to the AdServer, to account for and redirect the user to the correct page.
A <a>
Tag will include the contents of your creation, placed in display:block;
with a width:100%;
and height:100%
.
Here’s an example :
If you use an HTMLcanvas
use the following syntax :
<canvas onclick="ADventori.click();"> Content of your ad </canvas>
Banner with many redirects :
A clickable area by area
In case you have several area, and each one has a different url redirection:
ADventori.initData({
url1:"http://www.google.com/?q=1",
url2:"http://www.google.com/?q=2",
urlGlobal:"http://www.google.com/?q=3"
});