Install your chatbot
Choose which tools to show on which pages of your website. All rules that match will apply. If two rules load the same tool, then only the first rule will be applied.
To add a rule, press the '+ Add a rule' -button.
This will add a bar with options.
The first dropdown-box will determine what logic will be used to add the tool. The three options are:
- URL contains = the URL of your website should include a word or a character for the tool to show on that specific url. For example we have a url: www.serviceform.com . In the box 'eg.Url or Class' we can add the word service. As the word service can be found in our url, the tool will show.
- URL equals = To have a more strict logic, we can choose to show the tool only if the URL we add in the box is strictly equal to the website URL. For the URL www.serviceform.com, we need to use www.serviceform.com . Using only serviceform will result in the tool not showing.
- CSS-selector: The CSS-selector is used to show a tool on a website if a certain CSS-class is found on the website.
Next task is to choose what you want to do/ or show on the URL:s that match the conditions.
Select from the dropdown menu one that fits your needs:
To show one of the tools choose between, Chat (chatbot), InlineBot, Popup or Serviceform (form), (Sticky Bar coming soon!)
- Disable all:
Choose the Disable all to hide everything on the url that fits your conditions. To disable a specific tool, choose 'Disable all' and in the next dropdown the tool you don't want to show. This works well if you have a chatbot that should show on all sites except for a few.
- Custom JS:
To run some Custom JavaScript on a specific URL, use this option. Use with care as JavaScript errors will break.
Finally, to display your tool, choose it from the dropdown menu on the far right:
Example:
To display my testing-flow as a chatbot on URL's that contain www.serviceform.com, the row should look like this:
Inline-example: To display my testing-flow as an inline-bot on a specific page, the row should look like this. Choosing InlineBot instead of Chat will open more options on the row. Choose your flow and assign the inline-bot to a specific class on your page by adding the class selector in the box at the end.
To remove a rule, simply press on the trash-icon and confirm your actions.
Don't forget to save your changes in the top-right corner!