Say hello to the new ViewMedica

LEARN MORE LEARN MORE

Track ViewMedica events with Google Analytics

You can track events associated with individual ViewMedica content items using your Google Analytics account.

Enable tracking

  1. Make sure you have a Google Analytics account and have the analytics tracking code installed in your HTML page that displays the ViewMedica viewer. See Google’s site for Google Analytics support.

  2. Paste the following script in the head of your website. It is required, as it relays events from the ViewMedica iframe to the Google Analytics on your page.

    1
    <script src="https://ondemand.viewmedica.com/lib/vm.js"></script>

Finding the ViewMedica On-Demand events in your Google Analytics

  1. Log into your Google Analytics account.

    The login dialog for Google is shown.
  2. Click the “Behavior” section.

    The behavior section of the Google Analytics dashboard is outlined.
  3. Click the “Events” subsection.

    The events option of the behavior section of the Google Analytics dashboard is outlined.
  4. Click the “Overview” page.

    The overview section of the events option is outlined.
  5. Click the “ViewMedica On-Demand” category.

    An example event category is outlined.
  6. Select “Event Label” as the Primary Dimension.

    The event label is set to the primary dimension.

    Here you can see the various ViewMedica videos that your users have interacted with. By clicking the ViewMedica video title, you can see the following events that occured:

    • Video Loaded
    • Video Started
    • Step Reached | { Step }
    • Percent Reached | { Percent }
    • Video End
    The events for a specific video are listed in the order they occured.