Skip to main content

Control Widget Visibility

Configure which pages show or hide the WhatsApp chat widget using visibility rules.

Prerequisites

How visibility rules work

The system evaluates three things in order:

  1. Default behaviour — show on all pages, or hide on all pages
  2. Include paths — force the widget to show on specific pages (overrides default)
  3. Exclude paths — force the widget to hide on specific pages (overrides everything)

Exclude paths always win. If a page matches both an include and exclude path, the widget is hidden.

Set up visibility rules

  1. In Admin View, go to Website Chat Widget and click Edit Widget.

  2. Click the Visibility Rules tab.

  3. Choose your default behaviour:

    • Show on all pages — then use exclude paths to hide on specific pages
    • Hide on all pages — then use include paths to show on specific pages
  4. Add Include paths (green) to force the widget to show on specific pages.

  5. Add Exclude paths (red) to force the widget to hide on specific pages.

    Enter a path in the text field and click the + button to add it.

  6. Click Save Widget.

Common configurations

Show everywhere except checkout

  • Default: Show on all pages
  • Exclude: /checkout, /checkout/*

Show only on key pages

  • Default: Hide on all pages
  • Include: /, /pricing, /contact-us

Show on service pages except one

  • Default: Hide on all pages
  • Include: /services/*
  • Exclude: /services/free-consultation

Remove a rule

Click the x on any path tag to remove it.

Test

After saving, open your website in an incognito window and visit pages where the widget should show and pages where it should be hidden. Verify the behaviour matches your configuration.

Troubleshooting

Widget not hiding on excluded pages?

  • Check the path matches exactly (case-sensitive)
  • Ensure you used / before * in wildcards (e.g., /checkout/* not /checkout*)
  • Verify you clicked Save Widget

Widget not showing on included pages?

  • Confirm your default is set to Hide on all pages (include paths only matter when the default is hide)
  • Check for a conflicting exclude path (exclude always wins)
  • Verify the path spelling matches your actual URL