Documentation DCO Enabler -> ENABLER ADOBE EDGE -> Manage Click
MANAGE THE CLICK
Banner with a redirect
Clicks on the advertisement must be sent to the AdServer, to account for and return the user to the correct page.
Select the Stage
of the ads, click on{}
and choose the event click
Add the code ADventori.click();
to your function.
Result:
Banner with several redirects
A clickable area by cta
In case you have several cta, each with a redirect URL:
Select the Stage
of the ads, click on {}
, Choose Event compositionReady
and add the code below:
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 click area, add an event click
to manage redirection and add the following code: ADventori.click(e,ADventori.data.url1);
, etc…
Inspect tab code
, you should have the following result:
Result :