Appearance
Identify user (Segment) ​
Use this action to tell Segment who the user is, and optionally attach extra details (like email, plan, or company).
Overview ​
Identify user is usually the first Segment action you run:
- When a user signs in
- When you load a user profile
- When you want to connect an anonymous visitor to a real user after sign in
Add the action ​
- In the WeWeb editor, go to the
Integrationstab and add theSegmentintegration. - In an
Interfaceworkflow, click+ Add action. - Select
Segment→Identify user. - Select the
Connectionyou want to use.
Configure the action ​
- User vs Anonymous: Choose whether you’re identifying a signed-in user (
User) or a visitor (Anonymous). - User ID / Anonymous ID: Fill the one that matches your selection.
- Traits: Optional details you want to store on the person (for example
{ "email": "pat@company.com", "plan": "pro" }).
Advanced options ​
Use these only if you already know you need them:
- Timestamp: When the identify happened (ISO date like
2026-02-05T22:28:55.111Z). - Context: Extra info about where the user was (for example device or locale).
- Integrations: Control which Segment destinations receive the event.
- Message ID: A unique ID to help avoid duplicates.
Common pitfalls ​
The wrong ID is filled ​
If you chose User, make sure you filled User ID (not Anonymous ID). If you chose Anonymous, do the opposite.
User ID changes over time ​
Pick a stable ID (for example your internal user ID). If the value changes, Segment may treat the same person as multiple users.

