Using the Widget Security settings in the dashboard, you can restrict what countries and domains can load the chat widget.
Adding countries to the Blocked Countries list
Prevent the widget from loading in certain countries by adding them to the Blocked Countries list, or "blocklist." You might want to use this setting if you live in a locale where there are legal restrictions against doing business with certain other countries. If you don't enable this setting, the widget will load for all visitors regardless of the country they're located in.
To add or remove countries from the Blocked Countries
- From the Chat dashboard, go to Settings > Widget > Widget Security tab.
- Next to Blocked Countries, select On.
- To add a country to the blocklist, select it from the dropdown menu.
- To remove a country from the blocklist, click on its tile.
- Click Save Changes.
Adding domains to the Allowed Domains list
Specify the trusted domains you want the widget to load on by adding them to the Allowed Domains list, or "allowlist." Enabling this feature prevents others from taking your widget code snippet and putting it on their own websites.
You can enter an unlimited number of URL paths. It will do an exact match with what was entered. Entering subdomain.domain.com will mean the widget will only load for that specific subdomain, and not all of domain.com. If you want to support all subdomains, you can use a wildcard (for example, *.domain.com).
To add domains to the Allowed Domains list
- From the dashboard, go to Settings > Widget > Widget Security tab.
- Next to Allowed Domains, select On.
- Enter the domains you want to allow in the field. To add additional domains, click the + button.
- Click Save Changes.