basics

Manage Click

Documentation DCO Enabler -> ENABLER GOOGLE WEB DESIGNER -> Manage Click

MANAGE THE CLICK

Banner with a redirect

Clicks on the advertisement must be sent to the AdServer to be counted and redirect the user to the correct page.

First you have to install a Tap Area. You can find it in the Components pannel. Make sure this area got the same size than the Ad.
Select the taparea

In the Event tab, click the “+” button

Add the code ADventori.click(); to the click event (see below):

 

 

click_gwd-en

Result :

Banner with several redirects

A clickable area by product

In case you have several products, each with a redirect URL:

Add the code below and insert it right after calling the ADventori library.

ADventori.initData({
url1:"http://www.google.com/?q=1",
url2:"http://www.google.com/?q=2",
urlGlobal:"http://www.google.com/?q=3"
});

This code initialize the dynamic elements once the banner is fully charged.

Then, on each area of items, add an event click to manage redirection and add the following code: ADventori.click(event,ADventori.data.urlGlobal); for the the global click Area, etc.

 

Inspect tab Events, you should have the following result:

 

 

Result :