If your viewers are logged in members on your platform or you have returning visitors or leads which you are able to identify, from previous interactions vooPlayer offers several methods by which you can associate their different views in one profile.

vooPlayerContact Cookie

If you are able to drop a cookie on the domain where vooPlayer videos are embedded that may be the simplest way to identify a contact.

Cookie must be set before the viewer hits the play button for that view to be attributed. For example.

For example, here's an example of setting the cookie: https://jsfiddle.net/petarsubotic/d1axr4tk/

var cookie = 'mymember' // this is your viewer id
document.cookie = "vooPlayerContact="+cookie+"; expires=Thu, 18 Dec 2020 12:00:00 UTC; path=/";

?contact= Query String

In usecases where, for example, you have the visitor submitting a form on the first step and then viewing the video on the other page, you can simply forward the id value in the contact query sting parameter.

There are many different ways to configure this, but usually if you are using a form provided by your email autoresponder service, you are able to configure the redirect value by including the submitted values. This would look something like this:


vooAPI setCustomViewerID Method

Using our JavaScript API you are able to accomplish some pretty cool things with interactions between the vooPlayer video and your page, and one of these is the ability to set the custom contact identifier on the fly in any usecase.

This would for example be executed as

function setCustomViewerID(){
  vooAPI('MjA1NDE=', 'setCustomViewerID', ["member_123"]);

Where you would replace MjA1NDE= with your video id, and member_123 with the unique identifier for your viewer.

For all of the methods value above you can use any string value as the value of the contact id.

If you run into any difficulties, our support team is here to help.

Did this answer your question?