My company doesn't currently have a central hosting solution for videos, so we have to upload them with our help systems. When I add videos to a topic, it's inserted as an <object>. I've so far been unsuccessful at tracking views/clicks for these videos.
I have the code set up as following:
Code: Select all
<object MadCap:HTML5Video="true" src="../../Resources/Videos/JobDescription_editMangers.mp4" MadCap:Param_controls="true" MadCap:Param_muted="false" MadCap:Param_loop="false" MadCap:Param_autoplay="false" onClick="ga('send','event','video','play','JobDescription_editMangers');">
Does Event tracking not work with <object> items? Am I missing something else?