Set up the browser SDK, confirm events are arriving, then create your first report.

  1. Initialize Userorbit

Use the userorbit-js package and initialize it with your workspace account ID:
~js import userorbit from "userorbit-js";
await userorbit.init({ accountId: "YOURACCOUNTID", analytics: { enabled: true }, });
~
You can also pass userId, email, name, and custom attributes when they are known.

  1. Track an event

~js await userorbit.track("Project Created"); ~
Use stable event names that describe completed user actions.

  1. Confirm data

  1. Open Analytics.
  2. Select the project receiving the data.
  3. Open Live Events.
  4. Perform the action in your product and confirm the event appears.

  1. Create a report

Select New Report, choose a report type, configure events and measurements, then save it. Add useful reports to a dashboard for shared monitoring.

Was this helpful?