> ## Documentation Index
> Fetch the complete documentation index at: https://docs.omni.co/llms.txt
> Use this file to discover all available pages before exploring further.

# userAttributes

> Applies user attributes to the embed user.

In the **Embed URL Builder**, this is the **User attributes** field.

## Syntax

```markdown theme={null}
userAttributes=<encoded_attributes_object>
```

## Properties

<ParamField path="userAttributes" type="object">
  An object containing [user attributes](/administration/users/attributes), specified as `"<user_attribute_reference>": "<value>"`.
</ParamField>

## Examples

If you have this set of user attributes:

```markdown wrap theme={null}
userAttributes={"country":"Townsville", "associated_ids":[9,10,11], "omni_user_timezone":"America/New_York"}
```

The encoded version would be:

```markdown wrap title="Set country, associated_ids, and omni_user_timezone attributes" theme={null}
userAttributes=%7B%22country%22%3A%22Townsville%22%2C%20%22associated_ids%22%3A%5B9%2C10%2C11%5D%2C%20%22omni_user_timezone%22%3A%22America%2FNew_York%22%7D
```
