Learn how to install the Koala JavaScript SDK.
connect-src
or script-src
to allow Koala to work properly.
If you have a strict connect-src
, add these endpoints to it:
https://*.getkoala.com
wss://*.getkoala.com
script-src
, add this endpoint to it:
https://*.getkoala.com
script-src-elem
, add this endpoint to it:
https://*.getkoala.com
script-src
, but if you need to learn more about it, use this resource to learn more: https://content-security-policy.com
window.ko
global variable. If this causes a conflict with another library or code on your site, you can change the global variable used by Koala.
Change the global variable in the beginning of your snippet code as shown below. In this case, Koala uses window.custom_key
to load instead of window.ko
.
window.globalKoalaKey
to set the global variable.