(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":2637,"name":"Vince Camuto","cookie_name":"bounceClientVisit2637","domain":"vincecamuto.com","ct":"fp_local_storage","ally":0,"ei":0,"tcjs":"","cjs":"jQuery(document).on('ajaxComplete', function(e,x,s) {\n if (x.url === '/cart/change.js' && x.type === 'POST' && s.status === 200 && typeof s.responseText === 'string') {\n var data = bouncex.parseJSON(s.responseText);\n if (bouncex.vars.cart_qty !== 0 && data.items.length === 0) {\n bouncex.setv('cart_qty',0);\n bouncex.setBounceCookie();\n bouncex.reload_campaigns();\n }\n }\n});\n\n/* enable.feature.DISABLE_RELOAD_CAMPAIGNS_V2 */","force_https":false,"waypoints":false,"content_width":0,"gai":"UA-11668823-1","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":0},"burls":[],"ple":false,"fbe":true,"ffs":"","mas":2,"map":1,"gar":true,"ete":1,"ettm":false,"etjs":"/* -------------------- REPLATFORM AUG 2020 --------------- */\n\nfunction isEn() {\n var lang = bouncex.html.attr('lang') || '';\n\n return /^en/.test(lang);\n}\n\nsetTimeout(function() {\n\tif (bouncex.vars.valid_domain && isEn()) {\n\t\tbouncex.log('Running Tracking on', getPageType());\n\t\tinitTracking();\n\t\tinitializeUserTracking();\n\t}\n}, 1500);\n\n\nfunction initTracking() {\n\tvar pageType = getPageType();\n \n trackATCModal();\n trackNotifyMe();\n\ttrackCartItemImages();\n\n\tif (pageType === 'product'){\n\t\tbouncex.et.onTrue(itemLoaded, trackItem, 15);\n\t}\n\tif (pageType === 'category' || pageType === 'search'){\n\t\tbouncex.et.onTrue(categoryLoaded, trackCategory, 15);\n\t}\n\tif (pageType === 'home'){\n\t\tbouncex.et.onTrue(categoryLoaded, trackQV, 15);\n\t}\n}\n\n// custom functionilty needed for updating cart_item_images RTV\n// which is used in cart recovery onsite experiences\nfunction trackCartItemImages() {\n\tvar imagesArr = bouncex.vars.cart_item_images && bouncex.vars.cart_item_images.split(',') || [],\n\t\titemImage;\n\n\tbouncex.et.onVisible('.atb-confirm img', function(){\n\t\titemImage = bouncex.utils.url.allowParams('', jQuery('.atb-confirm img').attr('src') || '');\n\t\t\n\t\tif(itemImage) {\n\t\t\timagesArr.push(itemImage);\n\t\t\tbouncex.setVarAndReload('cart_item_images', imagesArr.join(', '));\n\t\t}\n\t});\n}\n\n/* ------------ITEM TRACKING ----------*/\nfunction getPageType() {\n return bouncex.website.pts;\n}\n\nfunction itemLoaded() {\n\tvar itemId = getItemId();\n\n\treturn itemId && /^\\d+$/.test(itemId) && getItemImage();\n}\n\nfunction getItemId() {\n return window.location.pathname.split('/').pop();\n}\n\nfunction getItemIdFromModal(){\n\tvar hrefLink = jQuery('.quick-add-modal__attributes__options a[href*=\"product\"]:first');\n\tif(hrefLink.length > 0 && hrefLink.attr('href')){\n\t\treturn bouncex.utils.url.allowParams('', hrefLink.attr('href').split('/').pop());\n\t}\n\treturn false;\n}\n\nfunction getItemImage() {\n\tvar mensMobilePdpImage = jQuery('.product-image').first().attr('src') || jQuery('#pdp-images img').first().attr('src'),\n pdpImage = bouncex.utils.url.allowParams('', mensMobilePdpImage) || jQuery('meta[itemprop=\"image\"]').attr('content');\n\n /* meta content and image sources preload with the PDP URL before updated to an image URL, so need to check that it's the image URL before getting the item metadata */\n return pdpImage && pdpImage.indexOf('/image') > -1 ? pdpImage : '';\n}\n\nfunction trackItem(){\n\tvar item = getItem();\n\tbouncex.push(['item', item]);\n\tviewItem(item.id);\n\ttrackSelectSku(item.id);\n}\n\nfunction getItem() {\n\treturn {\n\t\tid : getItemId(),\n\t\tcopy: bouncex.vars.prod_name,\n\t\tcategory : getItemCategory(),\n\t\turl : getItemUrl(),\n\t\timageurl : getItemImage(),\n\t\tinstock : bouncex.vars.in_stock || (jQuery('[itemprop=\"availability\"]').attr('content') || '').toLowerCase() === 'instock',\n\t};\n}\n\nfunction getItemCategory() {\n\treturn jQuery('#product-name').text().split(' ').pop() || 'Products';\n}\n\nfunction getItemUrl() {\n\treturn jQuery('meta#ogImage').attr('content') || jQuery('#canonicalUrl').attr('href') || bouncex.utils.url.allowParams();\n}\n\nfunction viewItem(itemId){\t\n\tbouncex.push(['view item', {\n\t\t'item:id': itemId,\n\t\t'item:itemgroupid': itemId\n\t}]); \n}\n\nfunction trackSelectSku(itemId) {\n\tbouncex.et.onVarChange('sku', function(prevSku, newSku){\n\t\tif (itemId && newSku && bouncex.vars.last_selected_sku.toString() !== newSku.toString()) {\n\t\t\tbouncex.push(['select_sku', {\n\t\t\t\t'item:id': itemId,\n\t\t\t\t'item:itemgroupid': itemId,\n\t\t\t\t'item:feedid': newSku\n\t\t\t}]);\n\t\t\tbouncex.setVarAndReload('last_selected_sku', newSku.toString());\n\t\t}\n\t});\n}\n\n/* ------------- CATEGORY TRACKING ------------*/\nfunction categoryLoaded() {\n\treturn getCategoryIds().length > 0;\n}\n\nfunction getCategoryIds() {\n var ids = [],\n tileSelector = '.quick-add';\n\n jQuery(tileSelector).each(function () {\n var id = jQuery(this).attr('id');\n\n if (id) {\n var numericId = id.replace('quick-add-', '');\n if (numericId && ids.indexOf(numericId) < 0) {\n ids.push(numericId);\n }\n }\n });\n\n return ids.join(',');\n}\n\n// function getCategoryIds() {\n// \tvar ids = [],\n// \t\t$tiles = jQuery('a[role=\"link\"][href*=\"/product\"]'),\n// \t\ti = 0,\n// \t\tid = '';\n\n// \tfor (i; i < $tiles.length; i++) {\n// \t var url = $tiles.eq(i).attr('href') || '',\n// cleanUrl = bouncex.utils.url.allowParams([], url);\n// \t\tid = cleanUrl.replace(/[^0-9]/g, '');\n// \t\tif (!id || ids.indexOf(id) > -1) {\n// \t\t\tcontinue;\n// \t\t}\n// \t\tids[ids.length] = id;\n// \t}\n\n// \treturn ids.join(',');\n// }\n\nfunction trackCategory(){\n\tvar categoryObj = getCategoryObj();\n\tif (categoryObj['items:ids'].length){\n\t\tbouncex.push(['view category', categoryObj]);\n\t}\n\ttrackQV();\n}\n\nfunction getCategoryObj(){\n\treturn {\n\t\t'page:url': bouncex.utils.url.allowParams(),\n\t\t'items:ids': getCategoryIds()\n\t};\n}\n\nfunction trackQV() {\n\tbouncex.et.onVisible('.quick-add-modal__attributes', function(el){\n\t\tvar qv_id = getItemIdFromQuickview(el);\n\n\t\tviewItem(qv_id);\n\t\ttrackSelectSku(qv_id);\n\t});\n}\n\nfunction getItemIdFromQuickview(el) {\n var url = jQuery(el).find('a:contains(Full Details)').attr('href');\n return url.split('?')[0].split('/').pop();\n}\n\n/* |----------- CART INIT AND REPLENISHMENT ----------------| */\nbouncex.et.cart.init({\n\tcartCountVariable: 'cart_qty',\n\tstoreValues: [],\n\treplenishmentType: 'single', \n\treplenish: {}\n});\n\nfunction trackATCModal (){\n bouncex.et.onVisible('[aria-label=\"Item added to bag\"]', function(el){\n var id = getIdFromImageSrc(jQuery(el).find('.product__image img').attr('src') || '');\n fireATC(id);\n });\n}\n\nfunction trackNotifyMe(){\n\t bouncex.et.onVisible('#notify-me-dialog', function (e) {\n \tjQuery('#notify-me-dialog form').off('submit.bx').on('submit.bx', function(){\n\t \tbouncex.push(['notify_me', {\n\t itemid: getItemIdFromModal() || getItemId()\n\t }]);\n\t })\n });\n}\n\nfunction getIdFromImageSrc(url) {\n var endOfPath = url.split('?')[0].split('/').pop();\n\n return endOfPath.split('_')[0] || '';\n}\n\nfunction fireATC(itemId) {\n\tbouncex.push(['add to cart', {'item:id':itemId}]);\n\tbouncex.setv('cart_set', true);\n}\n\nbouncex.et.onVarChange('cart_qty', trackEmptyCart);\nfunction trackEmptyCart(){\n\tif (bouncex.vars.cart_set === true && bouncex.vars.cart_qty === 0) {\n\t\tbouncex.push(['empty_cart', {}]);\n\t\tbouncex.setv('cart_set', false);\n\t}\n}\n\n/* ------------------------------ USER TRACKING ----------------------------- */\n\nfunction initializeUserTracking() {\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('insider_object.user.email');\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","dge":true,"bxidLoadFirst":false,"pie":true,"cme":true,"gbi_enabled":0,"bpush":false,"pt":{"cart":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/shopping-bag"}]]},"category":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/category/"},{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/brands/"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"qa1."}]]},"checkout":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/shipping"},{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/billing"},{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/checkout"},{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('app-checkout').length > 0"}]]},"home":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"['/','/home','/homepage'].indexOf(window.location.pathname) > -1 ;"}]]},"product":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/product/"}]]},"search":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/search"},{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/catalogsearch/"},{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/browse/"}]]}},"els":{"PDP_AddToCartButton":"#add-to-bag-button","afterpay_pdp_message":"#afterpay-pdp-message","result_list":".result-list__tiles:eq(3)"},"vars":[{"name":"logged_in","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function(){\n if(bouncex.website.pts === \"checkout\"){\n return jQuery('.checkout-contact-info__account-created-signed-in:visible').length > 0\n }\n return jQuery('#account-nav-menu-icon .header__flex-container__icon__label').text().trim() != \"Sign in\"\n})()","trigger":""},{"name":"logged_in_test","polling":"all","persist":"visit","page_types":[],"testmode":true,"default":"false","code":"(function() {\n var checkoutLoggedIn = window.checkoutConfig && window.checkoutConfig.isCustomerLoggedIn;\n if (jQuery('#store\\\\.links').children().length > 0) {\n return jQuery('.authorization-link').length > 1;\n } else if (/\\/checkout\\//.test(window.location.pathname) && checkoutLoggedIn) {\n return checkoutLoggedIn;\n } else if (jQuery('#store\\\\.links').length > 0) {\n return null;\n } else {\n return jQuery('.header-account-myAccount').length > 0;\n }\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":"no","page_types":[],"testmode":false,"default":"0","code":"jQuery('.header__flex-container__icon__bag-count').text().trim().replace(/\\D/g, '') || 0;","trigger":""},{"name":"prod_price","polling":"none","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"jQuery('#price').text().replace(/[^0-9.]/g, '')","trigger":""},{"name":"prod_name","polling":"vars","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('#product-name').length && jQuery('#product-name').text().trim() || false;","trigger":""},{"name":"in_stock","polling":"all","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"jQuery('#add-to-bag-button:enabled').length > 0;","trigger":""},{"name":"clearance","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('.product-info-price .old-price').length > 0 || jQuery('.t-product-detail__sale').text().toLowerCase().indexOf('clearance') > -1 || jQuery('.product-tabs').text().toLowerCase().indexOf('clearance') > -1;","trigger":""},{"name":"pagetype","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"bouncex.website.pts","trigger":""},{"name":"category","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function() {\n if (bouncex.website.pts === 'category') {\n if(jQuery('#mainContainer h1').length > 0){\n return jQuery('#mainContainer h1').text().trim();\n }\n var pageLink = jQuery('link[rel=\"canonical\"]').attr('href');\n if (pageLink.indexOf('view-all') === -1) {\n return jQuery('#page-title-heading')\n .text()\n .replace(/[^a-zA-Z 0-9]+/g, '')\n .trim().toLowerCase();\n }\n return pageLink.split('/').slice(-2)[0];\n }\n})();","trigger":""},{"name":"imageurl","polling":"all","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"(function(){\n if (bouncex.vars.pagetype == 'product') {\n return jQuery('#pdp-images-desktop img:first').length > 0 ? jQuery('#pdp-images-desktop img:first').attr('src').split('?')[0] : false\n }\n}());","trigger":""},{"name":"cart","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"logged_in_replen","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":""},{"name":"submitted_email","polling":"all","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"jQuery('form[name=emailForm] span.success').is(':visible') || null;","trigger":""},{"name":"cart_plurality","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"(function() {\n var cartQty = bouncex.vars.cart_qty;\n if (cartQty > 1) { return 'items'; }\n if (cartQty === 1) { return 'item'; }\n return false;\n})();","trigger":""},{"name":"cart_plurality_qualify","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"(function() {\n var cartQty = bouncex.vars.cart_qty;\n if (cartQty > 1) { return 'qualify'; }\n if (cartQty === 1) { return 'qualifies'; }\n return false;\n})();","trigger":""},{"name":"cart_plurality_is","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"(function() {\n var cartQty = bouncex.vars.cart_qty;\n if (cartQty > 1) { return 'are'; }\n if (cartQty === 1) { return 'is'; }\n return false;\n})();","trigger":""},{"name":"product_option_complete","polling":"all","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"(function(){\n var lists = jQuery('section.component-padding');\n\treturn lists.length === lists.find('.selected').length;\n})();","trigger":""},{"name":"cart_value","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"0","code":"(function() {\n if (bouncex.website.pts === \"cart\") {\n if (jQuery('.checkout-bag-empty').length > 0) {\n return 0;\n }\n return Number(jQuery('.mini-cart-subtotals .value, #order-summary-subtotal').first().text().replace(/[^0-9.]/g, '')) || null;\n }\n if (jQuery('#atb-review-and-checkout-button:visible').length > 0) {\n return Number(jQuery('#atb-review-and-checkout-button').first().text().replace(/[^0-9.]/g, ''));\n }\n return null;\n})();","trigger":"pageload"},{"name":"valid_domain","polling":"vars","persist":"no","page_types":[],"testmode":false,"default":"false","code":"window.location.hostname === \"www.vincecamuto.com\" || window.location.hostname === \"http://www.vincecamuto.com\";","trigger":"pageload"},{"name":"item_category","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function(){\n\tif (bouncex.website.pts === 'product') {\n\t return \"Products\"\n\t} \n})();","trigger":"pageload"},{"name":"replenishing","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"true","code":"null;","trigger":"pageload"},{"name":"last_selected_sku","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"cart_set","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"sku","polling":"vars","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"jQuery('#pdp-selected-sku').text().trim();","trigger":"pageload"},{"name":"logged_in_identified","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"profile_id","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"bouncex.utils.getNestedProp('uid_object.profileId');","trigger":"pageload"},{"name":"cookie_modal_visible","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('#onetrust-banner-sdk:visible').length > 0","trigger":"pageload"},{"name":"cart_item_images","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"(function(){\n if(bouncex.website.pts === 'cart') {\n if (jQuery('.checkout-bag-empty').length > 0) {\n return false;\n }\n\n var $itemImages = jQuery('.product-module__details__info__image__picture img'),\n imagesArr = [],\n image;\n\n if(!$itemImages.length) {\n return null;\n }\n\n for (var i = 0; i < $itemImages.length; i++) {\n image = bouncex.utils.url.allowParams('', $itemImages.eq(i).attr('src'));\n\n if (i < 3) {\n imagesArr.push(image);\n }\n }\n\n return imagesArr.join(', ') || false;\n }\n\n return null;\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":1,"mibcx":1,"te":1,"cart_rep":{"get":"","set":""},"ulpj":{"bxid":"espemailid"},"cus":"","miw_exclude":"#giftcard_recipient_email","enabled":1},"etjson":null,"osre":true,"osru":"osr.bounceexchange.com/v1/osr/items","checkDfp":false,"gamNetwork":"","spa":1,"spatm":0,"preinit_cjs":"","crs":{"integrations":null,"pageCount":null},"mat":0,"math":0,"cpnu":"coupons.bounceexchange.com","dfpcms":0,"sms":{"optm":"","eventSharing":false,"shqId":"","enabled":1},"pde":true,"fmc":["US","CA"],"fme":true,"fmx":"#giftcard_recipient_email","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},"ga4_property_id":"","ga4_measurement_id":"","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":"11c72a34b5469f176265723db5955388","creativesBaseStyles":"a53944a2","gpsAuction":"bbb80866120d17013073bb6d284cbd6b","inbox":"75060a85c1a4aebcc6f779b9e84db722","onsite":"abbdf7a49be9b52b097917b7b527b262","sms":"e39203556bab2366e56296ce42e974a7","websdk":"0df0ee1d39c3e46e93a5041146975258"}; 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_823eab310aa4453f7f370728bbc88aca.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_3a843477d8e318f67237a66d0a58c542.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(); }})();