Vidyard recently switched to a new user interface. Click here to compare the previous and current menu.

How do I integrate Vidyard and TrenDemon?

Overview

TrenDemon is a tool designed for content marketing insights and automation, with various integration capabilities. You may have a wish to pass 'video played' data into this platform, relating to your Vidyard players. 

Solution 

Vidyard does not have a direct integration with TrenDemon, although it is possible to make use of our Progress Events API on your web pages to push the required data.

  1. Place the following code within the HTML code of your web page, underneath the Vidyard Player JavaScript Embed.
  2. Update the user_id and conv_id to match your particular TrenDemon instance.
<script type='text/javascript' src="//play.vidyard.com/v0/api.js"></script>
<script type='text/javascript' src="//play.vidyard.com/v1/progress-events.js"></script>

<script type='text/javascript'>
VidyardProgressEvents(function (result){
var trd_pixel = document.createElement("img");
trd_pixel.setAttribute('src', 'https://prod.trendemon.com/apis/loadflame/pixel?user_id=####&conv_id=####');
}, [1]);
</script>

Explanation 

The function of this code is to create the required Trendemon 'pixel' when the playback reaches 1%. This percentage can be adjusted to match your particular requirements. To do this, edit the section in the code that shows [1] with a different value (e.g [50]) for when 50% has been watched).

Was this article helpful?

Can’t find what you’re looking for? Please contact us below.

Email Vidyard Support
Why you didn't like the article?
  • No, Thanks