how do I set up the variable in order to implement a clickTag in Javascript for an HTML5 banner ad? How do I get a reference to the URL that is set in which the banner clicks out to? I know how to do this in AS3. I'm new to programming & esp to Javascript. I am NOT using Swiffy nor am I using Flash & the <canvas>
. I am using Google Web Designer with a generic environment.
inside my function I have
mainCTAClickOut= function (e) {
var clickTag = "?"; //here is where I'm having a problem
window.open(window.clickTag, "_blank");
}
What am I missing?
From my understanding, GWD automatically generates the variable script. GWD makes you do steps via their wizard function and all it asks for is the destination URL which can be altered at any time thereafter.