Track product events with the JavaScript SDK, then use supported analytics and audience controls without assuming every event property is available as an in-app trigger.

Track an event

await userorbit.track("onboarding_completed", {
  hiddenFields: { source: "checklist" },
});JavaScript

Use stable event names and avoid secrets or sensitive free-form text.

Verify ingestion

Open Analytics and use the event views or live-event tools available to your workspace. Confirm the event name and expected properties before building reports or audiences.

Target an experience

Use the audience and segment controls shown in the tour, checklist, survey, or announcement editor. If an event operator is not present in that UI, do not assume count- or property-based event targeting is supported.

Troubleshooting

Confirm the SDK was initialized, the event is sent after initialization, the correct workspace Account ID is used, and ad blockers or network policy are not blocking the request.

Was this helpful?