Wistia Data Layer Examples
Learn more about how ListenLayer generates powerful data layers when visitors engage with your Wistia Videos.
Custom Video Data Layer Events
Like the ones shown here, generate data layer events when Wistia activity occurs on your website or landing pages. For example, collect information about how often Wistia Videos load, when visitors engage with the video player, and how far visitors progress through a video. You can even capture events (conversions) when users enter their email into a gated video.
event: 'wistiaVideoLoaded',
event: 'wistiaProgress',
event: 'wistiaEngagement',
event: 'wistiaUserEnteredEmail'
Automatic Data Layer Values
ListenLayer pushes critical information from your Wistia Videos into the data layer automatically. This makes it easy to capture structure data into your analytics platforms as users view, engage with, and progress through your videos.
All data layer values can be captured as variables inside Google Tag Manager to push anywhere you’d like! You can even generate custom data layer values to segment your reporting.
videoAutomaticValues: {
videoId: 13351366,
videoFieldValues: {
uuid: 'THLSaBNVLfQddwctzgx97r',
videoName: 'video-1577152095',
videoLengthInSeconds: 28,
videoLengthInMilliSeconds: 28434,
playerLoadId: 'yKmLu-JFDpRjJf00L3Tuxw',
eventAction: 'Watched 25%',
videoEmbedSize: {width: 640, height: 360},
numberSeconds: 'Watched 7s'
},
videoLocation: {
href: 'http://demo.hostedstaging.com/wistia/',
host: 'demo.hostedstaging.com',
hostname: 'demo.hostedstaging.com',
pathname: '/wistia/',
protocol: 'http:',
originPathName: 'http://demo.hostedstaging.com/wistia/'
}
}
Custom Data Layer Values
Using data from your Wistia Videos, website, and user activity, ListenLayer allows you to write powerful rules that generate custom data layer values. With this feature, data collection and marketing analytics becomes nearly limitless!
For example, you can trigger conversions from your video activity, but only for users who progress through the video to a specific threshold. To do this, write a rule that pushes a specific value (highqualityVideoWatch: ‘True’) into the data layer when this threshold is reached!
Amplify your website analytics with powerful custom data layer values for Wistia Videos, with no programming required.
videoCustomValues: {
//custom variable values display here based on rules you write
videoName: 'Full Webinar Session,
highqualityVideoWatch: 'True',
videoHost: 'Wistia',
},
Ready to Dive In?
See how easy (and powerful) ListenLayer is by opening an account today or requesting a demo.