Skip to content

Commit dbf9e0c

Browse files
committed
cookie-constent: { type: express } is now the default.
This means loading cookie is now opt-in instead of opt-out.
1 parent e96bf58 commit dbf9e0c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/project/types/website/website-analytics.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ function cookieConsentConfiguration(
277277
): CookieConsentConfiguration {
278278
return {
279279
siteName: "",
280-
type: type || "implied",
280+
type: type || "express",
281281
style: style || "simple",
282282
palette: palette || "light",
283283
policyUrl,
@@ -378,6 +378,8 @@ gtag('js', new Date());`);
378378
].join("\n");
379379
}
380380

381+
// configuration for the script are defined in
382+
// https://github.com/termsfeed/termsfeed-cookie-consent-4-0/blob/main/README.md
381383
function cookieConsentScript(
382384
config: CookieConsentConfiguration,
383385
) {

0 commit comments

Comments
 (0)