OpenRoadmap Docs

Identify users

Anonymous visitors work out of the box. When someone is logged into your product, identify them so inbox triage shows plan, account, and email.

When to call

  • After successful login / session restore
  • When the active account or plan changes
  • On SPA route changes if the user context can change
after auth · js
function onSession(user) {
  window.Feedback?.identify({
    id: user.id,              // required stable id
    email: user.email,
    name: user.name,
    plan: user.plan,          // e.g. free | pro | enterprise
    account: user.accountId,  // tenant / workspace id
  });
}

What gets stored

FieldUsage
idStable visitor identity for merge / analytics
emailPrefills form; used for ack + status emails if provided
plan / accountShown in inbox badges; captured in context when enabled
Warning

Do not put secrets, tokens, or PII beyond what you already show the user in-product. Identify traits are sent with feedback payloads to your OpenRoadmap Worker.

Anonymous fallback

Without identify, the loader creates a durable or_vid in localStorage (falls back to an ephemeral id if storage is blocked).