Deploying Digital Humans
...
Embedding Digital Humans in Yo...
Embed Digital Humans in your A...
Setting Custom Usernames
4min
overview the custom username feature enables you to assign a unique identifier to each user session interacting with your digital human this username is then recognized and potentially used by the digital human during the conversation why use custom usernames? implementing custom usernames offers several benefits personalized interactions enhance the conversational experience by allowing the digital human to refer to users by a specific name, creating a more personal experience organized conversations facilitate the segmentation and organization of chat history, making it easier to review and analyze specific user interactions improved data tracking enable more effective tracking and analysis of user data by associating conversations with named identifiers, which can be invaluable for analytics and personalization efforts availability this feature is only available when embedding the digital human using html snippet it is not supported when embedding the digital human using an iframe how to implement custom usernames to implement a custom username, simply add the data username attribute to your digital human's embedding \<div> element data username attribute type string required no (optional) value the desired username for the current session this value will be passed to the digital human example implementation (html snippet) id="talking head" data api base="https //chat api unith ai" data api key="" data org id="" data head id="" data theme="demo" data vm version="1" data time pressure="false" data subs enabled="true" data mic enabled="true" data username="roman" in this example, the digital human interacting with this embedded instance will recognize the user as "roman"