From de15025bde5f1aead43f29af94d711c2950d220e Mon Sep 17 00:00:00 2001 From: Bruno Besson Date: Sat, 18 Oct 2025 21:34:00 +0200 Subject: [PATCH] Add ad cookies for GDPR --- src/components/gdpr/GdprModal.vue | 16 ++++++++++++++-- src/js/vue-plugins/gdpr.js | 4 +++- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/src/components/gdpr/GdprModal.vue b/src/components/gdpr/GdprModal.vue index fbe0e10ae1..fbfebdec95 100644 --- a/src/components/gdpr/GdprModal.vue +++ b/src/components/gdpr/GdprModal.vue @@ -27,8 +27,6 @@ a form or define your cookie preferences. If you configure your computer to block these cookies or to warn you of their existence, our website will not function fully.

- -

Statistical cookies

@@ -47,6 +45,20 @@ website and know the sources of traffic. Data we obtain help us understand what visitors like and improve our website. If you reject them, we cannot improve your experience.

+
+
+
+

Advertisement cookies

+
+ + +
+
+

+ These cookies are used to provide you with personalized advertising based on your browsing on the site. They + track your activities on the site in order to display relevant ads tailored to your interests. By disabling + these cookies, you will continue to see ads, but they will no longer be tailored to your preferences. +

Social cookies

diff --git a/src/js/vue-plugins/gdpr.js b/src/js/vue-plugins/gdpr.js index 8b04272f12..e52061d997 100644 --- a/src/js/vue-plugins/gdpr.js +++ b/src/js/vue-plugins/gdpr.js @@ -41,7 +41,9 @@ export default function install(Vue) { }, setAll(accept) { - this.set(accept ? { statistics: true, social: true } : { statistics: false, social: false }); + this.set( + accept ? { statistics: true, social: true, ad: true } : { statistics: false, social: false, ad: false } + ); }, }, });