Show or Hide the bot based on API parameters

URL parameters or API parameters are additional strings present in the URL that gives additional information to the browser. You can choose to show or hide the bot when a particular API parameter or a set of such parameters are present in the URL.

Please go to Settings > Targeting and click on the + button. Select API Parameters  from the dropdown list.

In the above example, we added a rule under Hide for. So if a user visited your website and has the following URL:

yourwebsite.com/link?uid=anonymous&category=inactive

then the chatbot will be hidden for such a user. If only one of the parameters are present in the URL, then the bot will be visible to the user.

The same rule can be added under Show for as well.

Note

This setting is only available for the chatbot when it is in the widget form. It is not applicable to embedded or full-page chatbots.

Tip

Don't forget to publish your changes before testing.



Still need help?

Contact us


Still need help?

Contact us

General