Customize aiaibot cookies

The setting of cookies in the chatbot can be prevented by adding an attribute on the aiaibot script tag. To do this, the following attribute must be added:

data-aiaibot-no-cookies

In addition, two complementary functions are available via the JavaScript API. To set aiaibot cookies, the following function should be called if the user agrees:

window.aiaibot.createTrackingCookies()

To delete aiaibot cookies, the following function should be called on subsequent rejection of the cookies:

window.aiaibot.removeTrackingCookies()
Was this article helpful?
3 out of 3 found this helpful