Configuring the cookie management
In your Flipdish Portal, navigate to the "Cookie Management" page via the "Website" dropdown.
On that page, you can configure your the cookie management. There are currently two modes:
Default banner (non-GDPR compliant). In this mode, In this mode, your visitors will see a simple cookie banner if you’re using a Flipdish-generated site to inform them that cookies are used on the site. There is no cookie management, and mobile apps will not display any option for users to manage their settings. This mode is not GDPR compliant.
GDPR compliant banner. In this mode, your users will see a cookie management interface where they can control the different levels of cookies they’re comfortable with. You should use this mode if you operate within the EU.
Managing the cookie banner via code
By default, the Flipdish cookie settings banner will appear on your online ordering webpage unless you disable it. When operating from a region that controls cookie usage by law (such as the EU) it is important that you give your customers control over cookie usage.
If your site has its own cookie management interface, you can prevent the Flipdish cookie settings banner from appearing. You can also programmatically configure the user's cookie preferences.
How to disable the Flipdish cookie settings banner with code
To disable the settings banner, set the cookie "cookie consent" with value "necessary,functional,performance,advertising". Use a 6-month expiry.
document.cookie = "cookieconsent=necessary,functional,performance,advertising; expires=Thu, 18 Dec 2013 12:00:00 UTC"
How to programmatically set the user's cookie preferences
Set the cookie "cookieconsent" and include a comma-separated list of preferences, like so. Use a 6-month expiry.
document.cookie = "cookieconsent=necessary,functional; expires=Thu, 18 Dec 2013 12:00:00 UTC"
document.cookie = "cookieconsent=necessary,performance,advertising; expires=Thu, 18 Dec 2013 12:00:00 UTC"
document.cookie = "cookieconsent=necessary,advertising; expires=Thu, 18 Dec 2013 12:00:00 UTC"
You can read and set this cookie to sync the Flipdish cookie settings banner with your own.
Learn more about setting cookies at https://www.w3schools.com/js/js_cookies.asp
To learn more about Flipdish’s products or how to grow your online business enrol for FREE in the Flipdish Academy here: http://academy.flipdish.com/