Kill logging unless debug: true is specified with the options
Return the sendbeacon method so additional custom events may be triggered by the user leveraging the library:
var analytics = player.ga();
analytics.sendbeacon('MyEvent', true, 'foobar');Thanks to @jakiestfu for this PR