User Identification
Custom Attributes
Attach plan, role, company, or any metadata to identified users.
Custom Attributes
Beyond userId, name, and email, you can pass any additional properties. These are stored in the feedback metadata field and available in filters and automations.
Example
window.Lumifeed.identify({
userId: "user_123",
name: "Ada Lovelace",
email: "ada@example.com",
// custom attributes:
plan: "pro",
role: "admin",
company: "Acme Corp",
accountAge: 180,
})Using attributes in automations
In Project Settings → Automations, use attribute conditions:
IF user.plan = "free"
THEN add tag "free-user"IF user.role = "admin"
THEN notify channel "#product"Privacy
- Attributes are stored server-side and never exposed to other users
- You can delete all data for a user by calling
DELETE /api/users/:userId(Enterprise) - Do not send sensitive data like passwords, tokens, or full payment details