@@ -3,55 +3,123 @@ Cookies bar
33===========
44
55**Cookies ** are small text files sent to your device when you visit a website. They are processed
6- and stored by your browser and track user information like login details, preferences, and browsing
7- history. **Essential cookies ** are necessary for the website to function, while ** optional cookies **
8- are used to analyze behavior or display ads.
6+ and stored by your browser and record visitor information like login details, preferences, and
7+ browsing history. **Essential cookies ** are necessary for the website to function, while
8+ ** optional cookies ** are used to analyze behavior or display ads.
99
10- Data protection laws require notifying users about data collection methods and purposes.
11- **Cookies bar ** fulfill this obligation by informing users on their first visit and allowing them to
12- decide whether to store all or only essential cookies on their device.
13-
14- Configuration
15- =============
16-
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.
10+ Data protection laws require notifying visitors about data collection methods and purposes.
11+ **Cookies bar ** fulfill this obligation by informing visitors on their first visit and allowing them
12+ to decide whether to store all or only essential cookies on their device.
1913
2014.. note ::
21- The :ref: ` Cookies Policy < cookies-bar/policy >` page (/cookie-policy`) is automatically created
22- when you enable the cookies bar .
15+ - Cookies bars are required to obtain visitors' consent for optional cookies only. Consent is not
16+ required for essential cookies .
2317
24- .. _ cookies-bar/customization :
18+ - Odoo is compliant with ` Google consent mode v2 < https://support.google.com/tagmanager/answer/13695607 >`_.
2519
26- Customization
20+ Configuration
2721=============
2822
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.
23+ To add a cookies bar on your website, go to :menuselection: `Website --> Configuration -->
24+ Settings ` and enable :guilabel: `Cookies Bar ` in the :guilabel: `Privacy ` section. This activates
25+ :guilabel: `Block tracking 3rd-party services ` by default, including social media, video hosting
26+ platforms, and Google services. Click :guilabel: `Add domains to the block list ` to include other
27+ external websites. These services remain blocked on your website until visitors accept optional
28+ cookies.
3429
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.
30+ .. note ::
31+ Using third-party cookies without a cookies bar does not prevent them from being triggered. Only
32+ the presence of a cookie bar **and ** the visitor’s refusal ensure that these cookies are blocked.
4033
4134.. _cookies-bar/policy :
4235
4336Cookies policy
4437==============
4538
4639When 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
40+ (`/cookie-policy `) containing a list of cookies set by default, with their purpose and examples.
41+
42+ .. spoiler :: Click here to preview the list of default cookies
43+
44+ .. list-table ::
45+ :header-rows: 1
46+ :stub-columns: 1
47+
48+ * - Category
49+ - Role
50+ - Name
51+ * - Essential - Session & Security
52+ - Authenticate visitors, protect visitor data and allow the website to deliver the services
53+ visitors expects, such as maintaining the content of their cart, or allowing file uploads.
54+ The website will not work properly without these cookies.
55+ - session_id (Odoo)
56+ * - Essential - Preferences
57+ - Remember information about the preferred look or behavior of the website, such as the
58+ preferred language or region. The website will continue to function without these cookies,
59+ but the visitor’s experience may be affected.
60+ - frontend_lang (Odoo)
61+ * - Optional - Interaction History
62+ - Collect information about your interactions with the website, the pages you've seen, and
63+ any specific marketing campaign that brought you to the website. The website will work
64+ without these cookies, but some features or services may not perform optimally.
65+ - im_livechat_previous_operator (Odoo),
66+ utm_campaign (Odoo),
67+ utm_source (Odoo),
68+ utm_medium (Odoo)
69+ * - Optional - Advertising & Marketing
70+ - Make advertising more engaging to visitors and more valuable to publishers and advertisers,
71+ such as providing more relevant ads when you visit other websites that display ads or to
72+ improve reporting on ad campaign performance. Note that some third-party services may
73+ install additional cookies on your browser in order to identify you.
74+ - __gads (Google),
75+ __gac (Google)
76+ * - Optional - Analytics
77+ - Understand how visitors engage with the website, via Google Analytics. The website will
78+ still work without these cookies.
79+ - _ga (Google),
80+ _gat (Google),
81+ _gid (Google),
82+ _gac_* (Google)
83+
84+ .. note ::
85+ It is not possible to let visitors customize or select which optional cookies they want to allow.
86+
87+ .. tip ::
88+ You could add a link to this page in your website's footer, for example.
89+
90+ .. _cookies-bar/edit-policy-page :
91+
92+ Edit the Cookies policy page
93+ ----------------------------
94+
95+ To access it, click the :guilabel: `Cookie Policy ` hyperlink in the cookies bar or open the page from
4996:menuselection: `Website --> Site --> Pages `.
5097
5198To adapt the content of the page according to your needs, click the :guilabel: `Edit ` button.
5299
100+ .. note ::
101+ You have to list every cookie you added yourself on the `/cookie-policy ` page including their
102+ name, role, category and duration.
103+
53104.. tip ::
54- You could add a link to this page in your website's footer, for example .
105+ To check the duration of cookies, use your browser’s developer tools .
55106
56107.. seealso ::
57108 :doc: `Pages <../structure/pages >`
109+
110+ .. _cookies-bar/customization :
111+
112+ Customization
113+ =============
114+
115+ To adapt the display of the cookies bar on your website, click :guilabel: `Edit ` on the website
116+ editor, go to the :guilabel: `Invisible Elements ` section at the bottom of the panel, and click
117+ :guilabel: `Cookies Bar `. You can modify the :guilabel: `Layout ` and :guilabel: `Size ` of the
118+ cookies bar, and enable :guilabel: `Backdrop ` to gray out the page in the background when the cookies
119+ bar is displayed on the screen.
120+
121+ Click anywhere in the building block to further customize the appearance of the cookies bar using
122+ :guilabel: `Block `, :guilabel: `Column ` and/or :guilabel: `Inline Text ` customization options.
123+
124+ To edit the contents of the cookies bar (i.e., the consent message), click directly in the building
125+ block.
0 commit comments