Skip to content

Updating visuals

If you see any images containing outdated UI, please bear with us.

We are updating all content as quickly as possible to mirror our new UI.

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 ​

  1. In the WeWeb editor, go to the Integrations tab and add the Segment integration.
  2. In an Interface workflow, click + Add action.
  3. Select Segment → Identify user.
  4. Select the Connection you 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.

CONTINUE LEARNING

Learn how connections work for integrations.

Intro to integrations →