Shadowbox and Analytics

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Shadowbox and Analytics

webideias
Hi There

How can I access a single video which was triggered from the Shadowbox plugin?
I have been able to trace events with the new GA API but I would like to track several vídeos not just one...

function tracer(a) {
        var videoTracker = pageTracker._createEventTracker("Videos");
        videoTracker._trackEvent("Video Content", a.rel);
}
  $(function() {
      var options = {
        onOpen:     tracer,
        }
    Shadowbox.init(options);
});

Can anyone get me on the right track?

Thank you :)