Pagina niet gevonden

Niks aan de hand. Waarschijnlijk bestaat de pagina die je zocht niet meer. Daarom land je op deze pagina. Kijk of je in de navigatie kunt vinden wat je zoekt. Of neem contact met ons op. We helpen je graag verder.

(function () { if (typeof document.querySelectorAll === 'undefined') { return; } window.addEventListener('beforeunload', function (e) { findUnsubmittedForms().forEach(function (it) { window.dataLayer.push({ event: 'formAbandonment', eventCategory: 'Form Abandonment', eventAction: it.history.join(' > '), }); }); }); var history = {}; document.addEventListener('change', function (e) { var target = e.target; if ( target && target.tagName && (target.tagName.toUpperCase() == 'INPUT' || target.tagName.toUpperCase() == 'TEXTAREA' || target.tagName.toUpperCase() == 'SELECT') ) { var readableName = getNiceFieldName(target); var form = target.form; if (form && readableName) { var formName = form.getAttribute('id'); if (typeof history[formName] == 'undefined') { history[formName] = []; } if (history[formName].slice(-1) != readableName) { history[formName].push(readableName); } } } }); function findUnsubmittedForms() { return Object.keys(history) .filter(hasNoFormSubmitEvent(window.dataLayer)) .map(findFormFromHistory) .filter(notEmpty); } function hasNoFormSubmitEvent(dataLayer) { return function (id) { return dataLayer.filter(isFormSubmitEvent).map(getFormName).indexOf(id) == -1; }; } function isFormSubmitEvent(e) { return e.event === 'gtm.formSubmit' && e['gtm.elementUrl'] !== 'https://www.facebook.com/tr/'; } function getFormName(e) { return e['gtm.elementId']; } function findFormFromHistory(id) { return { name: id, history: history[id] || [], }; } function notEmpty(form) { return form.history.length > 0; } function getNiceFieldName(target) { var fieldLabel = findFieldLabel(target); if (fieldLabel) { return fieldLabel; } return findInputName(target); } function findFieldLabel(target) { var inputId = target.getAttribute('id'); var label = document.querySelector('[for="' + inputId + '"]'); if (label) { return label.innerHTML.trim(); } } function findInputName(target) { return target.getAttribute('name'); } })();