Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- var privacyEvent = function(event) {
- var privacySettings = instilla.privacy.getPrivacySettings();
- dataLayer.push({
- event: privacySettings.statisticsAndMarketing?"page_view":"privacy_not_accepted",
- statisticsAndMarketingPrivacySettings: privacySettings.statisticsAndMarketing,
- preferencesPrivacySettings: privacySettings.preferences
- });
- }
- instilla.privacy.initialize({
- acceptAllButtonStyle: "color: #ffffff;background: #ff9600!important;border-radius: 30px;font-size: 15px;padding: 12px 24px;font-weight: 600;box-shadow: none;border: none;",
- advancedPrivacySettingsPanelStyle: "color: #fff;",
- bannerOverlay: true,
- bannerWrapperStyle: "font-size: 1.5vh;",
- bannerStyle: "background-color: transparent;box-shadow: none;border: none;text-align: center;padding: 40px 20px;font-size: 16px;",
- cookiePolicyButtonStyle: "background: transparent;border: 1px solid #fff;text-transform: initial;padding: 10px 20px;border-radius: 28px;color: #fff;margin: 10px auto;text-align: center; display: block; margin: 10px auto;",
- cookiePolicyLink: "<<COOKIE-POLICY-PAGE-LINK>>",
- lang: "it-it",
- mandatoryConsent: true,
- showAdvancedPrivacySettings: true,
- showAdvancedPrivacySettingsButtonStyle:"background: transparent;text-transform: initial;padding: 10px 20px;color: #fff;margin: 10px auto;text-align: center;border: none; text-decoration:underline;",
- advancedPrivacySettingsPanelStyle:"background: #fff;box-shadow: none;color: black;line-height: 22px;text-align: left; padding: 25px;",
- advancedPrivacySettingsNoConsentButtonStyle:"font-weight: 400;background: transparent;text-transform: initial;padding: 10px 20px;border-radius: 28px;",
- advancedPrivacySettingsSaveButtonStyle: "font-weight: 400;background: transparent;text-transform: initial;padding: 10px 20px;border-radius: 28px;",
- advancedPrivacySettingsUpdateButtonStyle: "font-weight: 400;background: transparent;text-transform: initial;padding: 10px 20px;border-radius: 28px;",
- }, privacyEvent, privacyEvent);
- </script>
Add Comment
Please, Sign In to add comment