We’re excited to roll out Zype Analytics 3 — a powerful, unified analytics tool launching on December 16th. This upgraded analytics system provides enhanced insight into video performance across Live and VOD content, supporting all major platforms: Web, Mobile, OTT, and Playout.
To take advantage of Analytics 3, customers using Zype’s Legacy App Templates will need to update their applications to support the new analytics beaconing flow.
Zype Analytics 3 introduces:
-
Real-time, session-level insights
-
Unified event taxonomy across VOD, Live, and Playout
-
Support for richer metadata including monetization, playout, and platform attribution
To enable Analytics 3, you’ll need to:
-
Extract the
analyticspayload from the player response. -
Pass that payload into the Zype Analytics 3 SDK.
-
Send beacons during playback events like play, pause, complete, error.
Applications
Apple iOS Mobile
Apple TV tvOS
Android Mobile and Android TV
Roku
videoJS (Web)
Platform-Specific Upgrade Instructions
Apple iOS
Files to Modify
-
VideoDetailViewController.swift-
Locate the
playStreamingVideomethod. -
Ensure you parse the
analyticskey from the player response.
-
SDK Integration
-
Use
ACAnalyticsManager.swift:-
Initialize the Analytics 3 SDK during view setup.
-
Send playback event data using the parsed analytics payload.
-
Apple tvOS
Files to Modify
-
PlayerVC.swift-
Modify
setupVideoPlayer()to extract theanalyticsobject from the player response.
-
-
AnalyticsProtocolDelegate.swift-
Implement
getAnalyticsFromResponse()to map values.
-
SDK Integration
-
Use
AnalyticsManager.swift:-
Initialize the Zype Analytics 3 SDK.
-
Log key events (start, pause, complete, error).
-
Android Mobile and Android TV
Files to Modify
-
PlayerViewModel.kt-
Inside the
playerfolder, locate thecreateVideoPlayerListener()method. -
Extract the
analyticspayload from the player metadata.
-
SDK Integration
-
Just below the highlighted player setup code, initialize the Analytics 3 SDK and begin sending playback events using the payload data.
Roku
Files to Modify
-
main.brsinside thesource/folder-
Modify the
playVideo()function to extractanalyticsmetadata from the stream response.
-
SDK Integration
-
Pass values into the Analytics 3 library if integrated, or beacon manually using roUrlTransfer.
Web / VideoJS
Note: analyticsConfig should be derived from the analytics key in the player response. No additional config is required; the license key is included in the response.
Common Configuration Notes
-
Player response includes all required analytics configuration including the license key.
-
SDK initialization requires no manual configuration outside of injecting the response data.
-
Analytics beacons will fire on playback lifecycle events, not on actions outside of the player.
Sample Analytics Field Mappings
| Field Name | Analytics Field | Type | Description |
|---|---|---|---|
videoId |
video_id |
String |
Video ID |
title |
video_title |
String |
Title of video |
customUserId |
consumer_id |
String |
Viewer ID |
isLive |
on_air |
Boolean |
Is live stream |
cdnProvider |
cdn |
String |
CDN name |
site_id |
customData1 |
ObjectID |
Site ID |
subscription_id |
customData2 |
ObjectID |
Subscription ID |
transaction_id |
customData3 |
ObjectID |
Transaction ID |
monetization_type |
customData4 |
String |
Monetization type (subscription, purchase, etc.) |
playlist_id |
customData5 |
ObjectID |
Playlist ID |
playlist_name |
customData6 |
String |
Playlist name |
app_id |
customData7 |
String |
Application ID |
app_name |
customData8 |
String |
Application Name |
app_version |
customData9 |
String |
Application Version |
player_name |
customData10 |
String |
Player name |
player_version |
customData11 |
String |
Player version |
content_type |
customData12 |
String |
VOD, Live, or Playout
|
playout_channel_id |
customData13 |
String |
Playout channel ID |
playout_channel_name |
customData14 |
String |
Playout channel name |
playout_destination_id |
customData15 |
String |
Playout destination ID |
playout_destination_name |
customData16 |
String |
Playout destination name |
platform_source |
customData17 |
String |
CMS or Apps Creator |
external_user_id |
customData18 |
String |
SSO or external identifier |
Need Help?
If you need assistance updating your app or validating your integration, please reach out to your Zype Customer Success Manager or support@zype.com.
Was this article helpful?
Articles in this section
- Zype Analytics V2 to 3 Migration Guide
- Zype Analytics 3: Chart & Metric Guide
- Zype Analytics 3: Integrating Third-Party Players (Web, Mobile, OTT)
- Getting Started with the Analytics 3 API
- Rate Limits and Data Retention
- Real-Time vs Historical Data
- Analytics Data Disclaimer
- Zype Legacy App Templates Upgrade Path to Analytics 3
- FAQ Analytics 3