If you would like to modify some of the attributes, it is important to understand how the information is transferred to Heyday to ensure the modifications are present at all moments.
As you know, the Heyday chat optimizes the customer experience by leveraging useful data from a brand's website. This information can be transferred to the heyday chat before or after the chat is initialized, therefore, in modifying certain attributes, you must ensure the changes are applied to each scenario.
List of configurable attributes:
The initialization of the Heyday chat happens when the script with the code snippet is executed:
When the information is passed to Heyday before the initialization of the Chat, the heyday attributes tag <div> is added before the script in the code, as the example below indicates:
<div id="hdAttributes" country="CA"></div>
For instance, the country of the webpage (ex: Canada vs. USA) is typically known before the Heyday chat is initialized.