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.
10 Comments
can i blacklist domains? does the white-list section support regular expression?
Can I whitelist countries? We want to only be available in one country for the moment.
Hey Tom,
At this time you can only blacklist countries and whitelist specific domains. Unfortunately, there's no way to whitelist a country. If you notice a large number of chats coming in from an unsupported country, you'll want to just add that country to the blacklist.
Let me know if you have any other questions!
Many businesses will want to restrict most of the world. We only want chat available in the US and Canada, so your best approach would be checkbox selection, or an exclude all then whitelist, or just remove, specific countries.
Hi Brett,
We use an outsourced company who is taking care of the chat using Zendesk chat tool (they don't use VPN).
Though from this specific county we also receive spam and would not like to service customers from this country.
Is it safe to blacklist this country w/o causing any troubles to my agents to do their work?
Thank you in advance,
Mari
Hi,
We are trying to show the Chat widget to Whitelisted domains only. If it is not a whitelisted domain, we totally want to hide the widget from the client.
We are going to include the snippet in our code base which will be available to all clients. so using this setting we are going to enable/disable for specific clients. Is it possible to completely hide it for specific ones?
Hey Priya,
Do you have a standalone Chat account or are you using Chat alongside the Support web-widget? This options would vary based on which one you're using so let me know!
New to ZenDesk (just started a trial) and looking to deploy ZenDesk Chat to just one of my websites within a WordPress Multisite instance - and then further only allow visitors from Germany or Austria to see the chat option
Is this possible ??
- the above suggests not, but i had believed it was???
Perhaps via Geo-IP location lookup ?
We are using https://api.zopim.com/web-sdk to build a connect to Zendesk Chat module from our WebSDK. Can I still use the Whitelisting of domain to control from which all domains (hosting my SDK+Zopin Web-SDK) can use the 'Account Key' to connect to Zendesk chat?
Hello Ashish Parnami,
I'm sorry for any delay! We have been overwhelmed with requests during this time. We appreciate your patience on this.
Upon testing, I am seeing that yes, adding my IP to my test account's ban list will be respected by a widget built with the Chat Web SDK.
If you have any further questions, please do not hesitate to respond and I will do my best to help! :)
Please sign in to leave a comment.