Learn how to enable video tracking for your pixel across various video sources. This documentation covers the steps to set up event tracking for YouTube, Vimeo, and self-hosted videos. When any of these videos are played, a corresponding event will be triggered. Follow this guide to efficiently track video interactions and gather valuable insights.
Benefits of Tracking Video Plays
This feature helps you understand viewer engagement with your videos. By tracking how much of the video your visitors watch, you can gauge their interest and whether they find your content engaging.
- Analysing viewer engagement.
- Understanding which parts of your videos are most watched.
- Improving content strategy based on viewer behaviour.
Overview of YouTube Video Tracking
Once this feature is enabled, it will track interactions with videos on your website. The tracking will capture various milestones:
- Video Start: Triggered when the video starts playing.
- 10% Watched: Triggered when 10% of the video has been watched.
- 25% Watched: Triggered when 25% of the video has been watched.
- 50% Watched: Triggered when 50% of the video has been watched.
- 75% Watched: Triggered when 75% of the video has been watched.
- 100% Watched: Triggered when the video has been fully watched.
Additionally, the report will show the exact time at which each milestone occurred.
Implementation Steps
You need to enable tracking for the specific video type you want to track. For YouTube videos, turn on the “Track YouTube Video” option. For Vimeo videos, turn on the “Track Vimeo Video” option.
How to Enable Video Tracking in Pixelavo
- Go to Pixelavo and add a new pixel by entering the Pixel ID, Access Token, and Test Event Code.
- Navigate to the “Other Events” menu and enable the targeted options (Track YouTube Video, Track Vimeo Video, Track Self-Hosted Video) to start tracking.

Parameters Passed with the Event
Parameters
:videoProvider
: Always set to “YouTube”.videoUrl
: The URL of the YouTube video.videoTitle
: The title of the YouTube video.videoDuration
: The total duration of the video in seconds.videoCurrentTime
: The current playback time of the video in seconds.videoPercent
: The percentage of the video that has been watched (0%, 10%, 25%, 50%, 75%, 100%).
Example Payload
{
"videoProvider": "YouTube",
"videoUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"videoTitle": "Example Video Title",
"videoDuration": 300,
"videoCurrentTime": 150,
"videoPercent": 50
}
Common Issues and Solutions
- Popup Videos Not Trackable: If you use a video in a popup, it will not be trackable. Ensure videos are embedded directly on the page for tracking.
Conclusion
We hope this documentation helps you effectively track videos on your website. If you encounter any issues or have questions even after following these instructions, please don’t hesitate to reach out to our support team for assistance.