prueba analytics

parent 3f3b9ad4
......@@ -82,16 +82,15 @@
}(
window, window.videojs));
window.player.on("started", function(e){
console.log("Video playback started: " + window.player.currentTime());
//ga('send', 'play', 'Videos', 'play', 'Prueba');
window.player.bigPlayButton.on('click', function () {
console.log("Video started: " + window.player.currentTime());
gtag('event', "start", {
'event_category': "start",
'event_label': "Inicio Video 01",
'value': "1"
});
});
window.player.on("play", function (e) {
console.log("Video playback started: " + window.player.currentTime());
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment