Tracking events in Universal Analytics only partly working -


Currently using Universal Analytics on my website which is already tracking PDF download and I Also trying to apply for a video, to see how often this video was played.

  & lt; P & gt; & Lt; Iframe width = "482" height = "271" src = "video url" scrolling = "no" frameborder = "0" allowable lixer = "onClick =" ga ('send', 'event', 'video', ' Play ',' eco-assistant ',' 10 '); " Gt; & Lt; / Iframe & gt; & Lt; / P & gt;  

This is real.

Any ideas why video plays are not tracked?

Many thanks, b.

One more thing to keep in mind is that the value given for the event should be an integer, string No. Your onClick code should be:

onClick = "ga ('send', 'event', 'video', 'play', 'eco-assistant', 10);"

Hope this additional information is helpful.

B. Keller


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -