Enabling GDPR Compliance for Cookies
You can ensure GDPR compliance for your cookies using Liferay’s configuration interface.
-
Open the Global Menu (), and navigate to Control Panel → System Settings → Platform → Cookies. This page configures all sites. If you want to configure cookie settings for a specific site, go to Control Panel → Instance Settings → Platform → Cookies.
There are two checkboxes here: Enabled and Explicit Cookie Consent Mode. Though checked by default, the explicit cookie consent mode doesn’t work if the Enabled checkbox is unchecked.
-
To set your handling preference, check the Enabled checkbox. With the Explicit Cookie Consent Mode checked, no cookies are set until the user explicitly agrees to cookie usages. If unchecked, all cookies are set until the user opts out of them.
NoteAnalytics Cloud uses cookies to gather data. If the first checkbox is left unchecked, cookies are enabled by default, and Analytics Cloud can track users. If only the first checkbox is checked, Analytics Cloud tracks users until they opt out of Performance Cookies through the cookie banner. If both boxes are checked, Analytics Cloud doesn’t track users until they accept Performance Cookies in the cookie banner.
-
Click Save or Update.
Two new options appear in the left menu: Banner and Consent Panel.
-
Go to the Banner tab and choose your options for the cookie banner (see Banner Options below).
-
Click Save.
-
Go to the Consent Panel tab and choose your options for the consent panel (see Consent Panel Options below).
-
Click Save.
Banner Options
Your cookie policy appears when users log in through a banner. It displays the text from the Content field, your privacy Policy Link, and Link Display Text. Users can select from three options: Configuration, Accept All and Decline All. You can customize these options in the Banner tab.
Content: Add the relevant information from your cookie policy regarding data collection, tracking, and user privacy. Examples include the types of cookies used, their purposes, how users can manage or disable cookies, and any other relevant information .
Privacy Policy Link: Add a link to your site’s privacy policy page.
Link Display Text: Specify the text that appears as the link to the privacy policy page.
Include “Decline All” Button: Check this option to add a Decline All button on the cookie banner.
Consent Panel Options
The Consent Panel appears when users click the Configuration link on the banner. Users can use it to select the types of cookies they consent to have stored.
You may customize the following options:
Title: Adds a title to your consent panel.
Description: Add a general overview about the usage of cookies on your site.
Cookie Policy Link: Add a link to your site’s cookie policy page.
Link Display Text: Specify the text that appears as the link to the cookie policy page.
Strictly Necessary Cookies Description: Describe the cookies that are necessary for the proper functioning of your site.
Functional Cookies Description: Describe cookies you store to provide enhanced functionality and personalization. You can check the Prechecked checkbox to enable this when the user opens the consent panel.
Performance Cookies Description: Describe performance cookies you store, including how they measure and improve the overall performance of the website by counting visits, traffic sources, and page popularity, and any steps you have taken to maintain full data privacy. You can check the Prechecked checkbox to enable this when the user opens the consent panel.
Personalization Cookies Description: Describe cookies that personalize the user experience. For example, you might have cookies that build a profile of users to show relevant ads. By not allowing personalization cookies, users may receive less targeted advertising. You can check the Prechecked checkbox to enable this when the user opens the consent panel.