Cookie banner
A cookie banner helps users understand what kind of cookies you want to collect and why you want to do so. It’s a great way to comply with laws such as GDPR and CCPA, and with your organization's policies.
The cookie banner appears when a user visits your site for the first time. After that, the banner will only appear again when:
The user cleared out their browser’s cookies.
You changed the contents of the banner.
You deactivated and later reactivated the banner.
Users can change their cookie settings whenever they want:
Logged-in users click the Avatar menu (their profile icon) in the header > Cookie settings.
Anonymous users click the Cogwheel icon in the header > Cookie settings.
Set up a site’s cookie banner
Go to the Refined Administration.
Click Sites in the left-hand menu.
Select the site.
Go to the Configuration tab.
Go to the Cookie banner section.
Cookie banner title and message
Describe how you use cookies on your site. We recommend you to mention that your site uses third-party cookies and include links to your company’s privacy policies.
Allow users to accept only necessary cookies
When turned on, users can choose to accept all cookies or only necessary cookies. When turned off, users can only use the site when they accept all cookies.
Buttons
You can customize the text of these buttons:
Button to accept all. By clicking the button, the user accepts all cookies:
Required cookies.
Google Analytics cookies, if you connected a Google Analytics tracking ID.
Custom cookies, if you added them.
According to the EU's Data Protection Law (GDPR), you need users' consent to collect the Google Analytics and custom cookies.
Button to accept necessary. By clicking the button, the user accepts only the cookies that are necessary for the product to function: for example to authenticate a user. Users can’t opt out of these cookies in Refined, but they may be able to opt out by changing their browser settings. However, Refined won’t function as expected if users have blocked cookies.
Custom cookies
You can add your own cookies with the HTML module or by adding custom HTML or CSS to your site.
The cookies we set for consent are required-cookies-acknowledged and all-cookies-accepted. The value of these cookies is the version of the cookie banner that the user has accepted. The site DOM contains a meta tag with the name cookie-latest-version. You can accessed and compared it with the consent cookie values to decide if you should add your cookies or not. The value in the meta tag will be 0 if the banner is not set up. The version will increase whenever the cookie banner is edited.