KLANTENSERVICE

Hoe kunnen we je helpen?

script>         window.addEventListener('load', function() {             let attempts = 0;             let maxAttempts = 50; // 50 × 200ms = 10 seconds             let checkZendesk = setInterval(function() {                 attempts++;                 if (window.zE && typeof window.zE === 'function') {                     clearInterval(checkZendesk);                     // Set conversation field once Zendesk Messenger is ready                     window.zE('messenger:set', 'conversationFields', [                         { id: '31124989832477', value: window.location.href }                     ]);                 }                 if (attempts >= maxAttempts) {                     clearInterval(checkZendesk);                     console.warn('Zendesk Messenger not loaded after 10 seconds');                 }             }, 200);         });