Accessibility

Flex Article

 

Setting Up Client-Based Analytics in a Flex Application


Sean Rooney

Sean Rooney

www.macromedia.com

Table of Contents

Comments
Created:
20 September 2004
User Level:
Advanced

You're ready to make the leap. Like a growing number of developers worldwide, you're committed to making your next web-based enterprise app a great user experience by creating a Rich Internet Application (RIA) with Macromedia Flex. Some challenges remain though. One is how best to instrument your app with an analytics tool so that business owners can easily track the success of your work. The obvious choice—connecting to your analytics vendor through a web service or remote object—isn't always an option, as many analytics vendors still have not made the transition to a web services-based approach. This article discusses how to implement analytics calls using a JavaScript and a cookie-based analytics tool, such as Omniture, NetIQ, or WebSideStory.

Requirements

To complete this tutorial you will need to install the following software and files:

Macromedia Flex

A text editor or Macromedia Flex Builder

Sample files:

An account with an analytics vendor, such as Omniture.

Prerequisite knowledge: experience creating ActionScript-based components in Flex and some understanding of object-oriented programming concepts.

About the author

Sean Rooney is a Principal Applications Engineer on the Macromedia Web Team. An experienced Flash developer, he began using Flex in early 2004. Prior to Macromedia he worked for Circumstance Design (now Odopod) and was a contractor with numerous other Bay Area technology design firms. He is a co-author of "Macromedia Flash: Art, Design and Function" and received an MFA in Composition/New Media from the California Institute of the Arts.