In Einkaufsliste speichern
Eine neue Einkaufsliste erstellen

Smart Thixo

( Anzahl der Produkte: 6 )
`; return template; } this.setConsentMode = () => { const consentModeSnippet = document.querySelector('.google_consent_mode_update'); if (consentModeSnippet) { let adsStorageConsent = 'denied'; let analyticsStorageConsent = 'denied'; if (typeof this.cookieObj['marketing'] === 'boolean') { if (this.cookieObj['marketing'] === true) { adsStorageConsent = 'granted'; } } else { if (this.cookieObj['marketing']['googleads'] === true) { adsStorageConsent = 'granted'; } } if (typeof this.cookieObj['analytics'] === 'boolean') { if (this.cookieObj['analytics'] === true) { analyticsStorageConsent = 'granted'; } } else { if (this.cookieObj['analytics']['googleanalytics'] === true) { analyticsStorageConsent = 'granted'; } } let consentModeUpdate = document.createElement('script'); consentModeUpdate.setAttribute('class', 'google_consent_mode_update'); consentModeUpdate.innerHTML = "gtag('consent', 'update', {\n" + "'ad_storage': '" + adsStorageConsent + "',\n" + "'analytics_storage': '" + analyticsStorageConsent + "'\n" + "});"; consentModeSnippet.insertAdjacentElement('afterend', consentModeUpdate); consentModeSnippet.parentNode.removeChild(consentModeSnippet); } } this.appendToBody = (template) => { document.querySelector('#i13426008c2') == null ? document.querySelector('body').insertAdjacentHTML('beforeend', template) : false; } this.init = () => { if (document.cookie.indexOf('ck_cook') == -1) { that.checkIfAnySelected(that.vars.categories); that.appendToBody(that.createTemplate(that.vars.categories)); that.eventHandlers(); } } return this.init(); } var newIaiCookie = new IaiCookies(); pixel