Google Analytics bridge mode Flash plugins - Demo 9 / 14
Introduction
This demo shows the Analytics plugin configured in bridge mode. In this mode the plugin uses the ga.js JavaScript functionality to send the tracking events to Google Analytics. To use this mode you should include the ga.js in your embedding HTML page. Typically you use this mode if you already use ga.js to track the traffic of the embedding page.
JavaScript coding
The only required parameter is trackingMode.
$f("bridge", "http://releases.flowplayer.org/swf/flowplayer-3.2.7.swf", {
plugins:{
gatracker: {
url: "flowplayer.analytics-3.2.2.swf",
trackingMode: "Bridge",
// flowplayer.org uses and older version of the Analytics JS code,
// we need to modify the name of the tracker object accordingly
bridgeObject: "_tracker"
}
}
});
Take a look at a standalone version of this demo. View its source code to get things going on your page.