/* Add custom JS code below */ // Save as karzoun.js and include it on every page: // (function () { window.karzounSettings = { apiUrl: 'https://mysleepland.api.karzoun.chat/clientportal', integrationId: '6dQKort0lGLvnaQ5JKNI5', features: { messenger: true, pixel: true, kb: false, forms: false, }, }; function loadKarzoun() { if (document.getElementById('karzoun-pixel')) return; var script = document.createElement('script'); script.id = 'karzoun-pixel'; script.src = 'https://karzoun-pixel.pages.dev/p.js'; script.async = true; script.crossOrigin = 'anonymous'; document.body.appendChild(script); } if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', loadKarzoun); } else { loadKarzoun(); } })();