For those of you using Google Analytics, I’ll show you how to use tracking events in Edge to monitor statistics for events executed in your Edge compositions (Adobe also offers a web analytics solution called SiteCatalyst, which we may cover later).
Set up your analytics account
Visit http://www.google.com/analytics/ and sign in with your existing account or create a new one.
If you’re integrating your Edge composition with a page that already contains your tracking code, you can skip this step and move onto “Tracking Events in Edge”.
Once logged in, visit the Admin tab to grab your tracking code towards the bottom of the page.
Copy and paste your tracking code into the .html of your Edge composition.
Now that you’re all set up we can begin to track.
Tracking Events in Edge
Event tracking in Edge is actually quite simple. You can track anything bound to an event or have tracking executed automatically via triggers on the timeline. In this example, I’m going to set up event tracking for several events in my composition.
I’ll be using the analytics code for event tracking as documented here using the _trackEvent method. Visit the Google Analytics tracking guide to learn how to use these paramaters.
I’ve set up events in a few different parts of my composition. You can set up as many or as little events as you’d like; I’ve added plenty to give a few examples of events you can track.
Ready to upload
Now that all your tracking code is in place, you’re ready to upload. Once your composition is uploaded to your website Gogle Analytics will start tracking the events. Note: it might take a while between the time the event is fired to when Google receives it.
To view the events on Analytics, Go to Standard Reporting > Content > Events.
Once the events are executed, they’ll appear in your analytics report which allows you to get in-depth analysis on how visitors are using your Edge compositions.