@koolmak wrote:
Hi !
I need help to export for Google Ad Manager. I have the following instructions but I can’t figure out where to put these ids or functions in Hype. When I export, the function seems to go in the .js file. I need help / advice or export script.Here are the instructions I received from the ad platform :
Banner Element
Function
var clickTag = “[URL]”;
var obj = document.getElementById("[dccbc300x250enr3_hype_container]");
if (obj.attachEvent) {
obj.addEventListener(‘onclick’, function() {window.open(window.clickTag,"_blank");});
} else {
obj.addEventListener(‘click’, function() {window.open(window.clickTag,"_blank");}, false);
}Thanks a lot ! Sorry for my inaccurate English writing skills.
Posts: 1
Participants: 1