-
Notifications
You must be signed in to change notification settings - Fork 14
/
default_options.js
54 lines (45 loc) · 1.52 KB
/
default_options.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
"use strict"
export default {
// Title of the
title: "We use cookies",
description: `Click “Accept” to enable us to use cookies to personalize
this site. Customize your preferences in your
Cookie Settings or click “Reject” if you do not want us
to use cookies for this purpose. Learn more in our
<a href="/cookies">Cookie Notice</a>.`,
buttons: {
acceptAll: "Accept",
acceptSelected: "Accept Cookies",
reject: "Reject",
showSettings: "Cookies settings",
hideSettings: "Hide",
},
categories: {
essentials: {
label: "Essential",
description: `Essential cookies are necessary for features which
are essential to your use of our site or services,
such as account login, authentication, and site security.`,
checked: true,
mandatory: true
},
analytics: {
label: "Analytics",
description: `Analytics cookies allow us to analyze your visits and
actions on our websites, and offer you a more relevant
experience.`
}
},
cookie: {
// Name of the cookie storing the consent state
name: "cookie_consent",
// If null, will take `location.hostname` by default
domain: null,
// Duration of the consent
expiryDays: 365,
// If true, the cookies will only be allowed over https
secure: false,
// See https://developer.mozilla.org/fr/docs/Web/HTTP/Headers/Set-Cookie/SameSite
sameSite: "Lax",
}
}