Need to integrate events? See the Quick Start Guide for the basic integration pattern.
Interface Events
interact
Fired when the user first interacts with the player.
Data:
- User first clicks on the player overlay
- Marks the beginning of user engagement
enter-fullscreen
Fired when the video enters fullscreen mode.
Data:
- User clicks the fullscreen button
- Player programmatically enters fullscreen
- Browser fullscreen API is activated
exit-fullscreen
Fired when the video exits fullscreen mode.
Data:
- User clicks the exit fullscreen button
- User presses Escape key
- Player programmatically exits fullscreen
- Browser fullscreen API is deactivated
Complete Integration Example
Data Structure
All user events include these standard fields:time: Current video playback time in secondssession_id: Unique device/session identifier
Related Events
- Video Events - Core playback events
- Timed Events - Custom events at specific times
- Pixel Events - Conversion tracking events
Configuration
To enable these events, configure the following in your TrackPlay dashboard:- Fullscreen: Enable fullscreen button in controls
- User Interaction: These events fire automatically when users interact with the player
