mickey / videojs-ga

Google Analytics plugin for video.js
MIT License
138 stars 109 forks source link

Add Support for Universal Analytics (analytics.js). Fixes #2. #3

Closed dominic-p closed 10 years ago

dominic-p commented 10 years ago

This is my take on adding support for the new Universal Analytics library, analytics.js. I've only done some basic testing, so feedback and modifications are welcome.

I tried to standardize the event actions and event labels a bit too. The issue with this is that sometimes more than one piece of data had to be combined in the event action (if only event value would accept non-numeric values). I used Google's documentation as a loose guide for this.

I hope this helps, and thanks for a great plugin.

mickey commented 10 years ago

Hey @dominic-p this looks good, I didn't have the time to test it. So I'll try to check this this week. Thanks for the contribution!

mickey commented 10 years ago

Thanks for the great contribution!

dominic-p commented 10 years ago

You're welcome. Happy to help. :)