Attribute length (video_progress)

This attribute is a variant of the length attribute.

Name
length
Description
The length of something. This could be the number of seconds in a video, or the number of characters in a string.
Value
Example
Required
false
Type
string (number)
Redact
false
dataLayer event name
video_progress
GTM/GA4 parameter name
video_duration
GA4 display name
Video duration
Variants of this attribute

This attribute is a variant of the length attribute. Variants have the same name in the dataLayer but translate to different things in GA4 depending on the event_name.

Used by events
video (Video progress)