window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);} gtag("set","linker",{"domains":["oeteldonkonline.shop"]}); gtag("js", new Date()); gtag("set", "developer_id.dZTNiMT", true); gtag("config", "GT-TNFSVJ7"); window._googlesitekit = window._googlesitekit || {}; window._googlesitekit.throttledEvents = []; window._googlesitekit.gtagEvent = (name, data) => { var key = JSON.stringify( { name, data } ); if ( !! window._googlesitekit.throttledEvents[ key ] ) { return; } window._googlesitekit.throttledEvents[ key ] = true; setTimeout( () => { delete window._googlesitekit.throttledEvents[ key ]; }, 5 ); gtag( "event", name, { ...data, event_source: "site-kit" } ); }; //# sourceURL=google_gtagjs-js-after window.__wc_fb_page_generated = 1790775134; !function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n; n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window, document,'script','https://connect.facebook.net/en_US/fbevents.js'); window.FacebookSignals = window.FacebookSignals || { _held: false, _releasing: false, _pixelInitialized: false, _pixelId: null, _pixelUserInfo: {}, _pixelOptions: {}, _pendingPixelEvents: [], _queue: [], _config: {}, _attribution: {}, _seenEventIds: {}, _fbclid: (function() { try { var m = window.location.search.match(/[?&]fbclid=([^&]*)/); return m ? decodeURIComponent(m[1]) : null; } catch(e) { return null; } })(), init: function(config) { config = config || {}; this._config = config; this._attribution = config.attribution || {}; var cookieState = this._getCookie('wc_facebook_signals_state'); this._held = cookieState ? cookieState === 'held' : !!config.held; this._fbclid = this._fbclid || null; if (typeof fbq === 'function') { fbq('consent', this._held ? 'revoke' : 'grant'); } try { var raw = window.sessionStorage.getItem('wc_facebook_signals_seen_event_ids'); this._seenEventIds = raw ? JSON.parse(raw) : {}; } catch (e) { this._seenEventIds = this._seenEventIds || {}; } }, initPixel: function(pixelId, userInfo, options) { this._pixelId = pixelId; this._pixelUserInfo = userInfo && typeof userInfo === 'object' && !Array.isArray(userInfo) ? userInfo : {}; this._pixelOptions = options || {}; if (!this._held) { this._runPixelInit(); } }, _runPixelInit: function() { if (this._pixelInitialized || !this._pixelId || typeof fbq !== 'function') return; fbq('init', this._pixelId, this._pixelUserInfo, this._pixelOptions); this._pixelInitialized = true; this._flushPendingPixelEvents(); }, _flushPendingPixelEvents: function() { var pending = this._pendingPixelEvents; this._pendingPixelEvents = []; for (var i = 0; i < pending.length; i++) { var ev = pending[i]; this._firePixelEvent(ev.name, ev.params, ev.method, ev.eventId); } }, _fireOrQueuePixelEvent: function(name, params, method, eventId) { if (!this._pixelInitialized) { this._pendingPixelEvents.push({ name: name, params: params || {}, method: method || 'track', eventId: eventId || null }); return; } this._firePixelEvent(name, params || {}, method || 'track', eventId || null); }, _firePixelEvent: function(name, params, method, eventId) { method = method || 'track'; if (eventId) { fbq(method, name, params || {}, { eventID: eventId }); } else { fbq(method, name, params || {}); } }, queueEvent: function(eventData) { if (!eventData || !eventData.event_name) return; var originalId = eventData.event_id || null; if (originalId && this._seenEventIds[originalId]) return; if (!this._held) { this._fireOrQueuePixelEvent(eventData.event_name, eventData.custom_data || {}, eventData.method || 'track', originalId); return; } eventData = this._cloneEventData(eventData); eventData.event_id = this._generateEventId(); eventData.event_time = eventData.event_time || Math.floor(Date.now() / 1000); this._queue.push(eventData); var idToMark = originalId || eventData.event_id; if (idToMark) { this._seenEventIds[idToMark] = 1; try { window.sessionStorage.setItem( 'wc_facebook_signals_seen_event_ids', JSON.stringify(this._seenEventIds) ); } catch (e) {} } }, trackEvent: function(name, params, userData, method, eventId) { method = method || 'track'; eventId = eventId || (params && params.eventID) || null; if (this._held) { this.queueEvent({ event_name: name, custom_data: params || {}, event_id: eventId, event_time: Math.floor(Date.now() / 1000), method: method }); } else { this._fireOrQueuePixelEvent(name, params || {}, method, eventId); } }, release: function() { var self = this; if (!self._held || self._releasing || !self._config.ajaxUrl) { return Promise.resolve({ success: true, data: { sent_count: 0 } }); } self._releasing = true; var attribution = self._collectAttribution(); var payload = JSON.stringify({ events: self._queue, attribution: { fbp: attribution.fbp || null, fbc: attribution.fbc || null }, fbclid: self._fbclid || null }); var url = self._config.ajaxUrl + (self._config.ajaxUrl.indexOf('?') === -1 ? '?' : '&') + 'action=' + encodeURIComponent(self._config.action); return new Promise(function(resolve, reject) { var xhr = new XMLHttpRequest(); xhr.open('POST', url, true); xhr.setRequestHeader('Content-Type', 'application/json'); xhr.onload = function() { if (xhr.status >= 200 && xhr.status < 300) { try { var resp = JSON.parse(xhr.responseText); self._handleReleaseResponse(resp.data || {}, attribution); resolve(resp); } catch(e) { self._releasing = false; reject(e); } } else { self._releasing = false; reject(new Error('Signal release AJAX failed: ' + xhr.status)); } }; xhr.onerror = function() { self._releasing = false; reject(new Error('Network error')); }; xhr.send(payload); }); }, _handleReleaseResponse: function(data, attribution) { this._syncAttributionCookies(data || {}, attribution); // Override cached user_info with fresh data from the release response. if (data.user_info && typeof data.user_info === 'object' && !Array.isArray(data.user_info)) { this._pixelUserInfo = data.user_info; } this._held = false; this._releasing = false; fbq('consent', 'grant'); this._runPixelInit(); var queue = this._queue; for (var i = 0; i < queue.length; i++) { var ev = queue[i]; this._fireOrQueuePixelEvent(ev.event_name, ev.custom_data || {}, ev.method || 'track', ev.event_id || null); } this._queue = []; }, _collectAttribution: function() { var clientParams = {}; if (typeof clientParamBuilder !== 'undefined') { try { clientParams = clientParamBuilder.processAndCollectParams(this._getAttributionUrl()) || {}; } catch (e) {} } var fbp = this._getCookie('_fbp') || clientParams._fbp || (typeof clientParamBuilder !== 'undefined' ? clientParamBuilder.getFbp() : null); var fbc = this._getCookie('_fbc') || clientParams._fbc || (typeof clientParamBuilder !== 'undefined' ? clientParamBuilder.getFbc() : null); if (!fbc && this._fbclid) { fbc = 'fb.1.' + Date.now() + '.' + this._fbclid; } return { fbp: fbp || null, fbc: fbc || null }; }, _syncAttributionCookies: function(data, attribution) { var fbp = data.fbp || (attribution && attribution.fbp) || null; var fbc = data.fbc || (attribution && attribution.fbc) || null; if (fbp) { this._setAttributionCookie('_fbp', fbp, data.fbp_domain || null); } if (fbc) { this._setAttributionCookie('_fbc', fbc, data.fbc_domain || null); } }, _setAttributionCookie: function(name, value, domain) { if (!value) return; var domainAttr = domain ? ';domain=' + domain : ''; document.cookie = name + '=' + encodeURIComponent(value) + ';path=/;max-age=7776000' + domainAttr + ';SameSite=Lax'; }, _getCookie: function(name) { var match = document.cookie.match(new RegExp('(?:^|;\\s*)' + name.replace(/[.*+?^${}()|[\]\\]/g, '\\$&') + '=([^;]*)')); if (!match) return null; try { return decodeURIComponent(match[1]); } catch(e) { return null; } }, _cloneEventData: function(eventData) { var clone = {}; for (var key in eventData) { if (Object.prototype.hasOwnProperty.call(eventData, key)) { clone[key] = eventData[key]; } } return clone; }, _generateEventId: function() { if (window.crypto && typeof window.crypto.randomUUID === 'function') { return window.crypto.randomUUID(); } return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { var r = Math.random() * 16 | 0; return (c === 'x' ? r : (r & 0x3 | 0x8)).toString(16); }); }, _getAttributionUrl: function() { if (!this._fbclid) return window.location.href; try { var url = new URL(window.location.href); if (!url.searchParams.get('fbclid')) { url.searchParams.set('fbclid', this._fbclid); } return url.toString(); } catch (e) { return window.location.href; } } }; FacebookSignals.init({ held: false, ajaxUrl: "https:\/\/oeteldonkonline.shop\/wp-admin\/admin-ajax.php", action: 'facebook_release_signals', pixelId: "2952674471628495", attribution: {} }); FacebookSignals.initPixel( "2952674471628495", {}, {"agent":"woocommerce_2-11.1.2-3.7.6"} ); document.addEventListener( 'DOMContentLoaded', function() { document.body.insertAdjacentHTML( 'beforeend', '
' ); }, false );
window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtag( 'consent', 'default', { analytics_storage: 'denied', ad_storage: 'denied', ad_user_data: 'denied', ad_personalization: 'denied', region: ['AT', 'BE', 'BG', 'HR', 'CY', 'CZ', 'DK', 'EE', 'FI', 'FR', 'DE', 'GR', 'HU', 'IS', 'IE', 'IT', 'LV', 'LI', 'LT', 'LU', 'MT', 'NL', 'NO', 'PL', 'PT', 'RO', 'SK', 'SI', 'ES', 'SE', 'GB', 'CH'], wait_for_update: 500, } ); gtag('js', new Date()); gtag('set', 'developer_id.dOGY3NW', true); gtag("config", "AW-11380128397", { "groups": "GLA", "send_page_view": false });
✓ Sinds 2015 jouw Oeteldonk-shop ✓ Nu ook carnavalskleding & accessoires ✓ Veilig betalen via Mollie
/* WooCommerce Facebook Integration Event Tracking */ fbq('set', 'agent', (function(){var a='woocommerce_2-11.1.2-3.7.6';if(window.__wc_fb_page_generated&&(Math.floor(Date.now()/1000)-window.__wc_fb_page_generated)>1800){a=a.replace(/(\d+\.\d+\.\d+)/,'$1_c');}return a;})(), '2952674471628495'); window.wcFacebookPixelFiredEvents = window.wcFacebookPixelFiredEvents || {}; if (!window.wcFacebookPixelFiredEvents["4cd2b139-6c10-4f83-9bf5-9fab467ed1b7"]) { window.wcFacebookPixelFiredEvents["4cd2b139-6c10-4f83-9bf5-9fab467ed1b7"] = true; var isStale = window.__wc_fb_page_generated && (Math.floor(Date.now()/1000) - window.__wc_fb_page_generated) > 1800; if (window.FacebookSignals && typeof window.FacebookSignals.trackEvent === 'function') { window.FacebookSignals.trackEvent('PageView', { "source": "woocommerce_2", "version": "11.1.2", "pluginVersion": "3.7.6" }, null, 'track', isStale ? null : "4cd2b139-6c10-4f83-9bf5-9fab467ed1b7"); } else if (isStale) { fbq('track', 'PageView', { "source": "woocommerce_2", "version": "11.1.2", "pluginVersion": "3.7.6" }); } else { fbq('track', 'PageView', { "source": "woocommerce_2", "version": "11.1.2", "pluginVersion": "3.7.6" }, { "eventID": "4cd2b139-6c10-4f83-9bf5-9fab467ed1b7" }); } } /* WooCommerce Facebook Integration Event Tracking */ fbq('set', 'agent', (function(){var a='woocommerce_2-11.1.2-3.7.6';if(window.__wc_fb_page_generated&&(Math.floor(Date.now()/1000)-window.__wc_fb_page_generated)>1800){a=a.replace(/(\d+\.\d+\.\d+)/,'$1_c');}return a;})(), '2952674471628495'); window.wcFacebookPixelFiredEvents = window.wcFacebookPixelFiredEvents || {}; if (!window.wcFacebookPixelFiredEvents["a488c87e-a7ac-49cf-9e8a-c3a30daa2936"]) { window.wcFacebookPixelFiredEvents["a488c87e-a7ac-49cf-9e8a-c3a30daa2936"] = true; var isStale = window.__wc_fb_page_generated && (Math.floor(Date.now()/1000) - window.__wc_fb_page_generated) > 1800; if (window.FacebookSignals && typeof window.FacebookSignals.trackEvent === 'function') { window.FacebookSignals.trackEvent('ViewCategory', { "source": "woocommerce_2", "version": "11.1.2", "pluginVersion": "3.7.6", "content_name": "Emblemen", "content_category": "Emblemen", "content_ids": "[\"101\",\"19790\",\"1520\",\"106\",\"19228\",\"13249\",\"13393\",\"9895\",\"33\",\"13576\"]", "content_type": "product", "contents": { "0": { "id": "101", "quantity": 1 }, "1": { "id": "19790", "quantity": 1 }, "2": { "id": "1520", "quantity": 1 }, "3": { "id": "106", "quantity": 1 }, "4": { "id": "19228", "quantity": 1 }, "5": { "id": "13249", "quantity": 1 }, "6": { "id": "13393", "quantity": 1 }, "7": { "id": "9895", "quantity": 1 }, "8": { "id": "33", "quantity": 1 }, "9": { "id": "13576", "quantity": 1 }, "10": { "id": "5801", "quantity": 1 }, "11": { "id": "13036", "quantity": 1 }, "12": { "id": "105", "quantity": 1 }, "13": { "id": "1505", "quantity": 1 }, "14": { "id": "18789", "quantity": 1 }, "15": { "id": "20073", "quantity": 1 }, "16": { "id": "14892", "quantity": 1 }, "17": { "id": "99", "quantity": 1 }, "18": { "id": "95", "quantity": 1 }, "19": { "id": "20632", "quantity": 1 }, "20": { "id": "18295", "quantity": 1 }, "21": { "id": "13255", "quantity": 1 }, "22": { "id": "20693", "quantity": 1 }, "23": { "id": "14667", "quantity": 1 }, "24": { "id": "112", "quantity": 1 }, "25": { "id": "23566", "quantity": 1 }, "26": { "id": "17682", "quantity": 1 }, "27": { "id": "17646", "quantity": 1 }, "28": { "id": "11217", "quantity": 1 }, "29": { "id": "14885", "quantity": 1 }, "30": { "id": "17970", "quantity": 1 }, "31": { "id": "13539", "quantity": 1 } } }, null, 'trackCustom', isStale ? null : "a488c87e-a7ac-49cf-9e8a-c3a30daa2936"); } else if (isStale) { fbq('trackCustom', 'ViewCategory', { "source": "woocommerce_2", "version": "11.1.2", "pluginVersion": "3.7.6", "content_name": "Emblemen", "content_category": "Emblemen", "content_ids": "[\"101\",\"19790\",\"1520\",\"106\",\"19228\",\"13249\",\"13393\",\"9895\",\"33\",\"13576\"]", "content_type": "product", "contents": { "0": { "id": "101", "quantity": 1 }, "1": { "id": "19790", "quantity": 1 }, "2": { "id": "1520", "quantity": 1 }, "3": { "id": "106", "quantity": 1 }, "4": { "id": "19228", "quantity": 1 }, "5": { "id": "13249", "quantity": 1 }, "6": { "id": "13393", "quantity": 1 }, "7": { "id": "9895", "quantity": 1 }, "8": { "id": "33", "quantity": 1 }, "9": { "id": "13576", "quantity": 1 }, "10": { "id": "5801", "quantity": 1 }, "11": { "id": "13036", "quantity": 1 }, "12": { "id": "105", "quantity": 1 }, "13": { "id": "1505", "quantity": 1 }, "14": { "id": "18789", "quantity": 1 }, "15": { "id": "20073", "quantity": 1 }, "16": { "id": "14892", "quantity": 1 }, "17": { "id": "99", "quantity": 1 }, "18": { "id": "95", "quantity": 1 }, "19": { "id": "20632", "quantity": 1 }, "20": { "id": "18295", "quantity": 1 }, "21": { "id": "13255", "quantity": 1 }, "22": { "id": "20693", "quantity": 1 }, "23": { "id": "14667", "quantity": 1 }, "24": { "id": "112", "quantity": 1 }, "25": { "id": "23566", "quantity": 1 }, "26": { "id": "17682", "quantity": 1 }, "27": { "id": "17646", "quantity": 1 }, "28": { "id": "11217", "quantity": 1 }, "29": { "id": "14885", "quantity": 1 }, "30": { "id": "17970", "quantity": 1 }, "31": { "id": "13539", "quantity": 1 } } }); } else { fbq('trackCustom', 'ViewCategory', { "source": "woocommerce_2", "version": "11.1.2", "pluginVersion": "3.7.6", "content_name": "Emblemen", "content_category": "Emblemen", "content_ids": "[\"101\",\"19790\",\"1520\",\"106\",\"19228\",\"13249\",\"13393\",\"9895\",\"33\",\"13576\"]", "content_type": "product", "contents": { "0": { "id": "101", "quantity": 1 }, "1": { "id": "19790", "quantity": 1 }, "2": { "id": "1520", "quantity": 1 }, "3": { "id": "106", "quantity": 1 }, "4": { "id": "19228", "quantity": 1 }, "5": { "id": "13249", "quantity": 1 }, "6": { "id": "13393", "quantity": 1 }, "7": { "id": "9895", "quantity": 1 }, "8": { "id": "33", "quantity": 1 }, "9": { "id": "13576", "quantity": 1 }, "10": { "id": "5801", "quantity": 1 }, "11": { "id": "13036", "quantity": 1 }, "12": { "id": "105", "quantity": 1 }, "13": { "id": "1505", "quantity": 1 }, "14": { "id": "18789", "quantity": 1 }, "15": { "id": "20073", "quantity": 1 }, "16": { "id": "14892", "quantity": 1 }, "17": { "id": "99", "quantity": 1 }, "18": { "id": "95", "quantity": 1 }, "19": { "id": "20632", "quantity": 1 }, "20": { "id": "18295", "quantity": 1 }, "21": { "id": "13255", "quantity": 1 }, "22": { "id": "20693", "quantity": 1 }, "23": { "id": "14667", "quantity": 1 }, "24": { "id": "112", "quantity": 1 }, "25": { "id": "23566", "quantity": 1 }, "26": { "id": "17682", "quantity": 1 }, "27": { "id": "17646", "quantity": 1 }, "28": { "id": "11217", "quantity": 1 }, "29": { "id": "14885", "quantity": 1 }, "30": { "id": "17970", "quantity": 1 }, "31": { "id": "13539", "quantity": 1 } } }, { "eventID": "a488c87e-a7ac-49cf-9e8a-c3a30daa2936" }); } } //# sourceURL=facebook-for-woocommerce-inline-js-after