Customize cookie features

The setting of cookies in the chatbot can be customized using a JavaScript tag. To prevent aiaibot cookies from being set by default, the following attribute should 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 enabled if the user agrees:

window.aiaibot.createTrackingCookies()

Should the aiaibot cookies be removed, the following function should be activated in case of subsequent rejection of cookies:

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