As many brands have stores worldwide, the country at which the customer is initiating the chat is an important information. The attribute Country is set to provide a customized experience based on the website visited by the customer.

For instance, the country of the webpage is typically known before the Heyday chat is initialized.

<div id="hdAttributes" country="CountryCode"></div>

The parameter CountryCode is a two letter abbreviation of the country such as:

  • CA: Canada

  • US: United States

Using Canada as the country for example:

<div id="hdAttributes" country="CA"></div>

For more information, use the complete list of ISO Country Code Reference below:

Last updated