If you use Vimeo as a video-hosting site, you can use Higher Logic's Web Tracking to record each instance of a visitor watching one of your embedded videos on your Higher Logic Thrive Marketing Professional (Thrive Marketing Professional) site.
NOTE: To set up web tracking, you must be authorized to make changes to your Thrive Marketing Professional site.
Track plays of your Vimeo videos
Most Vimeo videos are embedded using iFrames, so you'll have to retrieve the Vimeo iFrame code.
To track plays of embedded Vimeo videos:
- Get the iframe code. You can find this in the Embed field when you share a Vimeo video, as shown below.
- Add the Higher Logic Web Tracking Code to the bottom of the web page that hosts the embedded video.
- Add the following code; be sure to replace the text in square brackets with the name of your video.
<script src="https://player.vimeo.com/api/player.js"></script>
<script>
var iframe = document.querySelector('#vimeo_video_frame');
var player = new Vimeo.Player(iframe);
player.on('play', function() {
informz_trk('trackStructEvent','Played Video','[VIDEO_NAME]', '');
});
</script>
Now, you'll see interaction data related to video plays in your Web Tracking Report.
Tracking code file
Below is a .TXT file of the Vimeo tracking code which you can download and save for future use.