Prerequisites

  • Access to your project’s HTML codebase.
  • Your PlayerZero Project ID.

Step-by-Step Instructions

1. Add the PlayerZero Script

Paste this inside your <head> or just before the closing </body> tag:

<script src="https://cdn.playerzero.app/sdk-web.js"></script>

2. Initialize the SDK

Insert the initialization script after loading the PlayerZero SDK:

<script>
  PlayerZero.init("your project id here");
</script>

Once the user is authenticated or known:

<script>
  PlayerZero.identify("user-id", {
    name: "Jane Doe",
    email: "jane@example.com",
    group: "Marketing",
  });
</script>

Next Steps

Once the SDK is installed and initialized, you can visit the Users page in PlayerZero to see live user sessions being captured.

If you want to control where PlayerZero is active, visit the Domain Settings guide to configure domain-level access and environment-specific behavior.

Want to extend your integration further? Explore the Advanced SDK Usage guide to unlock features like custom event tracking, devtools links, and user metadata enhancements.