update
This commit is contained in:
@@ -52,7 +52,7 @@ Make your own cookie information popup in minutes.
|
||||
acceptBtnLabel: "Akceptuj", // Accept cookie button text
|
||||
declineInfoBtnLabel: "Dostosuj", // Decline cookie button text
|
||||
acceptBtnSettingsLabel: "Zatwierdź",
|
||||
moreInfoBtnLink: "https://luxmed3.pagedev.pl/wp-content/uploads/2026/04/Obowiazek-informacyjny.pdf", // Learn more link(default: privacy policy page)
|
||||
moreInfoBtnLink: "https://luxmed5.pagedev.pl/wp-content/uploads/2026/04/Obowiazek-informacyjny.pdf", // Learn more link(default: privacy policy page)
|
||||
moreInfoBtnLabel: "Obowiązek informacyjny", // More info link text
|
||||
cookieTypesTitle: "Wybierz pliki cookies do akceptacji", // Title of cookie preference options
|
||||
necessaryCookieTypeLabel: "Wymagane", // Label text of Necessary cookie item
|
||||
@@ -330,6 +330,18 @@ Make your own cookie information popup in minutes.
|
||||
|
||||
try {
|
||||
if(consent === true) {
|
||||
// if functional/preferences is accepted
|
||||
if(preferences.indexOf("preferences") > -1) {
|
||||
gtag('consent', 'update', {
|
||||
'functionality_storage': 'granted',
|
||||
'personalization_storage': 'granted'
|
||||
});
|
||||
} else {
|
||||
gtag('consent', 'update', {
|
||||
'functionality_storage': 'denied',
|
||||
'personalization_storage': 'denied'
|
||||
});
|
||||
}
|
||||
// if analytics is accepted
|
||||
if(preferences.indexOf("analytics") > -1) {
|
||||
if(!googleConsentAnalyticsStorage) {
|
||||
@@ -386,6 +398,8 @@ Make your own cookie information popup in minutes.
|
||||
}
|
||||
}
|
||||
|
||||
const injectScripts = () => {};
|
||||
|
||||
const changeRootVariables = () =>{
|
||||
$(':root').css('--cookieNoticeProLight', config.themeSettings.lightColor);
|
||||
$(':root').css('--cookieNoticeProDark', config.themeSettings.darkColor);
|
||||
|
||||
Reference in New Issue
Block a user