Enabling Google Analytics integration

Zype Analytics can integrate with Google Analytics to deliver a consolidated source of analytics for your web destination.

Requirements
Enabling Google Analytics Integration
Events Overview

Requirements

To use Google Analytics with Zype Analytics you need to have a Google Analytics account and a web tracking code installed on your web destination.

A web tracking code for Google Analytics looks similar to the following:

<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'YOUR-TRACKING-ID', 'auto');
  ga('send', 'pageview');
</script>

Enabling Google Analytics integration

To enable Google Analytics integration select the ‘Enable Google Analytics’ option under ‘Zype Analytics settings’. The integration will use the existing Google Analytics tracking object on the page so you don’t need to enter your Google Analytics Tracking ID.

You can optionally change the tracking object name. Most installations use the default name ‘ga’. If you have not changed the name of the tracking object on your web destination you should use the default setting.

google analytics


Events Overview

After you’ve enabled Google Analytics integration and watched a few videos on your web destination you will start seeing the following events in your Google Analytics dashboard.

consumer information

JW Player Video: This category contains events for starts, stops, resumes and buffers along with the name of the video.

JW Player Video Plays: This category contains play events along with the name of the video and the referring URL.

JW Player Video Completes: This category contains completion events along with the name of the video and the referring URL.