All Collections
Users
Custom Attributes
Setting a default value to a user attribute
Setting a default value to a user attribute
Simay avatar
Written by Simay
Updated over a week ago

When sending user attributes to UserGuiding, you can set default values to them.

In the example below, the "company" attribute has a static value, whereas the others have a dynamic one.

userGuiding.identify(user.id, { company: “Company A”,name: user.name,department: user.department});
Did this answer your question?