diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d161c3..7571754 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +2.5.2 +===== + +* (improvement) Added culture property to cookiebot snippet. + + 2.5.1 ===== diff --git a/src/next/components/Snippet/Cookiebot.tsx b/src/next/components/Snippet/Cookiebot.tsx index 03537c3..665dde7 100644 --- a/src/next/components/Snippet/Cookiebot.tsx +++ b/src/next/components/Snippet/Cookiebot.tsx @@ -3,6 +3,7 @@ import Script from "next/script"; export type ConsentManagerProps = Readonly<{ id: string; + culture?: string; }> export function Cookiebot (props: ConsentManagerProps): ReactElement|null @@ -12,6 +13,7 @@ export function Cookiebot (props: ConsentManagerProps): ReactElement|null id="Cookiebot" src="https://consent.cookiebot.eu/uc.js" data-cbid={props.id} + data-culture={props.culture} async /> );