Articles on: Setting Up CocoAI

How do I exclude CoCo from specific pages?

To exclude CoCo from specific pages of your site, we work on the principle of a reversed REGEX.


No worries, the AI will do everything for us! You can use ChatGPT, Mistral, or Claude.


Copy the URLs where you want to exclude CoCo and replace the XXX in the following sentence (it's normal that the meaning of this sentence is opposite to what you want):


"I want to exclude all URLs except XXXXX. Create a Regex that matches all other URLs except this one."


The AI will give you a URL like this: ^(?!https:\\/\\/my-coco\\.io\\/pages\\/$).*


That's your REGEX—copy it.


Then launch CoCo, go to the customization of the bubble in your Shopify theme, Scroll to the bottom of the configuration fields and paste the information into the REGEX / page filter field.




Save it, and you're all set!

Updated on: 28/05/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!