Expand my Community achievements bar.

Webinar: Adobe Customer Journey Analytics Product Innovations: A Quarterly Overview. Come learn for the Adobe Analytics Product team who will be covering AJO reporting, Graph-based Stitching, guided analysis for CJA, and more!
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