<img src="https://img.shields.io/badge/%20-ALL-%2300B180" style="float:left"/><br />


  • iFrame-based embeds from the JWP dashboard **cannot** currently be used with this feature.

    Either the <a href="https://docs.jwplayer.com/platform/docs/players-get-started" target="_blank">JavaScript single line embed</a> or the <a href="https://docs.jwplayer.com/players/docs/jw8-add-a-player-library" target="_blank">advanced, on-page embeds</a> can be used.

<br />

  • JWP **does not** support GA4 via Google Tag Manager (GTM).

<br />

JWP's analytics provide insights into how customers consume your videos. To augment these insights, JWP supports direct integration with Google Analytics, giving you access to targeted video playback information.

When enabled, JWP will use the Google Analytics tracking code and tracking ID to fire a tracking pixel for most playback events. The following default event actions will populate inside the Google Analytics Event category, **JWP Video**:

  • Buffer events

  • Pause events

  • Resume events

  • Seek events

  • Video completes

  • Video plays

You can access the event data in two locations in the Google Analytics dashboard: **Realtime** and **Life cycle > Engagement > Events**.


If you are interested in sending data to another analytics system, read <a href="/players/docs/jw8-send-events-to-third-party-systems">Analytics System Integrations</a> in our developer documentation.

<br /> <hr />

## Requirement

  • <a href="https://marketingplatform.google.com/about/analytics/" target="_blank">Google Analytics account</a>

<br />


## Implementation

Use the following steps to capture player events in Google Analytics:

  1. Add the <a href="https://support.google.com/analytics/answer/9304153" target="_blank">Google Analytics script</a> to the page.

  2. Enable the JWP Google Analytics plugin either from your [JWP dashboard](πŸ”—ο»Ώ) or within the [on-page player code](πŸ”—ο»Ώ)</a>.

<br />


## FAQs

<details><summary><strong>To migrate to Google Analytics 4, what changes must be made?</strong></summary>

<br />

Google provides resources to migrate to Google Analytics 4, including the following:

  • <a href="https://support.google.com/analytics/answer/10089681" target="_blank">\[GA4] Introducing the next generation of Analytics, Google Analytics 4</a>

  • <a href="https://support.google.com/analytics/topic/13012019" target="_blank">\[UAβ†’GA4] Advanced topics: Extended migration guides</a>

  • <a href="https://support.google.com/analytics/answer/9267744" target="_blank">\[GA4] Event collection limits</a>

For the on-page JWP player code, you must set `"useUniversalAnalytics": false`. <br />

</details> <details><summary><strong>How are player events marked for Google Analytics?</strong></summary>

<br />

JWP marks player events sent to Google Analytics as <a href="https://support.google.com/analytics/answer/1033068#NonInteractionEvents" target="_blank"><code>nonInteractive:true</code></a> if they are not manual view interactions. This increases bounce rate accuracy.

<br />


<br />

<!-- Removes the automatic page-to-page navigation at the bottom of the page -->

<style> .rm-Pagination { display: none; } </style>