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: 16/umbraco-engage/security-and-privacy/gdpr/how-to-become-gdpr-compliant-using-cookiebot.md
+30-32Lines changed: 30 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,10 +14,10 @@ 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.
20
-
2. Check the current HTTPContext Request Cookies for the CookieBot cookie which is named **CookieConsent.**
19
+
1. Create a class that implements the `Umbraco.Engage.Infrastructure.Permissions.ModulePermissions.IModulePermissions` interface.
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.
23
23
@@ -26,10 +26,10 @@ The rest of the code is deserializing the JSON string stored inside the cookie f
@@ -204,7 +202,7 @@ To install CookieBot, insert the JavaScript tag provided by CookieBot into the `
204
202
205
203
### Tracking a Visitor's Initial Pageview
206
204
207
-
Umbraco Engage does not actively track visitors until they have given their consent to the Cookiebot configuration. After the visitor consents, you need to **reload** the page to track the visit. If no reload is performed the visitor's referrer and/or campaign information will not be tracked.
205
+
Umbraco Engage does not actively track visitors until they have given their consent to the Cookiebot configuration. After the visitor consents, you need to **reload** the page to track the visit. If no reload is performed, the visitor's referrer and/or campaign information will not be tracked.
208
206
209
207
Use JavaScript to reload the page when consent is given by handling the **CookiebotOnAccept** event:
210
208
@@ -214,4 +212,4 @@ Use JavaScript to reload the page when consent is given by handling the **Cookie
214
212
215
213
Calling the above method will preserve any referrers and query strings supplied in the current request. It results in Umbraco Engage processing the current page visit and visitor correctly.
216
214
217
-
For more details, see [Cookiebot Documentation](https://www.cookiebot.com/en/developer/#h-event-handling).
215
+
For more details, see the [Cookiebot Documentation](https://www.cookiebot.com/en/developer/#h-event-handling).
0 commit comments