{"id":28209,"date":"2024-08-03T15:18:06","date_gmt":"2024-08-03T09:18:06","guid":{"rendered":"https:\/\/hasthemes.com\/?post_type=docs&#038;p=28209"},"modified":"2024-11-10T16:57:23","modified_gmt":"2024-11-10T10:57:23","password":"","slug":"how-to-enable-video-tracking-for-pixel","status":"publish","type":"docs","link":"https:\/\/hasthemes.com\/docs\/how-to-enable-video-tracking-for-pixel\/","title":{"rendered":"How to Enable Video Tracking for Pixel"},"content":{"rendered":"\n<p style=\"margin-bottom:0em;padding-top:0px;padding-bottom:1.75em\">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.<\/p>\n\n\n\n<div class=\"wp-block-group is-layout-flow wp-block-group-is-layout-flow\" style=\"padding-top:0;padding-right:0;padding-bottom:1.75rem;padding-left:0\"><div class=\"wp-block-group__inner-container\">\n<h2 class=\"wp-block-heading\">Benefits of Tracking Video Plays<\/h2>\n\n\n\n<p style=\"margin-top:0;margin-bottom:0.75em\">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.<\/p>\n\n\n\n<ul style=\"margin-top:0px;margin-bottom:0.75em\" class=\"wp-block-list\">\n<li>Analysing viewer engagement.<\/li>\n\n\n\n<li>Understanding which parts of your videos are most watched.<\/li>\n\n\n\n<li>Improving content strategy based on viewer behaviour.<span id=\"docs-internal-guid-f533c372-7fff-5707-33a0-a238335676c6\"><div><span style=\"font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-alternates: normal; font-variant-position: normal; vertical-align: baseline;\"><\/span><\/div><\/span><\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-group is-layout-flow wp-block-group-is-layout-flow\" style=\"padding-top:0;padding-bottom:0\"><div class=\"wp-block-group__inner-container\">\n<h3 class=\"wp-block-heading\">Overview of YouTube Video Tracking<\/h3>\n\n\n\n<p style=\"margin-bottom:0.75em\">Once this feature is enabled, it will track interactions with videos on your website. The tracking will capture various milestones:<\/p>\n\n\n\n<ul style=\"margin-top:0px;margin-bottom:0.75em\" class=\"wp-block-list\">\n<li><strong>Video Start<\/strong>: Triggered when the video starts playing.<\/li>\n\n\n\n<li><strong>10% Watched<\/strong>: Triggered when 10% of the video has been watched.<\/li>\n\n\n\n<li><strong>25% Watched<\/strong>: Triggered when 25% of the video has been watched.<\/li>\n\n\n\n<li><strong>50% Watched<\/strong>: Triggered when 50% of the video has been watched.<\/li>\n\n\n\n<li><strong>75% Watched<\/strong>: Triggered when 75% of the video has been watched.<\/li>\n\n\n\n<li><strong>100% Watched<\/strong>: Triggered when the video has been fully watched.<\/li>\n<\/ul>\n\n\n\n<p style=\"margin-bottom:0\">Additionally, the report will show the exact time at which each milestone occurred.<\/p>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-group is-layout-flow wp-container-core-group-is-layout-91aa90a6 wp-block-group-is-layout-flow\" style=\"padding-top:0;padding-bottom:1.75rem\"><div class=\"wp-block-group__inner-container\">\n<h2 class=\"wp-block-heading\">Implementation Steps<\/h2>\n\n\n\n<p style=\"margin-bottom:0.75em\">You need to enable tracking for the specific video type you want to track. For YouTube videos, turn on the \u201c<strong>Track YouTube Video<\/strong>\u201d option. For Vimeo videos, turn on the \u201c<strong>Track Vimeo Video<\/strong>\u201d option.<\/p>\n\n\n\n<div class=\"wp-block-group is-layout-flow wp-block-group-is-layout-flow\" style=\"padding-top:0em;padding-bottom:0em\"><div class=\"wp-block-group__inner-container\">\n<h3 class=\"wp-block-heading\">How to Enable Video Tracking in Pixelavo<\/h3>\n\n\n\n<ol style=\"margin-top:0.75em;margin-bottom:0.75em\" class=\"wp-block-list\">\n<li>Go to Pixelavo and add a new pixel by entering the <a href=\"https:\/\/hasthemes.com\/doc\/how-to-add-pixel\/\">Pixel ID<\/a>, Access Token, and Test Event Code.<\/li>\n\n\n\n<li>Navigate to the \u201c<strong>Other Events<\/strong>\u201d menu and enable the targeted options (<strong>Track YouTube Video<\/strong>, <strong>Track Vimeo Video<\/strong>, <strong>Track Self-Hosted Video<\/strong>) to start tracking.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"481\" src=\"https:\/\/hasthemes.com\/wp-content\/uploads\/2024\/08\/other-events-1024x481.png\" alt=\"\" class=\"wp-image-28260\" srcset=\"https:\/\/hasthemes.com\/wp-content\/uploads\/2024\/08\/other-events-1024x481.png 1024w, https:\/\/hasthemes.com\/wp-content\/uploads\/2024\/08\/other-events-300x141.png 300w, https:\/\/hasthemes.com\/wp-content\/uploads\/2024\/08\/other-events-768x361.png 768w, https:\/\/hasthemes.com\/wp-content\/uploads\/2024\/08\/other-events-360x169.png 360w, https:\/\/hasthemes.com\/wp-content\/uploads\/2024\/08\/other-events.png 1496w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-group is-layout-flow wp-block-group-is-layout-flow\" style=\"padding-top:0em;padding-bottom:1.75em\"><div class=\"wp-block-group__inner-container\">\n<h2 class=\"wp-block-heading\">Parameters Passed with the Event<\/h2>\n\n\n\n<ul style=\"margin-top:0px;margin-bottom:0.75em\" class=\"wp-block-list\">\n<li><code><strong>Parameters<\/strong><\/code>:\n<ul class=\"wp-block-list\">\n<li><code><strong>videoProvider<\/strong><\/code>: Always set to &#8220;YouTube&#8221;.<\/li>\n\n\n\n<li><code><strong>videoUrl<\/strong><\/code>: The URL of the YouTube video.<\/li>\n\n\n\n<li><code><strong>videoTitle<\/strong><\/code>: The title of the YouTube video.<\/li>\n\n\n\n<li><code><strong>videoDuration<\/strong><\/code>: The total duration of the video in seconds.<\/li>\n\n\n\n<li><code><strong>videoCurrentTime<\/strong><\/code>: The current playback time of the video in seconds.<\/li>\n\n\n\n<li><code><strong>videoPercent<\/strong><\/code>: The percentage of the video that has been watched (0%, 10%, 25%, 50%, 75%, 100%).<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p style=\"margin-top:0px;margin-bottom:0.25px\"><strong>Example Payload<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"videoProvider\": \"YouTube\",\n  \"videoUrl\": \"https:\/\/www.youtube.com\/watch?v=dQw4w9WgXcQ\",\n  \"videoTitle\": \"Example Video Title\",\n  \"videoDuration\": 300,\n  \"videoCurrentTime\": 150,\n  \"videoPercent\": 50\n}<\/code><\/pre>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-group is-layout-flow wp-block-group-is-layout-flow\" style=\"padding-top:0em;padding-bottom:1.75em\"><div class=\"wp-block-group__inner-container\">\n<h2 class=\"wp-block-heading\">Common Issues and Solutions<\/h2>\n\n\n\n<ul style=\"margin-bottom:0em\" class=\"wp-block-list\">\n<li><strong>Popup Videos Not Trackable<\/strong>: If you use a video in a popup, it will not be trackable. Ensure videos are embedded directly on the page for tracking.<\/li>\n<\/ul>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-group is-layout-flow wp-container-core-group-is-layout-3898a69f wp-block-group-is-layout-flow\" style=\"padding-top:0;padding-bottom:0rem\"><div class=\"wp-block-group__inner-container\">\n<h2 class=\"wp-block-heading\" style=\"margin-bottom:var(--wp--preset--spacing--20)\">Conclusion<\/h2>\n\n\n\n<p style=\"margin-top:0px;margin-bottom:0px\">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\u2019t hesitate to reach out to our support team for assistance.<\/p>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_uag_custom_page_level_css":"","_mi_skip_tracking":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"doc_category":[254],"doc_tag":[],"class_list":["post-28209","docs","type-docs","status-publish","hentry","doc_category-additional-events"],"acf":[],"year_month":"2025-11","word_count":431,"total_views":"825","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Ashim Kumar","author_nicename":"ashim-ht","author_url":"https:\/\/hasthemes.com\/author\/ashim-ht\/"},"doc_category_info":[{"term_name":"Pixelavo Events","term_url":"https:\/\/hasthemes.com\/docs-category\/additional-events\/"}],"doc_tag_info":[],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"htmega_size_585x295":false,"htmega_size_1170x536":false,"htmega_size_396x360":false,"betterdocs-category-thumb":false},"uagb_author_info":{"display_name":"Ashim Kumar","author_link":"https:\/\/hasthemes.com\/author\/ashim-ht\/"},"uagb_comment_info":0,"uagb_excerpt":"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&hellip;","knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/docs\/28209","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/comments?post=28209"}],"version-history":[{"count":74,"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/docs\/28209\/revisions"}],"predecessor-version":[{"id":29030,"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/docs\/28209\/revisions\/29030"}],"wp:attachment":[{"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/media?parent=28209"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/doc_category?post=28209"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/doc_tag?post=28209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}