Active
Project:
Media: YouTube
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Dec 2011 at 03:24 UTC
Updated:
25 Feb 2012 at 19:24 UTC
Hi,
Is it possible to integrate this module with event tracking in Google Analytics? The GA modules provides event tracking and it seems that video events can be pushed to GA (http://code.google.com/p/ga-youtube-tracker/wiki/HowToTrackEmbeddedYoutu...). I am wondering if such a feature would be of interest to other users of emfield with YouTube as provider?
Cheers, J.
Comments
Comment #1
designguru commentedI just came across that javascript approach and would love to hear any stories anyone may have to relate their experiences integrating it with the media_youtube module before jumping in and trying to make it work..
q./
Comment #2
anybodyGreat idea, we would also love such a functionality. The Youtube API provides several Events that could be used to trigger a tracking perhaps:
http://code.google.com/intl/de/apis/youtube/js_api_reference.html#Events
Any Ideas or interests in this? Perhaps somebody has already tried something like this?
Comment #3
jelo commentedI haven't tried it yet, but I like the idea proposed by Anybody. The first basic implementation could just add the event listener to the player and push the state changes to GA. Even just the state changes for player loaded, started playing, ended would be a good start to simply create a funnel how many users load, start watching and complete the video.
I have not yet developed/extended a module for Drupal. How could we get this started? I would really like to get this functionality. Do other video modules already implement event tracking? Maybe we could check how they set it up if it works for them.
What else would we need to record apart from video ID, node ID and event state? Should we map out the desired functionality a little more?
Regards, J.