Analytics
Using the analytics sample code to connect several apps to Google Analytics
As you learned in the Analytics integration guide, it's easy to connect your web app running on the Senza platform to an analytics platform like Google Analytics (GA4). In these tutorials, you'll learn about our analytics sample code, see how to integrate it into various sample code apps, and find out how to see the data coming through in GA4.
- Analytics Module — A sample code module for sending player and lifecycle events to Google Analytics.
- Playing Video — Shows how to integrate the analytics module into the Banner app, which plays a single video using the Senza Shaka Player.
- Program Guide — Shows how to integrate the analytics module into the Program Guide app, which lets the viewer select a video to play. Also uses the Senza Shaka Player.
- Video Signage — Shows how to integrate the analytics module into the Chocolate app, a video signage app that uses the Remote Player to play videos in background mode.
It's important to point out that there's no one correct way to collect and process analytics—these are just examples that you can use as starting points and adapt to your specific needs. For example, if you want to use a different analytics platform you can easily adapt the code to send events using a different API.
Updated 3 days ago