How to track Vimeo videos on your website

If you want to track events on Vimeo players embedded on your site, you need to copy the tracking code from Vimeo, add it to Piwik PRO, and set up events. Note that you can use a Vimeo tracking code only if you’re a Vimeo Business or Vimeo Premium member.

To set up Vimeo video tracking, follow these steps:

  1. Log in to Vimeo.
  2. Navigate to Settings > Marketing.
  3. In Google Analytics, you’ll see a tracking code.
  4. Vimeo tracking code.
  5. Copy the code. You’ll use it in Piwik PRO in a couple of steps.
  6. Log in to Piwik PRO.
  7. Go to Menu > Tag Manager.
  8. Create a Custom asynchronous tag. This tag will be tracking events on Vimeo players embedded on your site.
  9. In Tag HTML code, paste the code copied from Vimeo.
  10. Add Vimeo tracking code to Piwik PRO.
  11. Add an existing trigger: All page views or add and define a new trigger.
  12. Click Save for the tag.
  13. Navigate to Variables.
  14. Create three variables with Data layer type:
    • event_category
    • event_action
    • event_label
    Set a variable for Vimeo tracking in Piwik PRO.
  15. Navigate to Tags.
  16. Create a Piwik PRO Custom Event tag.
  17. You can name it Vimeo tracking event. This tag will send events to Analytics.
  18. Set:
    • Category: {{event_category}}
    • Action: {{event_action}}
    • Name: {{event_label}}
    Set an event for Vimeo tracking in Piwik PRO.

    Tip: These are the variables that you set in step 12.

  19. Click + New trigger.
  20. Name the trigger and select Event type.
  21. Set an event for Vimeo tracking in Piwik PRO.
  22. In Data layer event settings, set Event name equals vimeo.
  23. Set an event for Vimeo tracking in Piwik PRO.
  24. Click Save for the trigger and Save for the tag.
  25. You can check if tags are working correctly in debug mode.
  26. When you’re happy with your settings, click Publish.

Now Piwik PRO will be tracking events on Vimeo videos embedded on your website. You’ll be able to see tracked data in the custom event report and session log report.

Was this article helpful?

Be the first to rate this article.

Technical Support

If you have any questions, drop us a line at support_SPC@piwik_SPC.pro.

We’re happy to help!