# Show or Hide your form based on URL

You can control where the form 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 FORM ONLY ON CONTACT PAGE




SHOW THE FORM ON CONTACT PAGE AND ON THE LANDING PAGE




HIDE THE FORM ON ALL ITEMS PAGE




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



Note



This setting is only available for the form 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-publish-the-chatbot] before testing.