Skip to content
Yuhui edited this page May 18, 2024 · 6 revisions

[YouTube Playback extension icon]

Introduction

This is an extension for Adobe Experience Platform Tags to track YouTube video playback.

It performs the following functions:

  • Prepares YouTube IFrame elements with enablejsapi and origin parameters.
  • Detects all YouTube player and playback events, including playback state change, playback quality and rate changes, and player errors.

It also allows a selector to be used to select specific YouTube IFrame elements to track their playback.

Adobe Exchange Program app listing


Quick Start

  1. Create a new Rule or open an existing Rule, for example, one with a "DOM Ready" Event.
  2. (optional) Add the "Load YouTube IFrame API Script" Action Type.
  3. Add the "Enable video playback tracking" Action Type. If the "Load YouTube IFrame API Script" Action Type was not used, then this Action Type will ensure that the YouTube IFrame API script is loaded.

Then add the appropriate Event Types in your Rules to track YouTube video playback interactions. Refer to each Event Type's table of Data Element Types that you can use in your Rules' Conditions and Actions.

Use the appropriate Data Element Types in your Rules to retrieve data about the YouTube video playback interactions, like the player's state, current time, video URL, etc. More information is available when setting up the Data Element Type.

Tutorials

Refer to the tutorials, starting with Tutorial 1: basic implementation to get more details on using the YouTube Playback extension.