Google Analytics (ga)

Configures the built-in integration with Google Analytics

To capture player events in a Google Analytics account, Google Analytics must be implemented on same page as the player.

"ga":  {
    "label": "mediaid",
    "useUniversalAnalytics": false,
    "sendEnhancedEvents": true
Property Description
label string Defines the playlist property to use as the event label in Google Analytics, such as title or mediaid

Default: file
sendEnhancedEvents 8.27.0+ boolean (Google Analytics 4) Determines if enhanced measurement values and naming are returned for the events

Possible Values:
  • false: (Default) JWP events are fired with old event names and old parameters
  • true: All JWP events are fired with new event name prepended with video_ and include the following new G4 video parameters:

    • video_current_time
    • video_duration
    • video_percent
    • video_provider
    • video_title
    • video_url
    • visible
trackerName 8.9.0+ string (Universal Analytics) When using an analytics.js Google Analytics implementation, the name of a user-generated custom tracker which segments player events that appear in reporting

Custom trackers are not supported for gtag.js (Google Analytics 4) implementations.
useUniversalAnalytics 8.27.0+ boolean Specifies the version of the on-page Google Analytics implementation

Possible Values:
  • true: (Default) Universal Analytics (analytics.js)
  • false: Google Analytics 4 (gtag.js)


When using a Universal Analytics implementation, an empty ga object ("ga":{}) can be defined. All default values will be set.