Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!
SOLVED

HTML5 Background Video (disable tracking)

Avatar

Level 1

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

1 Accepted Solution

Avatar

Correct answer by
Level 10

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

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

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