Skip to content

Commit 38f422e

Browse files
committed
[IMP] website: update cookies bar
task-4546111
1 parent 53924e7 commit 38f422e

File tree

1 file changed

+52
-21
lines changed

1 file changed

+52
-21
lines changed

content/applications/websites/website/configuration/cookies_bar.rst

Lines changed: 52 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -11,47 +11,78 @@ Data protection laws require notifying users about data collection methods and p
1111
**Cookies bar** fulfill this obligation by informing users on their first visit and allowing them to
1212
decide whether to store all or only essential cookies on their device.
1313

14+
.. note::
15+
Cookie bars have been imposed to obtain visitors' consent for optional cookies only, as their
16+
consent is not required for essential cookies.
17+
1418
Configuration
1519
=============
1620

17-
To enable the cookies bar on your website, go to :menuselection:`Website --> Configuration -->
18-
Settings` and enable :guilabel:`Cookies Bar` in the :guilabel:`Privacy` section.
21+
To add a cookies bar on your website, go to :menuselection:`Website --> Configuration -->
22+
Settings` and enable :guilabel:`Cookies Bar` in the :guilabel:`Privacy` section. This activates
23+
:guilabel: `Block tracking 3rd-party services` (e.g. YouTube, Google Maps, Facebook...) by default.
24+
You can also :guilabel: `Add domains to the block list`. These services will be blocked on your
25+
website for users until they accept optional cookies.
1926

2027
.. note::
21-
The :ref:`Cookies Policy <cookies-bar/policy>` page (/cookie-policy`) is automatically created
22-
when you enable the cookies bar.
28+
Using third-party cookies without a cookie bar will not prevent them from being triggered. It is
29+
the cookie bar and the visitor's refusal that will ensure that they are not triggered.
2330

24-
.. _cookies-bar/customization:
31+
The :ref:`Cookies Policy <cookies-bar/policy>` page (/cookie-policy`) is automatically created when
32+
you enable the cookies bar.
2533

26-
Customization
27-
=============
34+
.. _cookies-bar/google_consent_mode_V2:
2835

29-
To adapt the display of the cookies bar, click :guilabel:`Edit`, go to the
30-
:guilabel:`Invisible Elements` section at the bottom of the panel, and click
31-
:guilabel:`Cookies Bar`. You can modify the :guilabel:`Layout` and :guilabel:`Size` of the
32-
cookies bar, and enable :guilabel:`Backdrop` to gray out the page in the background when the cookies
33-
bar is displayed on the screen.
36+
Google Consent Mode V2
37+
======================
3438

35-
Click anywhere in the building block to further customize the appearance of the cookies bar using
36-
:guilabel:`Block`, :guilabel:`Column` and/or :guilabel:`Inline Text` customization options.
37-
38-
To edit the contents of the cookies bar (i.e., the consent message), click directly in the building
39-
block.
39+
Odoo is compliant with Google Consent Mode V2, which is a mandatory update to how Google services
40+
manage user consent for data collection. This framework is required for all websites that use Google
41+
Ads, Google Analytics, and other Google services to target users within the European Economic Area
42+
(EEA).
4043

4144
.. _cookies-bar/policy:
4245

4346
Cookies policy
4447
==============
4548

4649
When you enable the cookies bar for your website, Odoo creates the **Cookie Policy** page
47-
(`/cookie-policy`) containing a non-exhaustive list of cookies, with their purpose and examples. To
48-
access it, click the :guilabel:`Cookie Policy` hyperlink in the cookies bar or open the page from
49-
:menuselection:`Website --> Site --> Pages`.
50+
(`/cookie-policy`) containing a list of cookies set by default, with their purpose and examples.
5051

51-
To adapt the content of the page according to your needs, click the :guilabel:`Edit` button.
52+
.. note::
53+
You cannot offer visitors the possibility to refine their choice among optional cookies.
5254

5355
.. tip::
5456
You could add a link to this page in your website's footer, for example.
5557

58+
Edit the Cookies policy page
59+
----------------------------
60+
61+
To access it, click the :guilabel:`Cookie Policy` hyperlink in the cookies bar or open the page from
62+
:menuselection:`Website --> Site --> Pages`.
63+
64+
To adapt the content of the page according to your needs, click the :guilabel:`Edit` button.
65+
66+
.. important::
67+
You have to list every cookie you added yourself on the /cookie-policy page including their role,
68+
their name and duration.
69+
5670
.. seealso::
5771
:doc:`Pages <../structure/pages>`
72+
73+
.. _cookies-bar/customization:
74+
75+
Customization
76+
=============
77+
78+
To adapt the display of the cookies bar on your website, click :guilabel:`Edit` on the website
79+
editor, go to the :guilabel:`Invisible Elements` section at the bottom of the panel, and click
80+
:guilabel:`Cookies Bar`. You can modify the :guilabel:`Layout` and :guilabel:`Size` of the
81+
cookies bar, and enable :guilabel:`Backdrop` to gray out the page in the background when the cookies
82+
bar is displayed on the screen.
83+
84+
Click anywhere in the building block to further customize the appearance of the cookies bar using
85+
:guilabel:`Block`, :guilabel:`Column` and/or :guilabel:`Inline Text` customization options.
86+
87+
To edit the contents of the cookies bar (i.e., the consent message), click directly in the building
88+
block.

0 commit comments

Comments
 (0)