Tracking a Flash banner advert using clickTag and Google Analytics

Posted by alistair.mp on Stack Overflow See other posts from Stack Overflow or by alistair.mp
Published on 2010-04-23T17:20:32Z Indexed on 2010/04/23 17:23 UTC
Read the original article Hit count: 369

Filed under:

Hello.

I'm trying to find out if there is a way of using clickTag and Google Analytics to track outgoing banner clicks. clickTag code:

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

Maybe someone can tell me whether the following would work:

on (release) {
  if (clickTAG.substr(0,5) == "http:") {
    getURL("javascript:pageTracker._trackPageview('/somebannerad');");
    getURL(clickTAG);
  }
}

but I would ideally like a solution that worked with the standard clickTag code and didn't involve changing any code in the flash file. Anyone have any ideas?

Thanks

© Stack Overflow or respective owner

Related posts about flash