Domain restriction and cross-domain session sharing
By Shane Wall
Last Update 2 个月前
By default, the chat widget code will work on all domains where it has been inserted. You can, however, set specific domains to be restricted. That means you can stop the widget from showing on certain pages.
To set the domain restrictions, make your way to the Administration section of the Dashboard by clicking the cog in the bottom left corner then select Chat Widget from the Channels list.
If you have multiple properties, make sure to check you're currently viewing the correct one by hovering over the hamburger icon at the top of the Dashboard.
Scroll down to the Availability Restriction section and click Configure to open a new window and give you access to the Availability Restriction page where you can specify the domains you want to restrict.
Enabling the Domain Restriction by switching it on will give you two new options for restricted domains.
If you only want the widget to be shown on a small number of domains, use the SHOW widget only on specific domains and/or urls option and simply add the domains you want the chat widget available on. Click the + Add Another button to include more sites the widget will show up on.
If you'd rather have the widget available on most of your website with a few exceptions use the HIDE widget on specific domains and/or urls option and add the domains you want to hide the widget on. Click the + Add Another button to include more sites the widget won't show up on.
To make these changes live, make sure to click the green Save button in the bottom right corner once you're happy with what you've set up.