Top
User Attributes
  • 29 Apr 2024
  • 2 Minutes To Read
  • Dark
    Light
  • PDF

User Attributes

  • Dark
    Light
  • PDF

Article summary

Whatfix User Attributes enables you to fetch end users' information from your app and use them in Widget Visibility Rules for easy content segmentation and personalization.

User information like role, signup date, department, subscription plan, etc. can be fetched and used for segmentation.

Step 1: Create a User Attribute

  1. On the Whatfix Guidance dashboard, click Settings.
    ia_left_nav_settings

  2. Click App integrations.
    ia_left%20nav_app%20integrations

your title goes here

On this page, you can view the list of User Attibutes created in your account.

  1. In the User Attributes tab, click + User Attribute.
    Add_user_attribute

  2. Enter the User Attribute Name and select its Variable Type.
    Create_user_attribute

  3. Click Save.

Note

* User Attribute Name:
The user attribute name cannot begin with numbers, include spaces, or contain special characters (except underscores).

* Variable Type:

* String - Select this option to create a user attribute that matches the string value - such as a user name.
* Encrypted_string - Same as String Variable Type, but the data is encrypted and stored in the database.
* Double - Select this option to specify a single number. For example, employee number.
* Boolean - Select this option to create a user attribute that has either true or false values. For example, whether or not the user had upgraded the plan or visited a specific section of the app.
* Timestamp - Select this option to specify a single date or time, such as the user’s birth date, signup date, etc.

Step 2: Assign values to the User Attribute

Assigning values (user information) to the User Attribute can be used to create and define Visibility Rules for segmentation.

The following procedure describes how you can assign values.

When creating an integration using the GET request, in the Script section, click Show User Attributes and select the User Attribute of your choice.
show_user_attribute

Once you finish creating the integration, the GET request values are mapped to the User Attribute.

your title goes here

Depending on the type of values you receive using the GET request, the appropriate Variable Type must be selected for the User Attribute.

Step 3: Add the User Attribute in Visibility Rules

Once the values are mapped to the User Attribute, they can be used in the Widget Visibility Rules for content segmentation.

  1. In the Widget Visibility Rules section, select the User Attribute option.
    2023-03-03_16-35-12.png

  2. Select the User Attribute you created.
    select_user_attributes

  3. Select the operator and enter the value.

user_attribute_values

  1. Configure additional Visibility Rules, if necessary, and finish creating the widget.

Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.