Enable Events on a YouTube

Business Background

Enable events on a YouTube, with Titan Web, in just a few clicks.

Titan Solution

You can now enable events on a YouTube video. For instance, if you add a YouTube via URL or from Salesforce to a web project, you can set a message or custom action if someone plays the video and/or if they pause the video and/or watch it to the end. For example, this could be used in the following scenarios:

  • You need to know whether a client has watched the video to the end when signing an agreement to the terms set out in the video.
  • You want to update Salesforce that a user has finished watching a training or regulations video.
  • You can get statistics on how often a user started watching a video, paused it, or watched it to the end. This could be applied where you need to know whether students watched the learning material.

How to Video

  • 0:02 Explore how you enable events on a YouTube video.
  • 0:10 We start off by choosing a YouTube video and show you how to add it to a web project.
  • 0:38 We show the various checkboxes under the enable events tab.
  • 0:57 Learn what happens when you click on a checkbox, and how notifications get sent to Salesforce.
  • 1:12 We show you how the status is updated on a contacts record in Salesforce.
  • 2:18 Watch how you can create a Salesforce action ”on play” which is pushed to Salesforce.
  • 3:36 View what happens when the video was either played, paused, and completed.
  • 4:08 We take you through a preview how the completed actions and how Salesforce is updated.
  • 5:51 The End.

How to Guide

  1. Select the expand (+) icon next to the settings icon in Titan Web. A list of elements will show.
  2. Select the Media option from the list.
  3. Select and drag the YouTube element to the canvas.
v
YouTube element
  1. Link the video via URL or Salesforce.
Link the video
Link the video
  1. Select the Gear icon. The YouTube Settings screen opens.
  2. Select the Enable Events checkbox. There are three options:5
Enable Events option screen
Enable Events option

On Play

  1. Select the Gear icon next to On Play. The On Action screen opens.
  2. Select the + icon next to Start. The Add Node screen opens.
    • You can set any custom action you want.
    • For this example, Show Message will be set, but there is a range of custom actions, such as a push to Salesforce or redirecting to a specific page.
  3. Select the Show message option.
  4. Select the Next button. The Add Node/Show message screen opens.
  5. Add a message, for instance, “Video was played.”
Add Node screen
Add Node screen

On Pause

  1. Select the Gear icon next to On Play. The On Action screen opens.
  2. Select the + icon next to Start. The Add Node screen opens.
    • You can set any custom action you want.
    • For this example, Show Message will be set, but there is a range of custom actions, such as a push to Salesforce or redirecting to a specific page.
  3. Select the Show message option.
  4. Select the Next button. The Add Node/Show message screen opens.
  5. Add a message, for instance, “Video was paused.”
Action Flow screen
Action Flow screen

On Complete

  1. Select the Gear icon next to On Play. The On Action screen opens.
  1. Select the + icon next to Start. The Add Node screen opens.
    • You can set any custom action you want.
    • For this example, Show Message will be set, but there is a range of custom actions, such as a push to Salesforce or redirecting to a specific page.
  2. Select the Show message option.
  3. Select the Next button. The Add Node/Show message screen opens.
  4. Add a message, for instance, “Video was completed.”
Action Flow screen
Action Flow screen

The actions on the web page

When a user starts playing the video, you will receive a message as follows:

Message screen
Message screen

When a user pauses the video, you will receive a message as follows:

Message screen
Message screen

When a user has completed the video, you will receive a message as follows:

Message screen
Message screen

Hidden Title

Need more help?