(function() { function bxBootstrap() { var re = /bot|crawl|slurp|spider|mediapartners|headlesschrome|snap-prefetch|remotasks|woorank|uptime\.com|facebookexternalhit|facebookcatalog/i; if (re.test(navigator.userAgent) || navigator.userAgent == '') { return; } if (!(window.bouncex&&bouncex.website)) { var pushedData = []; if(window.bouncex && bouncex.push && bouncex.length){ pushedData = bouncex; } window.bouncex = {}; bouncex.pushedData = pushedData; bouncex.website = {"id":5329,"name":"GUCCI Germany","cookie_name":"bounceClientVisit5329","domain":"gucci.comdede","ct":"fp_local_storage","ally":0,"ei":0,"tcjs":"","cjs":"/* enable.feature.COMPLIANCE_REFACTOR_ENABLED */\n","force_https":false,"waypoints":false,"content_width":900,"gai":"UA-68857426-6","swids":"","sd":0,"ljq":"auto","campaign_id":0,"is_preview":false,"aco":{"first_party_limit":"3500","local_storage":"1"},"cmp":{"gdpr":1,"gmp":0,"whitelist_check":1},"burls":[],"ple":false,"fbe":true,"ffs":"","mas":2,"map":1,"gar":true,"ete":1,"ettm":false,"etjs":"var globalConfig = {\n '4494' : {\n countryCode : 'United States',\n domain : 'https://www.gucci.com/us/en/',\n ajaxUrl: 'https://www.gucci.com/us/en/cart/ajax/add',\n customerCampaign1: 'US_productabandonment-customers-1',\n prospectCampaign1: 'US_productabandonment-prospects-1',\n customerCampaign2: 'US_productabandonment-customers-2',\n prospectCampaign2: 'US_productabandonment-prospects-2'\n\n },\n '4504' : {\n countryCode : 'Canada',\n domain : 'https://www.gucci.com/ca/en/',\n ajaxUrl: 'https://www.gucci.com/ca/en/cart/ajax/add',\n customerCampaign1: 'CA_productabandonment-customers-1',\n prospectCampaign1: 'CA_productabandonment-prospects-1',\n customerCampaign2: 'CA_productabandonment-customers-2',\n prospectCampaign2: 'CA_productabandonment-prospects-2'\n },\n '5329' : {\n countryCode : 'Deutschland',\n domain : 'https://www.gucci.com/de/de/',\n ajaxUrl: 'https://www.gucci.com/de/de/cart/ajax/add',\n customerCampaign1: 'DE_productabandonment-customers-1',\n prospectCampaign1: 'DE_productabandonment-prospects-1',\n customerCampaign2: 'DE_productabandonment-customers-2',\n prospectCampaign2: 'DE_productabandonment-prospects-2',\n countryLang: 'de',\n backorderDate: false,\n cartDelayed: false,\n skuTracking: true\n },\n},\nconfig = globalConfig[bouncex.website.id];\n\n\n// /////////// GUCCI GLOBAL /////////////\nvar SIZE_SELECTOR = '.custom-select.custom-select-size.size-select';\n\n/** ******************************** HELPERS ************************************/\nfunction getUrl(){\n return bouncex.utils.url.allowParams();\n}\n\nfunction isEn(){\n return jQuery('html').attr('lang') === 'de';\n}\n\nfunction isValidGeo(){\n var countrySelector = jQuery('[class*=\"CountrySelectorstyles\"] [variant=\"text-main\"], [class*=\"CountrySelectorstyles\"] + button, [href=\"#header-nav-storelocator\"]').first().text().trim();\n return countrySelector === config.countryCode;\n}\n\nfunction isValidDomain(){\n return getUrl().indexOf(config.domain) > -1;\n}\n\nfunction getItemImage(){\n return jQuery('meta[property=\"og:image\"]').last() ? jQuery('meta[property=\"og:image\"]').last().attr('content').replace('490x490', '700x700') : '';\n}\n\n/** ******************************* ITEM TRACKING *******************************/\nfunction buildItem(){\n var url = getUrl();\n return{\n id: url.split('-').pop(),\n copy: jQuery('h1.product-name.product-detail-product-name').text(),\n category: jQuery('.breadcrumb-item').last().text().trim() || 'Global',\n imageurl: getItemImage(),\n url: url,\n instock: true,\n is_excluded: jQuery('#shopping-bag-cta').length === 0,\n };\n}\n\nfunction trackItem(){\n var item;\n bouncex.et.onTrue(\n function(){\n item = buildItem();\n return item.id && item.imageurl && item.copy;\n },\n function(){\n bouncex.push(['item', item]);\n fireViewItem(item.id);\n trackAddToCart(item.id);\n trackBackorderDateSizeSelection(item.id);\n trackBackorderDateOnLoadOfPdp(item.id);\n trackRecommendations(item.url);\n\n if (config.skuTracking) {\n\t\t\t\tinitializeSkuEvents(item.id);\n\t\t\t}\n },\n 25);\n}\n\nfunction trackRecommendations(itemUrl) {\n if (window.getXgenPredictions) {\n window.getXgenPredictions().then(function(data){\n data.forEach(function(e) {\n var recId = e.id,\n recImg = e.details && e.details.image_url,\n recCopy = e.details && e.details.name,\n recUrl = e.details && e.details.url;\n\n if (recId && recImg && recCopy && recUrl) {\n bouncex.push([\n 'view_recommendation',\n {\n 'rec_id': recId,\n 'rec_img': recImg,\n 'rec_copy': recCopy,\n 'rec_url': recUrl,\n 'item_url': itemUrl\n }\n ]);\n }\n });\n });\n }\n}\n\n\nfunction fireViewItem(itemId) {\n\tvar pushItem = { 'item:id': itemId };\n\n\tif (config.skuTracking) {\n\t\tpushItem['item:itemgroupid'] = itemId;\n\t}\n\tbouncex.push(['view item', pushItem]);\n}\n\n/* ------------------------------ SKU TRACKING ------------------------------ */\n\nfunction getSku(id) {\n\tvar size = jQuery('.sizes option:checked').first().text().replace(/.*?=/, '').replace(/\\|.*$/, '').trim();\n\treturn size && size.toLowerCase().indexOf('select') === -1 ? id + '_' + size : '';\n}\n\nfunction fireSelectSku(id, sku) {\n\tbouncex.push([\n\t\t'select_sku',\n\t\t{\n\t\t\t'item:id': id,\n\t\t\t'item:itemgroupid': id,\n\t\t\t'item:feedid': sku\n\t\t}\n\t]);\n}\n\nfunction initializeSkuEvents(itemId) {\n\tvar lastSkuFired = getSku(itemId),\n\t\tskuId;\n\tif (jQuery('[name=\"size\"].noSizeDropDown').length > 0) {\n\t\tfireSelectSku(itemId, itemId + '_OS');\n return;\n\t}\n\tbouncex.et.on(jQuery(SIZE_SELECTOR), 'change.bxsku', function () {\n\t\tbouncex.et.onTrue(\n\t\t\tfunction () {\n\t\t\t\tskuId = getSku(itemId);\n\t\t\t\treturn skuId && skuId !== lastSkuFired;\n\t\t\t},\n\t\t\tfunction () {\n\t\t\t\tfireSelectSku(itemId, skuId);\n\t\t\t\tlastSkuFired = skuId;\n\t\t\t},\n\t\t\t5\n\t\t);\n\t});\n}\n\n/** **************************** BACKORDER DATE TRACKING ******************************/\n\n\nfunction trackBackorderDateOnLoadOfPdp(itemId){\n if(jQuery('.custom-select.custom-select-size.size-select:visible').length === 0){\n bouncex.et.onTrue(\n function () {\n return jQuery('.shipping-info.hidden-when-minimized .title').text().indexOf('This style is still in production.') > -1;\n },\n function () {\n bouncex.setTimeout2(function(){\n var backorderDate = jQuery('.shipping-info.hidden-when-minimized .subtitle').attr('data-end-date');\n if(backorderDate){\n bouncex.push(['view_date', {\n 'item:id': itemId,\n 'date': backorderDate\n }]);\n }\n }, 1000);\n },\n 100);\n }\n}\n\nfunction trackBackorderDateSizeSelection(itemId){\n bouncex.et.on(jQuery(SIZE_SELECTOR), 'change.bx', function(){\n bouncex.setTimeout2(function(){\n if(jQuery('.shipping-info.hidden-when-minimized .title').text().indexOf('This style is still in production.') > -1){\n var backorderDate = jQuery('.shipping-info.hidden-when-minimized .subtitle').attr('data-end-date');\n if(backorderDate){\n bouncex.push(['view_date', {\n 'item:id': itemId,\n 'date': backorderDate\n }]);\n }\n }\n }, 1000);\n });\n}\n\n/** **************************** CART TRACKING ******************************/\n\n\nfunction trackAddToCart(itemId) {\n bouncex.et.on(jQuery(document), 'ajaxComplete', function(e, xhr, settings) {\n if (settings.url.indexOf('cart/ajax/add') > -1 &&\n settings.type === 'POST' &&\n xhr.status === 200\n ) {\n var replenItem = {\n 'sku': settings.data.split('sku=')[1].split('&')[0],\n 'personalized': settings.data.split('personalized=')[1].split('&')[0],\n 'monogramStyle': settings.data.split('monogramStyle=')[1].split('&')[0],\n 'monogram': settings.data.split('monogram=')[1].split('&')[0],\n 'position' : settings.data.split('position=')[1].split('&')[0],\n 'listName': settings.data.split('listName=')[1].split('&')[0],\n 'categoryPath' : settings.data.split('categoryPath=')[1].split('&')[0],\n 'styleId': settings.data.split('styleId=')[1].split('&')[0],\n 'CSRFToken': settings.data.split('CSRFToken=')[1].split('&')[0],\n 'size': settings.data.split('size=')[1],\n };\n bouncex.setTimeout2(function(){\n if(itemId) {\n bouncex.push(['add to cart',{\n 'item:id': itemId,\n 'cart:item': JSON.stringify(replenItem)\n }]);\n }\n }, 2000);\n }\n });\n}\n\nfunction replenish(cart) {\n bouncex.setTimeout2(function() {\n if (!bouncex.vars.cart_replen) {\n var $deferreds = [];\n cart.items.forEach(function(item) {\n $deferreds.push(makeReplenItem(item));\n });\n $deferreds.reduce(function(promise, func) {\n return promise.then(function() {\n return func();\n });\n }, jQuery.Deferred().resolve([])).then(replenComplete);\n }\n }, 3000);\n}\n\nfunction makeReplenItem(data) {\n var csrfToken = jQuery('input[name=\"CSRFToken\"]').attr('value');\n\n return function() {\n return jQuery.ajax({\n type: 'POST',\n url: config.ajaxUrl,\n data: 'sku=' + data.sku + '&personalized=' + data.personalized + '&monogramStyle=' + data.monogramStyle + '&monogram=' + data.monogram + '&size=' + data.size + '&listName=' + data.listName + '&categoryPath=' + data.categoryPath + '&styleId=' + data.styleId + '&CSRFToken=' + csrfToken + '&position=' + data.position\n });\n };\n}\n\nfunction initCartTracking(){\n bouncex.et.cart.init({\n storeValues: [],\n replenish: replenish,\n replenishmentType: 'ajax'\n });\n}\n\nfunction replenComplete() {\n window.location.href = window.location.origin + window.location.pathname + '?bx_replen=true';\n bouncex.setVarAndReload('cart_replen', true);\n}\n\n/** ***************************** EMPTY CART TRACKING ********************************/\n\nfunction trackEmptyCart() {\n if (jQuery('p.hero-message').text() === 'Warenkorb ist noch leer.') {\n bouncex.push(['empty_cart', {}]);\n }\n}\n\n/** ***************************** USER TRACKING ********************************/\n\nfunction trackLoggedInUser(){\n if (!bouncex.vars.logged_in || !!bouncex.vars.logged_in_identified) {\n return;\n }\n\n var userEmail;\n\n bouncex.et.onTrue(\n function () {\n userEmail = bouncex.utils.getNestedProp('LiveChatNamespace.uid');\n return bouncex.utils.validate.email(userEmail);\n },\n function () {\n bouncex.push([\n 'user',\n {\n 'email': userEmail,\n 'source': 'LoggedIn'\n }\n ]);\n bouncex.setVar('logged_in_identified', true);\n },\n 5\n );\n}\n\n/** **************************** TRACK CART DELAYED ******************************/\n\nfunction trackCartDelayed(){\n var url = bouncex.utils.url.allowParams('utm_campaign');\n if(url.indexOf(config.customerCampaign1) > -1 || url.indexOf(config.prospectCampaign1) > -1 || url.indexOf(config.customerCampaign2) > -1 || url.indexOf(config.prospectCampaign2) > -1){\n bouncex.push(['clicked_product', {}]);\n }\n}\n\n/** **************************** INITIALIZE EVENTS ******************************/\n\nif(isValidDomain() && isEn() || isValidGeo()){\n initCartTracking();\n trackLoggedInUser();\n trackCartDelayed();\n switch(bouncex.website.pts){\n case 'product':\n trackItem();\n break;\n case 'cart':\n trackEmptyCart();\n break;\n default:\n break;\n }\n}\n","dge":true,"bxidLoadFirst":false,"pie":true,"cme":true,"gbi_enabled":0,"bpush":false,"pt":{"cart":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('body.template-pages-GucciCartPageTemplate').length === 1;"}]]},"category":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('.product-tiles-grid, .capsule-products-grid, .pageType-CategoryPage, .pageType-CapsulePage, body.template-pages-look-shopLookPage').length > 0;"}]]},"checkout":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/checkout"}]]},"home":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"window.location.pathname === '/de/de/';"}],[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/de/de/"}]]},"product":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('body.pageType-ProductPage').length === 1;"}]]},"search":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('body.template-pages-search-newSearchGridPage').length === 1;"}]]}},"els":{"blank_site_element":""},"vars":[{"name":"logged_in","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"(function(){\n var email = bouncex.utils.getNestedProp('LiveChatNamespace.uid') || jQuery('.email').first().text().trim(),\n loginCta = jQuery('a[href*=\"/signIn\"]').first();\n\n if (loginCta.length > 0) {\n return false;\n } else if (bouncex.website.pts === 'checkout') { \n /* user can enter an email during checkout, but it's not a true login. */\n return bouncex.utils.validate.email(email) || null;\n }\n\n return jQuery('body[data-is-user-logged]').attr('data-is-user-logged') === 'true' ? true : bouncex.utils.validate.email(email);\n})();","trigger":""},{"name":"ever_logged_in","polling":"all","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"bouncex.vars.logged_in || null;","trigger":""},{"name":"cart_qty","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"0","code":"(function() {\n var $miniCartIcon = jQuery('[aria-controls=\"minicart-flyout-container\"]'),\n $cartCounter = jQuery('[data-testid=\"cart-counter\"]');\n\n if ($miniCartIcon.length > 0 && $cartCounter.length === 0 || bouncex.website.pts === 'cart' && jQuery('.hero-shopping-bag-empty-content-wrapper').length > 0) {\n return 0;\n }\n if (jQuery('[data-testid=\"cart\"], .order-details-bag-count').length === 0) {\n return null;\n }\n return Number(jQuery('[data-testid=\"cart-counter\"], .order-details-bag-count').first().text().replace(/[^0-9.]/g, '')) || null;\n})();","trigger":""},{"name":"cart_value","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"0","code":"(function() {\n var $miniCartIcon = jQuery('[aria-controls=\"minicart-flyout-container\"]'),\n $cartCounter = jQuery('[data-testid=\"cart-counter\"]');\n\n if ($miniCartIcon.length > 0 && $cartCounter.length === 0 || bouncex.website.pts === 'cart' && jQuery('.hero-shopping-bag-empty-content-wrapper').length > 0) {\n return 0;\n } \n\n if (jQuery('[data-testid=\"cart\"], .order-details-bag-count').length === 0) {\n return null;\n }\n\n var $miniItems = jQuery('.header-nav-bag-item-link'),\n tval = 0;\n\n $miniItems.each(function (i, e) {\n var $el = jQuery(e),\n qty = ($el.find('li:contains(Anzahl)').text() || '').replace(/[^0-9]/g, ''),\n val = ($el.find('span.header-price').text() || '').replace(/\\./g, '').replace(',', '.').replace(/[^0-9.]/g, '');\n tval += (val * qty);\n });\n\n return tval || null;\n})();","trigger":""},{"name":"prod_price","polling":"all","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"jQuery('#markedDown_full_Price').text().replace('.', '').replace(',', '.').replace(/[^0-9.]/g, '');","trigger":""},{"name":"prod_name","polling":"all","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"jQuery('.product-detail-product-name').eq(0).text().trim();","trigger":""},{"name":"in_stock","polling":"all","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"jQuery('#shopping-bag-cta:visible').length > 0;","trigger":""},{"name":"submitted_onsite","polling":"all","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"jQuery('[data-testid=\"toast-message\"]').first().text().indexOf('Sie sind nun für den Gucci Newsletter angemeldet als') > -1 || null;","trigger":""},{"name":"page_url","polling":"none","persist":"no","page_types":["category","search"],"testmode":true,"default":"false","code":"","trigger":""},{"name":"cart_token","polling":"none","persist":"no","page_types":[],"testmode":true,"default":"false","code":"null;","trigger":"pageload"},{"name":"cart_items","polling":"none","persist":"no","page_types":[],"testmode":true,"default":"false","code":"null;","trigger":"pageload"},{"name":"cart","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"cookie_modal_present","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('#onetrust-banner-sdk:visible').length > 0;","trigger":"pageload"},{"name":"page_type","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"bouncex.website.pts;","trigger":"pageload"},{"name":"logged_in_identified","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"cart_replen","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"product_title_present","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery(\".bx-creative\").not('[id*=\"clone\"]').find(\".bx-active-step .bx-row div:contains('Product Title')\").length > 0;","trigger":"pageload"},{"name":"modal_visible","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('.overlay-content, .ReactModal__Content, .zoom-container, .installment-overlay-content, .mmenu-item, .SearchForm_mobileScreen, .inside_chatPane').filter(':visible').length > 0;","trigger":"pageload"},{"name":"tracked_cart_images","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"(function(){\n var $cartItems = jQuery('.baglist-item-selected-column-wrapper img').length > 0 ? jQuery('.baglist-item-selected-column-wrapper img') : jQuery('.header-nav-bag-item img:not(\"._hover\")'),\n \timages = [];\n\n switch (true){\n\t\tcase $cartItems.length > 0:\n\t $cartItems.each(function(ind, img){\n\t images.push(jQuery(img).attr('src'));\n\t });\n\t return images.join(' ');\n\t\tcase bouncex.website.pts === 'cart' && Number(jQuery('.order-details-bag-count, .shopping-bag-product-count').eq(0).text().replace(/[^0-9.]/g,'')) === 0:\n\t\t\treturn false;\n\t\tdefault:\n\t\t\treturn null;\n\t}\n})();","trigger":"pageload"}],"dgu":"pixel.cdnwidget.com","dgp":false,"ba":{"enabled":0,"fbte":0},"biu":"assets.bounceexchange.com","bau":"api.bounceexchange.com","beu":"events.bouncex.net","ibx":{"tjs":"","cjs":"","miw":0,"mibcx":1,"te":1,"cart_rep":{"get":"","set":""},"ulpj":{"et_rid":"espemailid"},"cus":"","miw_exclude":"","enabled":1},"etjson":null,"osre":true,"osru":"osr.bounceexchange.com/v1/osr/items","checkDfp":false,"gamNetwork":"","spa":1,"spatm":0,"preinit_cjs":"SinglePageApp.setCustomParams({\n shouldCheckSpa: function() {\n return document.querySelectorAll('body.pageType-ProductPage').length === 1;\n }\n});\n\nSinglePageApp.setCustomParams({\n currentPageIdentifier: function() {\n return window.location.pathname;\n }\n});","crs":{"integrations":null,"pageCount":null},"mat":0,"math":0,"cpnu":"coupons.bounceexchange.com","dfpcms":0,"sms":{"optm":"","eventSharing":false,"shqId":"","enabled":0},"pde":true,"fmc":["DE"],"fme":true,"fmx":"","uid2":false,"sdk":{"android":{"enabled":false,"enabledVersions":[],"eventModifications":null},"ios":{"enabled":false,"enabledVersions":[],"eventModifications":null}},"onsite":{"enabled":1},"ads":{"enabled":0},"pubs":{"enabled":0},"websdk":{"enabled":0,"devMode":0},"ga4_property_id":"375855987","ga4_measurement_id":"G-JFGSJ64GT3","tag_state_domain":"api.bounceexchange.com"} ; bouncex.tag = 'tag3'; bouncex.$ = window.jQuery; bouncex.env = 'production'; bouncex.restrictedTlds = {"casl":{"ca":1},"gdpr":{"ad":1,"al":1,"at":1,"ax":1,"ba":1,"be":1,"bg":1,"by":1,"xn--90ais":1,"ch":1,"cy":1,"cz":1,"de":1,"dk":1,"ee":1,"es":1,"eu":1,"fi":1,"fo":1,"fr":1,"uk":1,"gb":1,"gg":1,"gi":1,"gr":1,"hr":1,"hu":1,"ie":1,"im":1,"is":1,"it":1,"je":1,"li":1,"lt":1,"lu":1,"lv":1,"mc":1,"md":1,"me":1,"mk":1,"xn--d1al":1,"mt":1,"nl":1,"no":1,"pl":1,"pt":1,"ro":1,"rs":1,"xn--90a3ac":1,"ru":1,"su":1,"xn--p1ai":1,"se":1,"si":1,"sj":1,"sk":1,"sm":1,"ua":1,"xn--j1amh":1,"va":1,"tr":1}}; bouncex.client = { supportsBrotli: 1 }; bouncex.assets = {"ads":"5de2fc2e3ea08c50e42d129f0eabf3b3","creativesBaseStyles":"a53944a2","gpsAuction":"bbb80866120d17013073bb6d284cbd6b","inbox":"75060a85c1a4aebcc6f779b9e84db722","onsite":"5ffe497eb8892ba3873dbf1848c65a0c","sms":"e39203556bab2366e56296ce42e974a7","websdk":"483170aad0127f060eef9a1ad6831b1e"}; bouncex.push = function(pushData) { bouncex.pushedData.push(pushData); } var runtime = document.createElement('script'); runtime.setAttribute('src', '//assets.bounceexchange.com/assets/smart-tag/versioned/runtime_c81e76ee00d795b1eebf8d27949f8dc5.br.js'); runtime.setAttribute('async', 'async'); bouncex.initializeTag = function() { var script = document.createElement('script'); script.setAttribute('src', '//assets.bounceexchange.com/assets/smart-tag/versioned/main-v2_24907a024a185621f4d6dc7898ebd7b7.br.js'); script.setAttribute('async', 'async'); document.body.appendChild(script); var deviceGraphScript = document.createElement('script'); deviceGraphScript.setAttribute('src', '//assets.bounceexchange.com/assets/smart-tag/versioned/cjs_min_6ef1802500d8367a80105e664862d0d7.js'); deviceGraphScript.setAttribute('async', 'async'); var dgAttrs = [{"Key":"id","Value":"c.js"},{"Key":"async","Value":"true"},{"Key":"data-apikey","Value":"2^HIykD"},{"Key":"data-cb","Value":"bouncex.dg.initPostDeviceGraph"},{"Key":"data-bx","Value":"1"},{"Key":"data-gm","Value":"1"},{"Key":"data-fire","Value":"1"}]; if (dgAttrs) { for (var i = 0; i < dgAttrs.length; i++) { deviceGraphScript.setAttribute(dgAttrs[i].Key, dgAttrs[i].Value); } } document.body.appendChild(deviceGraphScript); bouncex.initializeTag = function() {}; }; runtime.onload = bouncex.initializeTag; document.body.appendChild(runtime); } } if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", bxBootstrap); } else { bxBootstrap(); }})();