silktideCookieBannerManager.updateCookieBannerConfig({
background: {
showBackground: true
},
cookieIcon: {
position: "bottomLeft"
},
cookieTypes: [
{
id: "necessary",
name: "Necessary",
description: "
These cookies are necessary for the website to function properly and cannot be switched off. They help with things like logging in and setting your privacy preferences.
",
required: true,
onAccept: function() {
console.log('Add logic for the required Necessary here');
}
},
{
id: "analytics",
name: "Analytics",
description: "
These cookies help us improve the site by tracking which pages are most popular and how visitors move around the site.
",
required: false,
onAccept: function() {
gtag('consent', 'update', {
analytics_storage: 'granted',
});
dataLayer.push({
'event': 'consent_accepted_analytics',
});
},
onReject: function() {
gtag('consent', 'update', {
analytics_storage: 'denied',
});
}
},
{
id: "advertising",
name: "Advertising",
description: "
These cookies provide extra features and personalization to improve your experience. They may be set by us or by partners whose services we use.
",
required: false,
onAccept: function() {
gtag('consent', 'update', {
ad_storage: 'granted',
ad_user_data: 'granted',
ad_personalization: 'granted',
});
dataLayer.push({
'event': 'consent_accepted_advertising',
});
},
onReject: function() {
gtag('consent', 'update', {
ad_storage: 'denied',
ad_user_data: 'denied',
ad_personalization: 'denied',
});
}
}
],
text: {
banner: {
description: "
We use cookies in order to give you the best and most relevant experience possible and to optimize our website functionality. By clicking \"Accept All\", you consent to our use of cookies. Cookie Policy.
",
acceptAllButtonText: "Accept all",
acceptAllButtonAccessibleLabel: "Accept all cookies",
rejectNonEssentialButtonText: "Reject non-essential",
rejectNonEssentialButtonAccessibleLabel: "Reject non-essential",
preferencesButtonText: "Preferences",
preferencesButtonAccessibleLabel: "Toggle preferences"
},
preferences: {
title: "Customize your cookie preferences",
description: "
We respect your right to privacy. You can choose not to allow some types of cookies. Your cookie preferences will apply across our website.
We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.
The cookies that are categorised as \"Necessary\" are stored on your browser as they are essential for enabling the basic functionalities of the site.
",
creditLinkText: "Get this banner for free",
creditLinkAccessibleLabel: "Get this banner for free"
}
}
});