Groups | Blog | Home
all groups > flash (macromedia) > april 2004 >

flash (macromedia) : clickTAG redirect question


TonyRichards
4/3/2004 8:42:30 PM
I want to create a banner ad that gives the viewer different click options, but
I also want to track impressions and clicks using clickTAG. Can anyone suggest
what code I should use in the ad? This is one suggestion I have been given but
it didn't work.

on (release) {
if (clickTAG.substr(0,5) == "http:") {
getURL(clickTAG + "&redirect=http%3A%2F%2Fwww.site1.com%2F");
}
}

I only want to track impressions and clicks on the ad itself, not necessarily
the individual click options.
JRMillion
4/3/2004 8:46:15 PM
TonyRichards
4/3/2004 10:31:27 PM
I'm using the clickTAG variable to count clicks/impressions with a banner ad
serving program on the server. I would normally use the code below (instead of
the standard getURL Actionscript you would use on a Flash button) along with a
target URL reference in the ad serving program itself that redirects the viewer
to the target page. But in an ad with multiple choices (in this case five), and
multiple target URLs, the redirect has to go within the ad, in the Actionscript
for each of the five buttons.

on (release) {
if (clickTAG.substr(0,5) == "http:") {
}
getURL(ClickTAG, "_blank");
}

The ad itself may be seen at http://www.gulfislands.net/test.htm.

When you click on one of the links, after the movie has finished running, you
get a message saying the ad serving software doesn't know where to redirect.

Tony
AddThis Social Bookmark Button