Admin – How to set up Vimeo tracking

Want to know when a contact has watched a video on your webpage? Just follow the steps below, and you’ll be able to see when a contact has watched one of your Vimeo videos in their contact profile.

NOTE:  A contact must watch at least 50% of the video to qualify as having “watched” the video.

In order to track a Vimeo video, the video must be embedded on a webpage tracked by MDC DOT.

To have MDC DOT track your webpages, just install the MDC DOT tracking code on each page you want to be tracked.
Click here to learn more.

  • Go to the video you want to embed on Vimeo
  • Choose any additional embedded video options by clicking Show options
  • Copy the embed code

Vimeo Embed Code Example

  1. Paste your embed code into the webpage where you want the video
  2. In the embed code, you should see a long number at the end of the video src URL
    Firefox_Screenshot_2016-05-05T14-29-02.142Z

    Embed code before adding MDC DOT code

    • Paste the following code at the end of the URL:
      ?api=1&player_id=player_1
      Firefox_Screenshot_2016-05-05T14-37-31.938Z

      Embed code after adding MDC DOT code

    • If you see a question mark after the long number in your video src URL, then add this to the end of your url:
      &api=1&player_id=player_1

      Embed code after adding MDC DOT code

  3. Add the following class and id code after the src URL as shown in the example below:
    class=”__mdc-track-video” id=player_1

That’s it! Now your video will be tracked in your MDC DOT account.

 

Before you test your video tracking, you need to identify yourself as a contact associated with your MDC DOT account. You can do this in two ways:

  • Go to a webpage that you know is being tracked by MDC DOT

    The page must have a webform that will create a contact in MDC DOT.
    If you do not have any pages like that, or you are not sure, please proceed to Method 2.

  • Check that you have the correct cookies in your internet browser.
    • Do you see your name, email address, or phone number on the page?
    • Can you see your site name in the address bar?
  • If you answered yes to either of the questions above, then fill out and submit the webform
  • If you answered no to both of the questions above, then please clear your cache and cookies, and restart your browser.
    You can find instructions on how to clear your cache and cookies here.

    • After you have reset your cookies, return to the webpage and submit the webform

Part 1. Add yourself as a contact

  1. Go to New Contact
    new-contact-btn2016
  2. Fill out any fields

    Email address is required

  3. Once you’re done, click Add Contact
  4. Note your lead id number
    You can find this at the end of the url in the address bar.
    For example: https://support.mdcdot.com/my-account/lead/#profile/00000
    00000 
    is the lead id number

Part 2. Connect your lead id to your internet browser

  1. Go to My Profile
    my-profile-btn
  2. Open My Landing Pages & Materials
  3. And click any of the landing page or microsite links there
  4. Go to a webpage that you know is being tracked by MDC DOT
  5. Check that you have the correct cookies in your internet browser.
    • Do you see your name, email address, or phone number on the page?
    • Can you see your site name in the address bar?
  6. If you answered yes to either of the questions above, add this to the end of the url and hit enter:
    ?lead_id=” and your lead id number
    For example: ?lead_id=123456
    At the end of the url, it would look like this: http://website.com?lead_id=123456
  7. If you answered no to both of the questions above, then please clear your cache and cookies, and restart your browser.
    You can find instructions on how to clear your cache and cookies here.

    • After you have reset your cookies, follow the instructions from #2-6

You can confirm whether you performed Method 1 or correctly by going to Live Visitors. You should see your contact name and your pageviews there.

Firefox_Screenshot_2016-05-05T15-52-37.173Z

  • Next, go to the website where you embedded your video, and watch the video

    You can move the video play head past 50% of the video length to simulate a “video watched” activity entry.
    Note: It can take up to 5 minutes for a “video watched” entry to appear in your contact profile activity stream.

  • After watching the video, go to your contact profile
  • In the Activity Overview section, click See All Activities
  • You should see a “Video Watched” entry
    Click the details link to see the title of the video and other information.

Firefox_Screenshot_2016-05-05T15-57-21.976Z

  • Follow the instructions above for each video that you are embedding on the same webpage. All you need to do is change the player # for each video you have embedded on the webpage as shown in the example below. NOTE: You only need to change the player # if you are embedding multiple videos on the same webpage.

Firefox_Screenshot_2016-05-05T14-40-53.393Z