Clicks on advertising should be sent to the AdServer, to account for and redirect the user to the correct page.
In case you have several areas, and each one has a different url redirection.
You have to initialize your url redirection inside the initData
.
Select the Stage of the ads, click on {} and choose the event ‘compositionReady’ and add the code below:
ADventori.initData({
url1:"https://www.google.com/?q=1",
url2:"https://www.google.com/?q=2",
urlGlobal:"https://www.google.com/?q=3"
});
This code initialize the dynamic elements once the banner is fully charged.
Then on each click area, add an event click to manage redirection and add the following code:
ADventori.click(e,data);
Inspect tab ‘code’, you should have the following result:
Don’t forget to remove the global click installed on this step !