> For the complete documentation index, see [llms.txt](https://docs.namiml.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.namiml.com/sdk-reference/namicustomermanager/setcustomerattribute.md).

# setCustomerAttribute

Set an attribute in an on-device key/value store for use for paywall personalization uses cases.

{% tabs %}
{% tab title="Swift" %}

```swift
NamiCustomerManager.setCustomerAttribute("firstName", "Taylor")
```

{% endtab %}

{% tab title="Kotlin" %}

```kotlin
NamiCustomerManager.setCustomerAttribute("firstName", "Taylor")
```

{% endtab %}

{% tab title="Flutter" %}

```dart
NamiCustomerManager.setCustomerAttribute({"firstName": "Taylor"});
```

{% endtab %}

{% tab title="React Native" %}

```jsx
NamiCustomerManager.setCustomerAttribute('firstName', 'Taylor');
```

{% endtab %}
{% endtabs %}
