as a user, i would like to actively opt in to cookie policy on the app/site on my visit (once in lifetime).
localstorage/cookies
since we want to remember the user's selection, we need to create the following:
GDPRConsent cookie
It can have 2 values:
i. true
ii. false
Process
user visit bancor.network or any of our subdomains (app, try, earn)
IF GDPRConsent = true, trigger google tag manager normally
IF GDPRConsent = false, block google tag manager from firing
ELSE, IF GDPRConsent doesnt exist -> show the cookie consent bar
as a user, i would like to actively opt in to cookie policy on the app/site on my visit (once in lifetime).
localstorage/cookies
since we want to remember the user's selection, we need to create the following:
Process
user visit bancor.network or any of our subdomains (app, try, earn)
IF GDPRConsent = true, trigger google tag manager normally IF GDPRConsent = false, block google tag manager from firing ELSE, IF GDPRConsent doesnt exist -> show the cookie consent bar
cookie consent bar
https://www.figma.com/file/fwADI9wqDrRAdlMX8EddCw/Bancor-v3?node-id=12143%3A353626 on click "dismiss" -> set GDPRConsent to True on click "manage settings" -> open cookie consent popup
cookie consent popup
https://www.figma.com/file/fwADI9wqDrRAdlMX8EddCw/Bancor-v3?node-id=12362%3A359438 on click "keep cookies" -> set GDPRConsent to True on click "decline cookies" -> set GDPRConsent to False