# Show or Hide your chatbot based on URL

You can control where the chatbot appears on your website based on the URL.
Please go to Settings > Targeting.





The Show on and Hide on accepts URLs in regex format. Let's see some examples.
For these examples, we assume your website URL is "website.com"


SHOW THE CHATBOT ONLY ON CONTACT PAGE




SHOW THE CHATBOT ON CONTACT PAGE AND ON THE LANDING PAGE




HIDE THE CHATBOT ON ALL ITEMS PAGE




SHOW THE CHATBOT ON ITEMS PAGE, BUT HIDE ON CART PAGES



Note



This setting is only available for the chatbot when it is used as Widget. It is
not applicable when used as Embed or Link.



Tip

 * When using URL targeting, please remember that only URL path parameters are
   supported, whereas query parameters that appear on the right side of “?” are
   not supported.
   
   

 * Don't forget to publish your changes
   [https://collect.chat/help/article/1065-how-to-publish-your-form] before
   testing.