> For the complete documentation index, see [llms.txt](https://docs.questera.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.questera.ai/questera-ai-platform/data/user-attributes/how-to-create-a-user-attribute.md).

# How to create a user attribute

#### Step-by-Step Guide

1. **Login to Questera**

* Head over to the **Questera**  and log in with your credentials to see the dashboard<br>

2. **Navigate to ‘Track & Measurements’**

* In the left-hand Nav bar, find **Track & Measurements.**
* Click to expand it.\ <br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXctEay9lc8D9jFVDorqGnsNr0m27YrWJiROunwvbBH1mkH7Th2ha-q8w0aYasjXA580a-RyjFSctGNUM195iiH82tKI4m_-khvvSu5OE48KfogQsPD03BTBQl635B13H3D3wFMGAg?key=B7tqI3ctRltH_VsErWMcNi1J" alt=""><figcaption></figcaption></figure>

3. **Select ‘User Attributes’**

* Under Track & Measurements, click on **User Attributes.**
* This will take you to the main User Attributes page, where you’ll see any existing attributes listed.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXch-jsFC80mMW6XvNBjqeY0tEB0Cy88ySI96v2PZIxi6uyO3ijL9X_HD2lx2-xVatWOU0ZCtTGm17UFHIa-Y4BcIXNMLyPb5qWcsAC5XD-SXGAF8EWXEEKVF2Qy6-bTKzx3jAOC?key=B7tqI3ctRltH_VsErWMcNi1J" alt=""><figcaption></figcaption></figure>

4. **Click on ‘Add New User Attribute’**

* Look for the **"Add User Attribute"** button, usually at the top right side of the page.
* Click it to start creating a new attribute.\ <br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcsMNEzhmPRI7Go9vAKMqO2-51VqrOc7gHcv3Qui2Tqo0sOPH4R0SQDml_EzFWGRwLQMFxe0WavhJzV_Xp_WtObBAvtDU0VO2Vjf8CTtO-OUPcmbJzalbw1IkhSM389i8SarGrt?key=B7tqI3ctRltH_VsErWMcNi1J" alt=""><figcaption></figcaption></figure>

5. **Choose Your Attribute Type**

* A pop-up window will appear asking whether you want to create a user attribute based on an event (like a user action) or an independent attribute (a static trait that doesn’t rely on any event).
* Select the option that fits your needs.\ <br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfThqNYWwWIXO3TWNrN7I5a72M_gT7Vj5t1A5FO2BrkA1-IHUXkHxRTQcO8gihAheku0hD7DgbeUXvTgOjvE6352KC6rkFzLcns5s1PAeKBKUmTKjz5Iwu0HINLrzSEVxdVds98Gg?key=B7tqI3ctRltH_VsErWMcNi1J" alt=""><figcaption></figcaption></figure>

6. **Fill Out the User Attribute Details**

* You’ll now see the Create User Attribute page. Here’s what to fill in:
  * **User Attribute Title:** Give your attribute a meaningful name (e.g., Loyalty Tier, Preferred Language, or Onboarding Status).
  * **Attribute ID:** This is a unique identifier for your attribute, used internally (e.g., loyalty\_tier or preferred\_language).
  * **User Attribute Description:** Add a short description explaining the purpose of this attribute (e.g., "Tracks the user's loyalty status based on purchases").
* **Data Details:**
  * **Data Type:** Choose the format for this attribute, such as:
    * String (text)
    * Number
    * Boolean (true/false)
    * Date
    * List/Array
* **Default Value:** Set a default value for this attribute, which applies if no data is available (e.g., "Basic" for Loyalty Tier, or "English" for Language).\ <br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXebWSKRBMQOt--KKLtI0RJQqVqTRWGxVAkRmsjXILpJ1fUYZvCarH2IF7rjbW4k5YSAFSlwfvxGFO8W_fdonOQAnED4FPon1pJeycOM_bCfG6Zj5TDj4MAxazTAVtMrVsZwa0YaRQ?key=B7tqI3ctRltH_VsErWMcNi1J" alt=""><figcaption></figcaption></figure>

7. **Save and Publish**

* Once you’ve filled out all the details, click **Save and Publish** to finalize your User Attribute.
* Your attribute will now be available for use across campaigns, conditions, and user segments.<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXduFFczwXdK3Fyf1GM-rCvLYASc3o4Ati95w96qVikvWLxsFmnebQuz_YoDlKSYTT9T6pyiFPRFUws7HOQL7jwEsKFMNbnC4OU3wWh8oXB0l_uxjfGZGvXddkVDpoQ1QKkzFP5l1w?key=B7tqI3ctRltH_VsErWMcNi1J" alt=""><figcaption></figcaption></figure>

8. **Manage Your User Attributes**

* Back on the main User Attributes page, you’ll see your newly created attribute listed along with others.
* If you ever need to remove an attribute, just click on it and select Delete option.

<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXf5Ky_kmayI7zjrd59zw40sWk-hYV63Vd6EHhphlvmFoq5CBHxyW7NwUYdmAPIy_4nX-oox23VTHQ48FVJK3HHvj8OajQuTfLv0xKgX75HS6W5ZZ5rbCfmfhD3QSB2fK8toa5CXBg?key=B7tqI3ctRltH_VsErWMcNi1J" alt=""><figcaption></figcaption></figure>

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.questera.ai/questera-ai-platform/data/user-attributes/how-to-create-a-user-attribute.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
