How can I track actions in Flash applications?

2011-10-05 09:26:24Tags: track,flash,applications

Answer:

If you have a flash based website that loads most if it's content in one big swf file, tracking what people do within your flash app requires some extra work. For each action that you want to track, a request needs to be sent to the webserver, so that request is logged in the log file and can be analyzed by Logaholic. For example, in your flash app, if someone clicks to a certain bit of content (let's say: 'Contact us'), the flash script executes an action to display that. What you want to do is to have that action also request an empty file on your server, for example /innerflash/contactus.php. You can load this as an image, it doesn't matter as long as it's requested. Now logaholic will display a pageview on /innerflash/contactus.php every time the 'Contact us' part was displayed in your flash app. You can do this for every action you are interested in. Make sure to give the empty files a descriptive name, so it's easy to remember what they represent in your Flash application. This will only work if you use log files, by the way.
The information on this page relates to older Logaholic versions (prior to Logaholic 6) and may be outdated.