Install Click

Clicks on advertising should be sent to the AdServer, to account for and redirect the user to the correct page.

How to install ADventori’s click ?

Modify the HTML publishing template, and add the onclick method to the canvas and also add the css property cursor: pointer to the body.

<canvas id="$CANVAS_ID" width="$WT" height="$HT" style="position: absolute; display: $CANVAS_DISP; background-color:$BG;box-sizing: border-box;border:1px solid black;cursor:pointer;" onclick="ADventori.click();"></canvas>

Example

Download the example

You must remove any other click from another AdServer!