How to Track YouTube Video Playback in Adobe Launch

Adobe Launch BCS 7 years ago (2019-12-09) 20144 Views 18 Comments
文章目录[隐藏]

Updated: March 25, 2026

Tracking how users engage with your YouTube videos — play, pause, end — is essential for understanding content performance. In this guide, you’ll learn how to capture those interactions using Adobe Launch (Tags) and Adobe Analytics.

We’ll walk through four implementation approaches, ranging from custom JavaScript to ready-made extensions.

Test page: https://www.bbccss.com/youtube-test

Method 1: Custom JavaScript (YouTube API)

This approach uses the YouTube Iframe API with your own JavaScript. It gives you full control but requires more technical know-how.

Step 1: Deploy the Tracking Code

Add the following code under Configure Tracker Using Custom Code in the Adobe Analytics extension settings:

How to Track YouTube Video Playback in Adobe Launch
The following line triggers tracking events:

How to Track YouTube Video Playback in Adobe Launch

The _satellite.track() calls in the code above fire custom events. That means you need to create Direct Call Rules in Adobe Launch to catch them and map them to Analytics variables.

 

Step 2: Create a Rule (example: video_pause)

Create a rule and name it something like “Video Pause — DCR — YouTube Tracking”

How to Track YouTube Video Playback in Adobe Launch

 

EVENTS

Configure a Direct Call Event that matches “video_pause” — the same string you used in _satellite.track(“video_pause”).

How to Track YouTube Video Playback in Adobe Launch

 

ACTIONS 

ACTION 1:Set Adobe Analytics Event , e.g. map this to event12:

How to Track YouTube Video Playback in Adobe Launch

Action 2: Send Beacon,use s.t() (treat it as a page view).

How to Track YouTube Video Playback in Adobe Launch

Action 3:How to Track YouTube Video Playback in Adobe Launch

Final effect:

How to Track YouTube Video Playback in Adobe Launch

Save the rule and repeat for video_start and video_end as needed.

 

Step 3: Test & Publish

Build and publish a library. Open the test page, play and pause the video

How to Track YouTube Video Playback in Adobe Launch

Then check Adobe Analytics to confirm event12 is firing.

 

Method 2: Video Tracking for YouTube (Adobe Extension)

This is a first-party extension from Adobe.

 

Step 1: Install the Extension

In Adobe Launch, go to「Extensions」——「 Catalog 」, search for “Video Tracking for YouTube”, and install it. No additional configuration is required.

 

Step 2: Create a Rule

Create a rule named “Video Pause — Video Tracking for YouTube — YouTube Tracking”

How to Track YouTube Video Playback in Adobe Launch

 

EVENTS

Use the event provided by the extension that fires on video pause.

How to Track YouTube Video Playback in Adobe Launch

ACTIONS

ACTIONS 1:Set the Adobe Analytics event (e.g., event12).

How to Track YouTube Video Playback in Adobe Launch

Action 2:Send a beacon with s.t().

How to Track YouTube Video Playback in Adobe Launch

Action 3:How to Track YouTube Video Playback in Adobe Launch

Final effect:How to Track YouTube Video Playback in Adobe Launch

Save the rule.

 

Step 3: Test & Publish

Build and publish a library. Open the test page, play and pause the video

How to Track YouTube Video Playback in Adobe Launch

You should see event12 firing in Adobe Analytics

 

Method 3: YouTube Player Embed Extension (by 33Sticks — Not Recommended)

This extension is easier to implement than the custom code approach, but it’s limited in functionality. It no longer works reliably with recent versions of the YouTube player or Adobe Launch, so its use is discouraged.

Step 1: Install the Extension

In Adobe Launch, go to「Extensions」——「 Catalog 」, search for “YouTube Player Embed ”, and install it. No additional configuration is required.

 

Step 2: Create a Rule

Create a rule named “Video Pause — YouTube Player Embed — YouTube Tracking”

How to Track YouTube Video Playback in Adobe Launch

 

EVENTS

Select the YouTube Player Embed extension as the event source. You’ll see a configuration option:

How to Track YouTube Video Playback in Adobe Launch

  • Any player — tracks all YouTube videos on the page.
  • Specific player — tracks only the video whose player ID you specify. The player ID is the string after /embed/ in the YouTube embed URL. For example, in https://www.youtube.com/embed/3fZmtnp2T5U, the player ID is 3fZmtnp2T5U.

 

 

ACTIONS

ACTIONS 1:Set the Adobe Analytics event (e.g., event12).

How to Track YouTube Video Playback in Adobe Launch

Action 2: Send a beacon with s.t().

How to Track YouTube Video Playback in Adobe Launch

Action 3:How to Track YouTube Video Playback in Adobe Launch

Final effect:How to Track YouTube Video Playback in Adobe Launch

Save!!

Step 3: Test & Publish

Build and publish a library. Open the test page, play and pause the video

How to Track YouTube Video Playback in Adobe Launch

You should see event12 firing in Adobe Analytics

 

Method 4: YouTube Playback Extension (Recommended)

This is the most powerful and flexible option. It supports more event types (buffering, quality changes, progress milestones) and provides richer metadata than any of the other methods.

Caveat: This extension does not play well with Google Tag Manager’s native video tracking or with Google Analytics 4’s Enhanced Measurement. If you’re in a mixed-tag ecosystem, plan accordingly.

 

Step 1: Install Extensions

In Adobe Launch, go to「Extensions」——「 Catalog 」, search for “YouTube Playback”, and install it. No additional configuration is required.

 

Step 2: Enable Tracking (Rule 1 — Page-Level)

Add the YouTube Playback configuration to the Actions section of a page-view rule. This initializes tracking on all YouTube embeds found on the page.

How to Track YouTube Video Playback in Adobe Launch

 

Step 3: Track Events (Rule 2 — Event-Level)

Create a rule named “Video Pause — YouTube Playback Extension — YouTube Tracking”:

How to Track YouTube Video Playback in Adobe Launch

EVENTS

Select the YouTube Playback extension and pick the event type (e.g., Pause).

How to Track YouTube Video Playback in Adobe Launch

ACTIONS

Action 1: Set the Adobe Analytics event (e.g., event12).How to Track YouTube Video Playback in Adobe Launch

Action 2: Send a beacon with s.t().

How to Track YouTube Video Playback in Adobe Launch

Action 3:How to Track YouTube Video Playback in Adobe Launch

Final effect:

How to Track YouTube Video Playback in Adobe Launch

 

Step 4: Test & Debug

Build and publish a library. Open the test page, play and pause the video

How to Track YouTube Video Playback in Adobe Launch

You can see that event12 is recorded.

Summary

Method Difficulty Flexibility Recommended?
Custom JavaScript (YouTube API) High Full Good for custom setups
Video Tracking for YouTube (Adobe) Low Moderate Decent, official extension
YouTube Player Embed (33Sticks) Low Limited Not recommended — outdated
YouTube Playback Extension Low High Recommended — best overall

Go with the YouTube Playback Extension if you can. It supports more event types, surfaces richer data, and is easier to maintain.

References

Like (32)
Post my comment
Cancel comment
Expression Bold Strikethrough Center Italic

Hi, you need to fill in your nickname and email!

  • Nickname (required)
  • Email (required)
  • Website
(18) friends in the comments
  1. the rule is not triggering and it is not working in any way
    Jayakumar2020-06-12 14:00 Reply Windows 10 | Chrome 83.0.4103.97
    • Sorry, because my colleague modified some configuration, it has been adjusted, BCS
      BCS2020-06-15 16:55 Reply Mac OS X | Chrome 83.0.4103.97
  2. Its not working
    nil2020-06-09 15:31 Reply Windows 10 | Chrome 83.0.4103.61
    • I have added it, use even40, you can try it
      BCS2020-06-11 16:27 Reply Mac OS X | Chrome 83.0.4103.97
      • Didn't understand
        nil2020-06-11 16:38 Reply Windows 10 | Chrome 70.0.3538.102
  3. How can we track the video name? I don't see the option from the extension. Please let me know.
    Jayakumar2020-05-26 21:43 Reply Windows 10 | Chrome 81.0.4044.138
  4. Tried this approach, it didn't work. :???:
    Winston2020-03-13 12:38 Reply Linux | Chrome 80.0.3987.132
    • Any hint or error message?
      BCS2020-03-13 15:49 Reply Mac OS X | Chrome 80.0.3987.132
      • In staging in debug mode, we don't see the extension (youtube embed) loading or the rule created (video start) firing.
        Winston2020-03-16 10:16 Reply Windows 10 | Chrome 79.0.3945.130
        • The CDN may not be updated so quickly after Publish. You can open the embed code in your browser, refresh it, and then test it.
          BCS2020-03-16 20:42 Reply Mac OS X | Chrome 80.0.3987.132
          • It is not working for me and even the rule is not firing on https://www.bbccss.com/youtube-test
            Shamshul2020-05-30 00:08 Windows 10 | Chrome 81.0.4044.138
          • The demo tracking on this page has been removed by me.
            BCS2020-05-30 11:29 Mac OS X | Chrome 83.0.4103.61
          • It is not working at my end
            Shamshul2020-05-31 00:18 Windows 10 | Chrome 81.0.4044.138
          • The setting was removed .
            BCS2020-05-31 13:17 Mac OS X | Chrome 83.0.4103.61
          • I have added it, use even40, you can try it
            BCS2020-06-11 16:28 Mac OS X | Chrome 83.0.4103.97
    • Hi, Were you able to find how to track video name or id Regards Karandeep Singh
      karan2020-06-12 21:02 Reply Windows 10 | Firefox浏览器 68.0
      • Settled on using datalayer and custom link tracking to track video interactions.
        Winston2020-06-29 09:13 Reply Windows 10 | Chrome 79.0.3945.130