This article provides the data layer definition for basic video tracking.
Table of Contents Placeholder
Data Layer Attributes
Variable
Description
Example
Type
tealium_event
Tealium event name eg. video_pause.
"video_pause"
String
video_playhead
The playhead position (in seconds) of the video at the time of the event.
75
Number
video_id
A unique identifier for the video.
"xWlEk2i9r5Q"
String
video_length
The total length (in seconds) of the video.
300
Number
video_milestone
The percentage of video played eg. 25, 50, 75
25
Number
video_name
The display name of the video.
"How to track videos in Tealium"
String
video_platform
The name of the platform serving the video eg. "YouTube".
"YouTube"
String
Event Tracking
Video Load
Identifier
tealium_event="video_load"
Description
The video was loaded and made available to the viewer..
Sample
{
"tealium_event" : "video_load",
"video_id" : "xWlEk2i9r5Q",
"video_length" : 300,
"video_name" : "How to track videos in Tealium",
"video_platform" : "YouTube",
}
Video Start
Identifier
tealium_event="video_start"
Description
The video began playing for the first time (either via auto-play or user click)..
Sample
{
"tealium_event" : "video_start",
"video_id" : "xWlEk2i9r5Q",
"video_length" : 300,
"video_name" : "How to track videos in Tealium",
"video_platform" : "YouTube",
}
Video Play
Identifier
tealium_event="video_play"
Description
The video playback changed from not playing to playing..
Sample
{
"tealium_event" : "video_play",
"video_playhead" : "75",
"video_id" : "xWlEk2i9r5Q",
"video_length" : "300",
"video_name" : "How to track videos in Tealium",
"video_platform" : "YouTube",
}
Video Pause
Identifier
tealium_event="video_pause"
Description
The video playback changed to paused.
Sample
{
"tealium_event" : "video_pause",
"video_playhead" : 75,
"video_id" : "xWlEk2i9r5Q",
"video_length" : 300,
"video_name" : "How to track videos in Tealium",
"video_platform" : "YouTube",
}
Video Seek
Identifier
tealium_event="video_seek"
Description
Video playback was advanced forward or backward to a new playhead.
Sample
{
"tealium_event" : "video_seek",
"video_playhead" : 75,
"video_id" : "xWlEk2i9r5Q",
"video_length" : 300,
"video_name" : "How to track videos in Tealium",
"video_platform" : "YouTube",
}
Video Complete
Identifier
tealium_event="video_complete"
Description
Video playback has completed.
Sample
{
"tealium_event" : "video_complete",
"video_id" : "xWlEk2i9r5Q",
"video_length" : 300,
"video_name" : "How to track videos in Tealium",
"video_platform" : "YouTube",
}
Video Milestone
Identifier
tealium_event="video_milestone"
Description
The video playback reached a specific percentage milestone.
Sample
{
"tealium_event" : "video_milestone",
"video_playhead" : 75,
"video_id" : "xWlEk2i9r5Q",
"video_length" : 300,
"video_milestone" : 25,
"video_name" : "How to track videos in Tealium",
"video_platform" : "YouTube",
}
... View more