Web SDK Instrumentation
Install and configure the PlayerZero Web SDK to capture user sessions, track events, and generate debugging insights in your application.
Overview
This guide walks you through installing and initializing the PlayerZero Web SDK in your application. Once integrated, you’ll be able to track users, send custom events, and generate debugging links. To learn more about how PlayerZero leverages user sesssions, see the User Session Data overview.
Basic Setup Guide
Prerequisites
- You’ll need your Project ID, which can be found under Settings > Web SDK in the PlayerZero dashboard.
- Decide which integration method you prefer:
- Install the npm package (recommended for most modern frontend frameworks)
- Add a direct script tag (no build system required)
- Connect Segment events (integrate via analytics pipeline)
Available Integration Guides
Choose the integration method that fits your stack:
-
npm Installation - Install the PlayerZero SDK via
npm
oryarn
. Best for React, Angular, Vue, and other modern frontend frameworks. -
Script Tag Setup - Add PlayerZero to your site with a single script tag. Ideal for websites without a module bundler.
-
Segment Events Integration - Use your existing Segment integration to send events and identify users with no extra SDK setup.
Was this page helpful?