prueba analytics

parent 4f51913e
......@@ -85,7 +85,12 @@
window.player.on("play", function (e) {
console.log("Video playback started: " + window.player.currentTime());
ga('send', 'play', 'Videos', 'play', 'Prueba');
//ga('send', 'play', 'Videos', 'play', 'Prueba');
gtag('event', "play", {
'event_category': "play",
'event_label': "played",
'value': "1"
});
});
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