prueba analytics

parent c1d3b6f0
......@@ -82,15 +82,18 @@
}(
window, window.videojs));
window.player.on("play", function (e) {
console.log("Video playback started: " + window.player.currentTime());
window.player.on("start", function(e){
console.log("Video playback started: " + window.player.currentTime());
//ga('send', 'play', 'Videos', 'play', 'Prueba');
gtag('event', "play", {
'event_category': "play",
'event_label': "played",
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());
});
window.player.on("pause", function (e) {
......
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