Tracker Analytics SDK

Learn how to set up the OpenReplay tracker analytics SDK.

  • People: Manage user profiles and attributes.
  • Events: Track and analyze user interactions and events.
// Identify a user with an id (e.g. email, username, etc.)
tracker.analytics.identify(userId: string): void
// same as
tracker.analytics.people.identify()

// Add event to batch with option to send it immediately
tracker.analytics.track(eventName: string, tempProperties?: Record<string, any>, options?: { send_immediately: boolean })
// same as
tracker.analytics.events.track()

If you encounter any issues, connect to our Slack or check out our Forum and get help from our community.