Identity Attributes
To enhance the widget functionality, you can configure several attributes directly in the <script>
tag. These attributes allow you to personalize the widget for individual users.
Supported Attributes
Attribute | Type | Description | Example Usage |
---|---|---|---|
| String | The URL source of the widget script. |
|
| String | The authentication token for verifying secure access to the widget. |
|
| String | A unique identifier for the user, such as email or user ID. |
|
| String | Custom attributes for user profiles to personalize the widget (e.g., name, gender). |
|
| Boolean | Enables ( |
|
| Boolean | Shows ( |
|
Example Widget Script with Identity Attributes
Below is an example of embedding the widget with configuration attributes for a personalized experience:
Last updated