diff --git a/docusaurus.config.js b/docusaurus.config.js index 07e8ae6b7..7dda132d4 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -245,17 +245,17 @@ const config = { scripts: [ // Needed as a workaround for https://answers.netlify.com/t/trailing-slash-missing-on-proxied-netlify-site/36367 "/docs/scripts/redirect.js", - // Disabled until widget size is fixed. - // - // { - // src: "https://widget.kapa.ai/kapa-widget.bundle.js", - // "data-website-id": "e89e7663-df2c-4c7f-974a-1bf8accdd615", - // "data-project-name": "Ory", - // "data-project-color": "#1A237E", - // "data-project-logo": - // "https://assets.website-files.com/627ba6588811eca90ffd6f2a/6282a6b11450b482db646ed2_hydra.png", - // async: true, - // }, + { + src: "https://widget.kapa.ai/kapa-widget.bundle.js", + "data-website-id": "e89e7663-df2c-4c7f-974a-1bf8accdd615", + "data-project-name": "Ory", + "data-project-color": "#1A237E", + "data-modal-disclaimer": + "By utilizing this chatbot, you consent to the collection and transmission of data to kapa.ai, which may include your IP address. Please be advised that your privacy and data protection are of utmost importance to us. We assure you that any data collected will be handled in compliance with applicable laws and regulations. For further details on how your data is processed and used, we encourage you to review our Privacy Policy. If you do not agree with these terms, we kindly request that you refrain from using this chatbot.", + "data-project-logo": + "https://assets.website-files.com/627ba6588811eca90ffd6f2a/6282a6b11450b482db646ed2_hydra.png", + defer: true, + }, ], }