Video Interaction Tracking

Video Interaction Tracking

Tracking interactions with video content on a website is a common requirement, and the JENTIS data model provides native support for this. Use the video tracking command to capture events such as play, pause, and seek, as well as metadata like duration and position.

This allows you to measure video engagement, monitor user behavior, and trigger tags based on specific playback milestones.

Tracking Command

  • video

Example Push

window._jts.push({
  track: "video",
  provider: "youtube",
  start: 1655213044474,
  duration: 42,
  currenttime: 24,
  percent: 100,
  status: "play",
  url: "https://example.com/video-page",
  title: "My Video",
  id: "123"
}, true);

✅ The second parameter true causes the data to be automatically submitted to the server—equivalent to calling track: "submit".

Properties for video

Name
Description
Type
Mandatory
Example

provider

Name of the video provider (e.g., YouTube, Vimeo)

string

no

"youtube"

start

Timestamp when the video was started (ms or seconds)

number

no

1655213044474

duration

Total duration of the video in seconds

number

no

42

currenttime

Elapsed time in seconds since the video started

number

no

24

percent

Percentage of video completed

number

no

100

status

Current playback status (play, seek, pause, complete)

string

no

"play"

url

URL of the video content or page

string

no

"https://example.com/video"

title

Title of the video

string

no

"My Video"

id

Unique identifier of the video

string

no

"123"

When to Use Video Tracking

Use this event for any meaningful interaction with video content:

  • When the user starts the video

  • When the user pauses, seeks, or completes the video

  • On playback milestones (e.g. 25%, 50%, 75%)

This allows you to:

  • Trigger tags based on video engagement

  • Enrich session data with content consumption metrics

  • Segment audiences by video behavior

Last updated

Was this helpful?