ActionScript3 Tracker Setup - OXYGEN-MARKET/oxygen-market.github.io GitHub Wiki

HOME > SNOWPLOW SETUP GUIDE > Step 2: setup a Tracker > Actionscript 3 Tracker

Contents

1. Overview

The Snowplow Actionscript 3 (AS3) Tracker allows you to track Snowplow events from a Flash movie, Flex application or Adobe AIR application.

The Tracker is straightforward to setup.

Ready? Let's get started.

Back to top

2. Integration options

2.1 Tracker compatibility

The Snowplow AS3 Tracker has been built, tested and compiled using the Adobe Flex 3.5 SDK, but is not dependent on Flex. You can use it in pure Actionscript projects.

It is compatible with Flash Player 9.0.124 and later.

Back to top

2.2 Dependencies

There are no external dependencies. The FlashBuilder project includes any necessary external classes, and the binary swc file is standalone, ready to be included in your project and referenced in your AS3 code.

Back to top

3. Setup

3.1 Hosting

The Tracker is available as source code for inclusion and compilation in your project, or as a binary .SWC file which you can just add to your project as is.

The binary is published to Snowplow's hosted Bintray repository.

The source code is available on Snowplow's GitHub repository.

The current version of the Snowplow AS3 Tracker is 0.1.0.

3.2 FlashBuilder

If you are using FlashBuilder for building your Flash application, then either:

3.2.1 Install using binary

The binary is available for download from our public BinTray repository. Installation steps as follows:

  1. Download the snowplow_actionscript3_tracker_0.1.0.zip file
  2. Unzip the binary (.SWC) file
  3. Include it in your project under "Properties > Build Path > Library Path > Add SWC..."

3.2.2 Install from source

You can also install this Flash analytics SDK from source:

  1. Download the project source code from GitHub under the 0.1.0 tag
  2. Import the source into your FlashBuilder project using "Import > Other... > Existing Projects into Workspace"
  3. Link this new project to your project using "Properties > Build Path > Library Path > Add Project..."

Done? Now read the Actionscript 3 Tracker API to start tracking events.

⚠️ **GitHub.com Fallback** ⚠️