Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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
Community Advisor

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
Community Advisor

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