Skip to main content

Hide/show chat on specific pages

tip

Use this feature if you'd like to only show the chat on certain pages, or hide the chat on all pages except for those that you define.

Description

This feature has two modes: "Exclude" and "Include". When defining a list of page paths under the exclude mode, the chat will be hidden in all paths configured. When defining a list of paths under the include mode, the chat will be shown only for the paths listed in the configuration field.

Page exceptions behavior selection

Path exceptions field

This field defines all path values for which you'd like to include or exclude the chat widget. The field is a multi-line input, and each path must be placed on a separate line.

Page exceptions input field

Finding the path of a page

To see what path a particular page is on, you may use the "Show page path in editor" checkbox in the app embed settings.
Page path preview checkbox

This will display the path for every page you navigate to within the editor, and is only visible while using the theme editor (it will not be shown for normal store visitors).
Page path preview

Path wildcards

You can choose to match a page path exactly, or you can match any path which starts with a particular value. To match any page that starts with some value, you place an underscore character at the end of the desired path.

For instance, to match a specific collection, you'd use something like /collections/my-cool-collection

But to match all collections pages, you would use /collections/_

info

This field is configured in the theme editor using the app embed. This allows viewing page paths within the editor, to assist in configuring the allowed/disallowed page values.