Google Analytics implementation in full flash websites
Once upon a time, in a galaxy far far away, google analytics wasn’t able to track full flash websites. Luckily that’s not todays reality!
This little trick enables you to use Asual’s SWFAdress in collaboration with Google Analytics to track how users interact with your website. Monitor how much time they spend there, what version of the flash player they are running, where they live, what screen resolution their monitors have and lots and lots more.
– But most importantly, it allows you to see how those numbers progress from day to day.
This allows you to get URLs like this:
Instead of URLs like this:
What’s the point?
Well it gives your users the ability to link to, and share, specific parts of your website. It also records history states in the browser, so you can actually browse a full flash websites with the back and forward buttons in the browser(Without SWFAdress, that just restarts the whole thing and throws you back to the front page). You can read more about the SWF Adress features here.
Google Analytics and SWFAdress
In this case we’ll use SWFAdress to tell Google analytics which pages the user visits, so GA can record all this information.
This is your normal SWFAdress implementation code in your index.html: