Водещи продукти

      Страница 1 от 3
      «1 2 3»
      (function () { if (!/\/checkout\//.test(window.location.pathname)) return; var attempts = 0; var timer = window.setInterval(function () { attempts += 1; if ( window.GdprConsentSettings && Boolean(window.GdprConsentSettings.marketing) && typeof window.fbEvent === 'function' && typeof window.fbq === 'function' ) { var scripts = document.querySelectorAll('script.js-tracking-scripts'); for (var i = 0; i < scripts.length; i += 1) { var code = scripts[i].textContent || ''; if (code.indexOf('InitiateCheckout') !== -1 && code.indexOf('fbEvent') !== -1) { var eventIdMatch = code.match(/eventID\s*:\s*["']([^"']+)/); var eventKey = 'gp-meta-initiate-checkout:' + (eventIdMatch ? eventIdMatch[1] : window.location.href); if (!window.sessionStorage.getItem(eventKey)) { window.sessionStorage.setItem(eventKey, '1'); try { Function(code)(); document.documentElement.setAttribute('data-gp-meta-initiate-checkout', 'sent'); } catch (error) { document.documentElement.setAttribute('data-gp-meta-initiate-checkout', 'error'); window.sessionStorage.removeItem(eventKey); } } else { document.documentElement.setAttribute('data-gp-meta-initiate-checkout', 'already-sent'); } window.clearInterval(timer); return; } } } if (attempts >= 100) window.clearInterval(timer); }, 100); })(); (function () { if (!/\/checkout\//.test(window.location.pathname)) return; var attempts = 0; var timer = window.setInterval(function () { attempts += 1; if ( window.GdprConsentSettings && Boolean(window.GdprConsentSettings.marketing) && typeof window.fbEvent === 'function' && typeof window.fbq === 'function' ) { var scripts = document.querySelectorAll('script.js-tracking-scripts'); for (var i = 0; i < scripts.length; i += 1) { var code = scripts[i].textContent || ''; if (code.indexOf('InitiateCheckout') !== -1 && code.indexOf('fbEvent') !== -1) { var eventIdMatch = code.match(/eventID\s*:\s*["']([^"']+)/); var eventKey = 'gp-meta-initiate-checkout:' + (eventIdMatch ? eventIdMatch[1] : window.location.href); if (!window.sessionStorage.getItem(eventKey)) { window.sessionStorage.setItem(eventKey, '1'); try { Function(code)(); document.documentElement.setAttribute('data-gp-meta-initiate-checkout', 'sent'); } catch (error) { document.documentElement.setAttribute('data-gp-meta-initiate-checkout', 'error'); window.sessionStorage.removeItem(eventKey); } } window.clearInterval(timer); return; } } } if (attempts >= 100) window.clearInterval(timer); }, 100); })(); (function () { if (!/\/checkout\//.test(window.location.pathname)) return; var attempts = 0; var timer = window.setInterval(function () { attempts += 1; if ( window.GdprConsentSettings && window.GdprConsentSettings.marketing === true && typeof window.fbEvent === 'function' && typeof window.fbq === 'function' ) { var scripts = document.querySelectorAll('script.js-tracking-scripts'); for (var i = 0; i < scripts.length; i += 1) { var code = scripts[i].textContent || ''; if (code.indexOf('InitiateCheckout') !== -1 && code.indexOf('fbEvent') !== -1) { var eventIdMatch = code.match(/eventID\s*:\s*["']([^"']+)/); var eventKey = 'gp-meta-initiate-checkout:' + (eventIdMatch ? eventIdMatch[1] : window.location.href); if (!window.sessionStorage.getItem(eventKey)) { window.sessionStorage.setItem(eventKey, '1'); try { Function(code)(); document.documentElement.setAttribute('data-gp-meta-initiate-checkout', 'sent'); } catch (error) { document.documentElement.setAttribute('data-gp-meta-initiate-checkout', 'error'); window.sessionStorage.removeItem(eventKey); } } window.clearInterval(timer); return; } } } if (attempts >= 100) window.clearInterval(timer); }, 100); })(); (function () { if (!/\/checkout\//.test(window.location.pathname)) return; var attempts = 0; var timer = window.setInterval(function () { attempts += 1; if ( window.GdprConsentSettings && window.GdprConsentSettings.marketing === true && typeof window.fbEvent === 'function' && typeof window.fbq === 'function' ) { var scripts = document.querySelectorAll('script.js-tracking-scripts'); for (var i = 0; i < scripts.length; i += 1) { var code = scripts[i].textContent || ''; if (code.indexOf('InitiateCheckout') !== -1 && code.indexOf('fbEvent') !== -1) { var eventIdMatch = code.match(/eventID\s*:\s*["']([^"']+)/); var eventKey = 'gp-meta-initiate-checkout:' + (eventIdMatch ? eventIdMatch[1] : window.location.href); if (!window.sessionStorage.getItem(eventKey)) { window.sessionStorage.setItem(eventKey, '1'); try { Function(code)(); } catch (error) { window.sessionStorage.removeItem(eventKey); } } window.clearInterval(timer); return; } } } if (attempts >= 100) window.clearInterval(timer); }, 100); })();