HTML5 Background Video (disable tracking) | Community
Skip to main content
May 17, 2017
Solved

HTML5 Background Video (disable tracking)

  • May 17, 2017
  • 1 reply
  • 942 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Amit_Kumar

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

1 reply

Amit_Kumar
Amit_KumarAccepted solution
May 18, 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