HTML5 Background Video (disable tracking)

Avatar

Avatar

tyroneb64955636

Avatar

tyroneb64955636

tyroneb64955636

17-05-2017

We have a 'background' video running in full screen on a page.  Whereas this looks cool, it plays havoc with video tracking.  I'm using the media module to track html5 videos automatically; however this also picks up the 'background' video as well (which generates a ton of server calls because it loops).

Is it possible to not track the background video while still capturing the 'real' html5 videos

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Amit_Kumar

MVP

Avatar

Amit_Kumar

MVP

Amit_Kumar
MVP

17-05-2017

Hi,

Are you using ?

s.Media.autoTrack = true

if yes than you have to change this to false and follow the instruction given in this blog https://blogs.adobe.com/digitalmarketing/analytics/html5-video-measurement/ then look for s.media.track or s.media.monitor function and add a check  if the event is triggered by you back ground video(using id or media name etc) do nothing otherwise make the call.

this is a messy but it will work.

Regards,

Amit

Answers (0)