You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 13/umbraco-engage/security-and-privacy/gdpr/how-to-become-gdpr-compliant-using-cookiebot.md
+27-29Lines changed: 27 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,9 +14,9 @@ This article gives you a working implementation to use with [CookieBot](https://
14
14
15
15
## Code Example
16
16
17
-
The code example below shows how to create the backend code to read the CookieBot consent cookie from the end user. Based on that, decide which features of Umbraco Engageit should enable or disable.
17
+
The code example below shows how to create the backend code to read the CookieBot consent cookie from the end user. Based on that, decide which features of Umbraco Engage it should enable or disable.
18
18
19
-
1. Create a class that implements the `Umbraco.Engage.Business.Permissions.ModulePermissions.IModulePermissions` interface.
19
+
1. Create a class that implements the `Umbraco.Engage.Infrastructure.Permissions.ModulePermissions.IModulePermissions` interface.
20
20
2. Check the current HTTPContext Request Cookies for the CookieBot cookie which is named **CookieConsent.**
21
21
22
22
From some of the [documentation from CookieBot](https://www.cookiebot.com/en/developer/), implement the same logic to check if the value of the cookie is -1 or another value. If it is set to -1, CookieBot is indicating to us that this is a user within a region that does not require consent.
@@ -26,10 +26,10 @@ The rest of the code is deserializing the JSON string stored inside the cookie f
0 commit comments