From 1925e4a7f41fab98142148c59392d2bc663a81e1 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Mon, 9 Dec 2024 14:39:19 -0800 Subject: [PATCH] feat: add cookie persistence config to consent banner --- aider/website/_includes/head_custom.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/aider/website/_includes/head_custom.html b/aider/website/_includes/head_custom.html index a0bef6a26..f8280c5fc 100644 --- a/aider/website/_includes/head_custom.html +++ b/aider/website/_includes/head_custom.html @@ -36,6 +36,15 @@ window.addEventListener('load', function(){ } }, type: "opt-in", + position: "bottom-left", + showLink: false, + dismissOnScroll: true, + cookie: { + name: 'cookieconsent_status', + path: '/', + domain: 'aider.chat', + expiryDays: 365 + }, content: { message: "This website uses analytics cookies to help us understand how you use the site.", dismiss: "Decline",