Adobe
Products

Top destinations

  • Adobe Creative Cloud
  • Creative Suite 6
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • SiteCatalyst
  • Students
  • Elements family

Adobe Creative Cloud

  • What is Adobe Creative Cloud?
  • Design
  • Web
  • Photography
  • Video
  • Students
  • Teams
  • Enterprise
  • Educational institutions
  • Government

Design and photography

  • Photoshop
  • Illustrator
  • InDesign
  • Adobe Muse
  • Lightroom

Video

  • Adobe Premiere
  • After Effects

Web development and HTML5

  • Edge Tools & Services [opens in a new window]
  • Dreamweaver
  • Gaming [opens in a new window]

Adobe Marketing Cloud

  • What is Adobe Marketing Cloud?
  • Digital analytics
  • Social marketing
  • Web experience management
  • Testing and targeting
  • Media optimization

Analytics

  • SiteCatalyst
  • Adobe Discover
  • Insight

Social

  • Adobe Social

Experience Manager

  • CQ
  • Scene7

Target

  • Test&Target
  • Recommendations
  • Search&Promote

Media Optimizer

  • AdLens
  • AudienceManager
  • AudienceResearch

Document services

  • Acrobat
  • EchoSign [opens in a new window]
  • FormsCentral [opens in a new window]
  • SendNow [opens in a new window]
  • Acrobat.com [opens in a new window]

Publishing

  • Digital Publishing Suite

  • See all products
Business solutions

By business need

  • Digital analytics
  • Digital publishing
  • Document management
  • Media optimization
  • Social marketing
  • Testing and targeting
  • Video editing and serving
  • Web development [opens in a new window]
  • Web experience management
  • See all business needs

By industry

  • Broadcast
  • Education
  • Financial services
  • Government
  • Publishing
  • Retail
  • See all industries
Support & Learning

I need help

  • Products
  • Adobe Creative Cloud
  • Adobe Marketing Cloud
  • Forums [opens in a new window]

I want to learn

  • Training and tutorials
  • Certification [opens in a new window]
  • Adobe Developer Connection
  • Adobe Design Center
  • Adobe TV [opens in a new window]
  • Adobe Marketing Center
  • Adobe Labs [opens in a new window]
Download
  • Product trials
  • Adobe Flash Player
  • Adobe Reader
  • Adobe AIR
  • See all downloads
Company
  • Careers at Adobe
  • Investor Relations
  • Newsroom
  • Privacy
  • Corporate Social Responsibility
  • Customer Showcase
  • Contact us
  • More company info
Buy
  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers
  • Adobe Marketing Cloud sales [opens in a new window]
Search
 
Info Sign in
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Welcome,
My Adobe
My orders
My information
My preferences
My products and services
Sign out
My cart
Privacy My Adobe
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out Privacy My Adobe
Preorder Estimated Availability Date. Your credit card will not be charged until the product is shipped. Estimated availability date is subject to change. Preorder Estimated Availability Date. Your credit card will not be charged until the product is ready to download. Estimated availability date is subject to change.
Qty:
Purchase requires verification of academic eligibility
Subtotal
Promotions
Estimated shipping
Tax
Calculated at checkout
Total
Review and Checkout
Adobe Developer Connection / Flash Developer Center /

Google Analytics for simplified tracking of rich media websites

by Nick Mihailovski

Nick Mihailovski

Created

22 December 2008

Page tools

Share on Facebook
Share on Twitter
Share on LinkedIn
Bookmark
Print
Flash Professional CCFlextesting
Was this helpful?
Yes   No

By clicking Submit, you accept the Adobe Terms of Use.

 
Thanks for your feedback.

Requirements

User level

Intermediate

Required products

  • Flash Professional CC (Download trial)
  • Flash Builder (Download trial)

Working at Google over the past couple of years, I have had the opportunity to help many of our top clients implement Google Analytics on their web properties. This free website statistics service from Google helps website owners identify and analyze customer traffic and user trends on their sites.

One of the most common implementation challenges, however, has been tracking rich content inside SWF files on their pages. In the past, such tracking was not provided out of the box; every implementation had to be customized. Moreover, there was a lack of standards—and new developers who tracked Flash Player usage had to create their own processes to get it working.

With Google Analytics Tracking for Adobe Flash, tracking rich content on websites has never been simpler.

What it's all about

Google Analytics Tracking for Flash is a translation of the current Google Analytics tracking code into the ActionScript 3.0 programming language that dramatically simplifies the ability to track content authored in the Flash or Flex authoring environments, or in ActionScript 3.0. This new Flash tracking code provides all the rich features of the current JavaScript-based version, including campaign, page view, and event tracking, and can be used to track rich content, including embedded videos, branded microsites, and distributed widgets, such as online games.

Developers of rich Internet applications (RIAs) can now answer the following questions:

  • How many people have watched my video?
  • Am I developing the right creative that attracts new users?
  • How effective is my content at getting people to take action?

In the following video, Brett Crosby, Group Manager of Google Analytics, talks with Matthew McNeely, VP of engineering at Sprout—a company that helps advertisers design rich media content—about how Sprout has used Google Analytics Tracking for Flash to track distributed content on MySpace and iGoogle.

Supported platforms

We know there are many levels of experience in the Flash and Flex community, so we tried to make it easy for both non-technical designers as well as seasoned ActionScript programmers to take full advantage of Google Analytics Tracking for Flash. We've provided tracking libraries for both Flash Professional and Flex, which you can download:

  • Download gaforflash

The libraries include the following:

  • Flash visual component (see Figure 1)
  • Flash ActionScript 3.0 library
  • Flex MXML component
  • Flex ActionScript 3.0 library

You can learn more about how to use them through the developer documentation on Google Code.

Google Analytics component in Flash Professional
Figure 1. Google Analytics component in Flash Professional

Open development

We know that things change quickly online, and developers might want to review and improve the code. So we are providing our entire ActionScript 3.0 code base under the Apache License 2.0 code license.

For me, this is one of the most exciting aspects of this project. If you are a developer and want to improve the code's functionality, you can contribute to the code base. If you are a company that is running a content platform, such as Sprout mentioned in the video, you can seamlessly integrate the Google Analytics Tracking for Flash codebase into your existing architecture.

So while many features get launched only at the end of their development cycle, we see this as just the beginning.

Where to go from here

Please visit the project page to see an implementation overview, join a developer discussion group, and find reference documentation.

Sign up for a free Google Analytics account.

Tell us your success stories about how you've implemented Google Analytics Tracking for Adobe Flash.

Note: Google Analytics Tracking for Flash was an open collaboration of a number of very talented people across the globe. We'd like to personally thank our amazing third-party developers Zwetan Kjukov and Marc Alcaraz, who spent countless hours developing the code base. We'd also like to thank Matt Chotin, Puneet Goel, Rani Kumar, and Ajit Gosavi from Adobe who helped us overcome the obstacles of migrating to an all-ActionScript 3.0 environment.

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License

More Like This

  • Writing and running functional tests for Flash with Selenium RC
  • Understanding ActionScript 3 debugging in Flash
  • Code in Flex, test in Flash
  • Preventing publishing problems in Flash
  • Creating an accessible animated presentation in Flash
  • Flash CS4 Missing Manual excerpts: Video, testing and debugging, optimization, and sound

Products

  • Adobe Creative Cloud
  • Creative Suite 6
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • Digital Publishing Suite
  • Elements family
  • SiteCatalyst
  • For education

Download

  • Product trials
  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR

Support & Learning

  • Product help
  • Forums

Buy

  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Security
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2013 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy (Updated) | Cookies

Ad Choices