How to Track Vimeo Analytics on Your WordPress Site (Step-by-Step)

how to track vimeo analytics

Are you looking for a way to track Vimeo videos and see how they’re performing?

By understanding how people interact with videos on your website, you get to find out which topics they like. This way, you can create more videos that get a lot of engagement.

In this article, we’ll show you how to track Vimeo analytics on your WordPress site. Let’s start…

Why Set Up Vimeo Analytics in WordPress?

Vimeo is a top platform for hosting and sharing high-quality videos. If you’ve got Vimeo videos embedded on your website, it’s important to see which video performs the best.

ExactMetrics is the best WordPress Analytics plugin. Get it for free!

By setting Vimeo analytics in WordPress, you can find out the most popular video. This way, you can come up with new ideas and create videos in similar categories. It also helps in uncovering the number of times someone plays, pauses, and reloads a video.

And if you drill deep, tracking Vimeo videos in Google Analytics can show your visitors’ source. For instance, you can see if a person who watched a video came from social media or performed a Google search. This way, you can promote your videos on the right channel to attract more views.

That being said, let’s see how to set up Vimeo analytics.

How to Track Vimeo Videos in Google Analytics

ExactMetrics makes it very easy to track videos in Google Analytics. It’s the best premium WordPress analytics plugin, and you can add Google Analytics tracking without editing any code. Not only that, but it also shows important Google Analytics stats in your WordPress admin area.

To start, follow these steps.

Step 1: Install and Activate ExactMetrics

First, you need to install and activate ExactMetrics on your WordPress website. For more details, follow this step-by-step guide on how to install ExactMetrics.

With ExactMetrics, you can get insights about your visitors and how they use your website. The plugin helps set up advanced tracking like the file download, eCommerce revenue, form conversions, outbound links, affiliate links, and much more.

exactmetrics best premium wordpress analytics plugin

Once the plugin is active, you’ll have to add Google Analytics to your WordPress site. The best part about using ExactMetrics is that it adds the tracking code to your website without you having to touch a single line of code.

Its setup wizard will help you every step of the way. Check out our guide on how to add Google Analytics to WordPress.

Step 2: Enter Vimeo Analytics Tracking Code

The next step is to enter the Vimeo tracking code on your WordPress website. Since the conventional tracking code is only available for premium users, our developers at ExactMetrics have created an exclusive tracking code for you.

Copy the following code:

<script>jQuery( function ( $ ) {
if ( 'undefined' === typeof __gtagTracker ) {

function loadApi( callback ) {
if ( 'undefined' === typeof window.Vimeo ) {
$.getScript( '', callback );
} else {

var videos = $( 'iframe[src*=\'\']' );
if ( videos.length > 0 ) {
loadApi( function () {
videos.each( function () {
trackVideo( this );
} );
} );

function trackVideo( el ) {
if ( el.__vimeoTracked ) {

el.__vimeoTracked = true;
var video = new Vimeo.Player( el );
var percentages = [25, 50, 75];
var events = ['play', 'pause', 'ended'];
var cache = {};
video.getVideoTitle().then( function ( title ) {
$.each( events, function ( key, event ) {
video.on( event, function () {
send( event, title );
} );
} );
video.on( 'timeupdate', function ( evt ) {
var percentage = evt.percent * 100;
var key;
for ( key in percentages ) {
if ( percentage >= percentages[key] && !cache[key] ) {
cache[key] = true;
send( percentages[key] + '%', title );
} );
} );

function send( key, title ) {
__gtagTracker( 'event', key, {
event_category: 'Vimeo',
event_label: title,
} );
} );</script>

Note: To make sure the code works properly, you will need to load jQuery. It allows better user experience, saves bandwidth, and helps perform different actions without reloading the page.

If you need a tracking code without jQuery, then reach out to our support team. They’ll go above and beyond to help you out!

Now that you’ve copied the code, it’s time to enter it on your WordPress website. The easiest way to do that is by using the Insert Headers and Footers plugin. It helps you add code accurately to your site, and you don’t have to worry about editing code yourself.

You can add the plugin by going to your WordPress admin area and navigating to Plugins » Add New. Now search for Insert Headers and Footers in the search bar, click the Install Now button, and Activate the plugin.

insert headers and footers wordpress plugin

After that, go to Settings » Insert Headers and Footers and paste the Vimeo tracking code under the Scripts in Header section.

vimeo tracking code insert header and footer

Next, click the Save button when you’re done. ExactMetrics will now start tracking your Vimeo videos, and you can see the report in Google Analytics.

How to See Vimeo Reports in Google Analytics

Now that you’ve set up Vimeo video tracking in WordPress, it’s time to see how they’re performing.

To view the reports, log in to your Google Analytics account and then go to Behavior » Events » Top Events. Now select Vimeo under Event Category and see how many people watched a particular video.

events report vimeo analytics

With the report, you can see which video is performing better and which isn’t. Plus, if you’re running a campaign, then the report can show your marketing strategy’s effectiveness.

And that’s it!

We hope you liked our article on how to track Vimeo analytics on your WordPress website. You can also go through our guide on how to link Google Ads to Google Analytics in 2 minutes or less.

Don’t forget to follow us on Twitter and Facebook to get to know the latest Google Analytics tutorials.

Want to Try ExactMetrics for Free?

Enter the URL of Your WordPress website to install ExactMetrics Lite.

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.