Campaing tracking in Flash ClickTAG

Today we encountered a problem. Nothing showed up in Google Analytics tracking campaigns. We used a clickTAG code to swfobject (a.k.a FlashObject) like this:

so.addVariable(“clickTAG”, “”);

But the banner link only went to “”. After a bit of research I found out that Flash didn`t accept anything that’s after the ampersand &. Some suggested using & instead of &, but it did not work. I`m not sure if it`s a problem of Flash or SWFobject, but anyway I found a simple solution – use javascript escape() function to translate the URL, like this:

so.addVariable(“clickTAG”, escape(“”));

Voila! Now the banner opens full URL with tracking code! I think this is a problem with other tracking and ad network users also.
I hope this helps someone! :)

Author: Valters Bože

abstract person

Leave a Reply

Your email address will not be published. Required fields are marked *