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

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -