(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":3042,"name":"5.11 Tactical","cookie_name":"bounceClientVisit3042","domain":"511tactical.com","ct":"fp_local_storage","ally":0,"ei":0,"tcjs":"","cjs":"//ISR code 12-2-18 -- BR\n(function () {\n\twindow.bouncex = window.bouncex || {};\n\n\twindow.bouncex.bxISR = {\n\t\t/* --- INITIALIZATION --- */\n\t\tversion: 'Version 9.0 | 04/10/18',\n\t\tstartTime: Date.now(),\n\n\t\tinit: function () {\n\t\t\tthis.settings = {\n\t\t\t\tcurrentProduct: {},\n\t\t\t\tgeneral: {\n\t\t\t\t\tproductPageIdentifier: bouncex.website.pts === 'product',\n\t\t\t\t\tmaxProducts: 20,\n\t\t\t\t\tproductHistory: JSON.parse(window.localStorage.getItem('bxProdHist')) || [],\n\t\t\t\t\tproductHistoryLength: 0\n\t\t\t\t}\n\t\t\t};\n\t\t\tthis.productMap();\n\t\t\tthis.setItemHistoryLengths();\n\t\t\tthis.trackProductHistory();\n\t\t\tthis.maxProducts();\n\t\t\tif (jQuery('#bx-isr-boilerplate').length === 0) {\n\t\t\t\t bouncex.addCss('.bxc.bx-custom .bx-isr-preventclicks { pointer-events: none; cursor: pointer;}', bouncex.body.get(0), 'bx-isr-boilerplate');\n\t\t\t}\n\t\t},\n\n\t\tproductMap: function () {\n\t\t\tif (!this.settings.general.productPageIdentifier) { return; }\n\n\t\t\tvar productValues = {\n\t\t\t\turl: bouncex.utils.url.allowParams(),\n\t\t\t\tname: bouncex.vars.prod_name,\n\t\t\t\tprice: bouncex.vars.prod_price,\n\t\t\t\timageurl: bouncex.vars.imageurl,\n\t\t\t\ttimeStamp: Date.now(),\n\t\t\t\tviewCount: 1,\n\t\t\t\tsessionId: window.bouncex.cookie.vid\n\t\t\t};\n\n\t\t\tthis.settings.currentProduct = productValues;\n\t\t},\n\n\t\t/* --- END OF INITIALIZATION --- */\n\t\t/* --- HELPER FUNCTIONS --- */\n\n\t\taddProductToHistory: function (product) {\n\t\t\tvar productHistory = this.settings.general.productHistory;\n\t\t\tproductHistory.unshift(product);\n\t\t\tthis.setProductHistory(productHistory);\n\t\t},\n\n\t\tcompareProducts: function (productA, productB) {\n\t\t\tif (productA.url === productB.url && typeof productB.url !== 'undefined') {\n\t\t\t\tbouncex.err('product url matches a previous product', {source: 'isr'});\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t\treturn false;\n\t\t},\n\n\t\ttrackProductHistory: function () {\n\t\t\tvar productHistory = this.settings.general.productHistory;\n\t\t\tif (!this.settings.general.productPageIdentifier) { return; }\n\n\t\t\tif (this.settings.general.productHistoryLength > 0) {\n\t\t\t\tvar historyUpdated = false;\n\n\t\t\t\tfor (var i = 0; i < this.settings.general.productHistoryLength; i++) {\n\t\t\t\t\tif (this.compareProducts(productHistory[i], this.settings.currentProduct)) {\n\t\t\t\t\t\tproductHistory[i].viewCount++;\n\t\t\t\t\t\tproductHistory[i].timeStamp = Date.now();\n\t\t\t\t\t\tproductHistory.unshift(productHistory[i]);\n\t\t\t\t\t\tproductHistory.splice(i + 1, 1);\n\t\t\t\t\t\thistoryUpdated = true;\n\t\t\t\t\t\tthis.setProductHistory(productHistory);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (!historyUpdated) {\n\t\t\t\t\tthis.addProductToHistory(this.settings.currentProduct);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tthis.addProductToHistory(this.settings.currentProduct);\n\t\t\t}\n\t\t},\n\n\n\t\t/* --- END OF HELPER FUNCTIONS --- */\n\t\t/* --- GETTER FUNCTIONS --- */\n\n\n\t\tsortProductsByLastViewed: function (number) {\n\t\t\tvar products = this.settings.general.productHistory;\n\t\t\tif (!number) { number = products.length; }\n\t\t\treturn products.sort(function (a, b) { return b.timeStamp - a.timeStamp; }).slice(0, number);\n\t\t},\n\n\t\tmaxProducts: function () {\n\t\t\tvar maxProducts = this.settings.general.maxProducts;\n\t\t\tif (this.settings.general.productHistoryLength > maxProducts) {\n\t\t\t\tvar topProducts = this.sortProductsByLastViewed(maxProducts);\n\t\t\t\tthis.setProductHistory(topProducts);\n\t\t\t}\n\t\t},\n\n\t\t/* --- END GETTER FUNCTIONS --- */\n\t\t/* --- SETTER FUNCTIONS --- */\n\n\t\tsetItemHistoryLengths: function () {\n\t\t\tthis.settings.general.productHistoryLength = this.settings.general.productHistory.length;\n\t\t},\n\n\t\tsetProductHistory: function (productHistory) {\n\t\t\twindow.localStorage.setItem('bxProdHist', JSON.stringify(productHistory));\n\t\t\tthis.settings.general.productHistory = productHistory;\n\t\t\tthis.settings.general.productHistoryLength = productHistory.length;\n\t\t\tbouncex.setVarAndReload('products_tracked', productHistory.length);\n\t\t},\n\n\t\t/* --- END SETTER FUNCTIONS --- */\n\t\t/* --- CAMPAIGN TEMPLATING --- */\n\t\tpopulateCampaign: function (params) {\n\t\t\tif (!params || !params.campaignId || !params.numberProducts) { return false; }\n\t\t\tif (!params.hasOwnProperty('linkOpensNewTab')) { params.linkOpensNewTab = true; }\n\n\t\t\tvar $campaign = jQuery('#bx-campaign-' + params.campaignId);\n\t\t\tvar trackedProductArray = window.bouncex.bxISR.sortProductsByLastViewed(params.numberProducts);\n\t\t\tvar self = this;\n\t\t\tjQuery.each(params.campaignSteps, function (x, y) {\n\n\t\t\t\tfor ( var i = 0; i < params.numberProducts; i++ ) {\n\n\t\t\t\t\tvar $customGroup = $campaign.find('#bx-form-' + params.campaignId + '-step-' + y.stepNumber + ' .bx-group-custom:eq(' + i +')');\n\t\t\t\t\tvar $lineshape = $customGroup.find('.bx-row-line .bx-lineshape');\n\t\t\t\t\tvar $image = $customGroup.find('.bx-row-image img');\n\t\t\t\t\tvar $text = $customGroup.find('.bx-row-text div');\n\t\t\t\t\tvar $button = $customGroup.find('.bx-button');\n\n\t\t\t\t\tif (params.campaignSteps[x].productGroupsLink) {\n\t\t\t\t\t\tvar productLink = (trackedProductArray[i].url.indexOf('http') > -1) ? trackedProductArray[i].url : window.top.location.origin + trackedProductArray[i].url;\n\t\t\t\t\t\t$customGroup.attr({\n\t\t\t\t\t\t\t'href': productLink,\n\t\t\t\t\t\t\t'data-click': 'hyperlink',\n\t\t\t\t\t\t\t'target': params.linkOpensNewTab ? '_blank' : '_self',\n\t\t\t\t\t\t\t'data-click-report': params.reportClicks ? 'default' : 'nothing'\n\t\t\t\t\t\t});\n\n\t\t\t\t\t\tif ($button.length > 0) {\n\t\t\t\t\t\t\t$button.addClass('bx-isr-preventclicks');\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tif ($lineshape.length > 0) {\n\t\t\t\t\t\t$lineshape.css('background-image', 'url(' + trackedProductArray[i].imageurl + ')');\n\t\t\t\t\t} else if ($image.length > 0) {\n\t\t\t\t\t\t$image.attr('src', trackedProductArray[i].imageurl);\n\t\t\t\t\t}\n\n\t\t\t\t\tif ($text.length > 0) {\n\t\t\t\t\t\t$text.text(trackedProductArray[i].name);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t});\n\n\t\t},\n\n\t};\n\n\twindow.bouncex.bxISR.init();\n})();","force_https":false,"waypoints":false,"content_width":900,"gai":"UA-604181-47","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":"// HELPER FUNCTIONS //\nfunction isIncludedHostname() {\n return window.location.hostname === \"www.511tactical.com\";\n}\n\nfunction trackLoggedInUser() {\n var email = jQuery(\".box-information .box-content\")\n .html()\n .trim()\n .split(\"
\")[1]\n .trim();\n\n if (email) {\n bouncex.push([\n \"user\",\n {\n email: email,\n source: \"LoggedIn\",\n },\n ]);\n }\n bouncex.setv(\"logged_in_identified\", true);\n setBounceCookie();\n}\n\n// CART TRACKING //\nbouncex.et.cart.init({\n replenish: function (cart) {},\n replenishmentType: \"single\",\n});\n\n// ITEM TRACKING //\nfunction getItem() {\n return {\n id: bouncex.vars.prod_id,\n copy: bouncex.vars.prod_name,\n category: bouncex.vars.prod_category,\n url: bouncex.vars.page_url,\n imageurl: bouncex.vars.prod_imageurl,\n price: bouncex.vars.prod_price,\n instock: bouncex.vars.in_stock\n };\n}\n\n// CATEGORY TRACKING //\nfunction getCategoryObject() {\n return {\n 'page:url': bouncex.vars.page_url,\n 'page:title': bouncex.vars.cat_title,\n 'items:ids': bouncex.vars.prod_ids\n };\n}\n\nfunction initializeCategoryEvents() {\n var categoryObj;\n\n bouncex.et.onTrue(\n function() {\n categoryObj = getCategoryObject();\n return !!categoryObj['items:ids'].length && \n !!categoryObj['page:url'] &&\n !!categoryObj['page:title'];\n },\n function() {\n bouncex.push(['view category', categoryObj]);\n },\n 10\n );\n\n return;\n}\n\n// INITIATE TRACKING //\nif (isIncludedHostname()) {\n bouncex.et.onVarChange(\"logged_in\", function () {\n if (bouncex.vars.logged_in && !bouncex.vars.logged_in_identified) {\n trackLoggedInUser();\n }\n });\n\n bouncex.et.onVarChange(\"cart_qty\", function () {\n if (bouncex.vars.cart_qty === 0) {\n bouncex.push([\"empty_cart\", {}]);\n }\n });\n \n if (bouncex.website.pts === 'category') {\n initializeCategoryEvents();\n }\n\n if (bouncex.website.pts === \"product\") {\n bouncex.et.on(\n jQuery(document),\n \"click.bx\",\n function () {\n setTimeout(function () {\n if (jQuery(\"div.mage-error\").length > 0) {\n return;\n }\n\n bouncex.push([\n \"add to cart\",\n {\n \"item:id\": bouncex.vars.prod_id,\n },\n ]);\n }, 1000);\n },\n \"#product-addtocart-button\"\n );\n\n bouncex.et.onTrue(\n function() {\n item = getItem();\n return !!item.id &&\n !!item.copy &&\n !!item.category &&\n !!item.price &&\n !!item.url &&\n !!item.imageurl;\n },\n function() {\n bouncex.push(['item', item]);\n bouncex.push(['view item', {\n \"item:id\": bouncex.vars.prod_id,\n \"item:itemgroupid\": jQuery(\".sku .value:first\").text()\n }]);\n\n return;\n },\n 10\n );\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":"/^\\/checkout\\/cart$/.test(window.location.pathname);"}]]},"category":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"jQuery('.catalog-category-view').is(':visible');"}]]},"checkout":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"/^\\/onestepcheckout$/.test(window.location.pathname);"}]]},"home":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"window.location.pathname === \"/\";"}]]},"product":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"jQuery('#product-addtocart-button').is(':visible');"}]]},"search":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"/^\\/search$/.test(window.location.pathname);"}]]}},"els":{"CART - Checkout Button":".checkout .item:eq(1)","CART - Promo Code Apply Button":".fieldset.coupon .actions-toolbar","CART - Promo Code Box":".fieldset.coupon .field","CAT - Product Grid Image":"img.product-image-photo","Footer":".page-footer","Navigation bar":".page-header","PDP - Add to Cart Button":".actions","PDP - Color Option":".swatch-attribute.color","PDP - Hero Image":".fotorama__stage","PDP - Product Name":".page-title-wrapper","PDP - Product Price":".price-box.price-final_price","PDP - Quantity Option":".field.qty","PDP - Review Stars":".product-reviews-summary","PDP - Size Option":".swatch-attribute.size","PDP - Thumbnail Image":".fotorama__nav-wrap--vertical","SEARCH - Product Grid Image":"img.product-image-photo","header":"header"},"vars":[{"name":"logged_in","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function() {\n var loginLocalStorage = JSON.parse(localStorage.getItem('mage-cache-storage')) && JSON.parse(localStorage.getItem('mage-cache-storage')).customer && JSON.parse(localStorage.getItem('mage-cache-storage')).customer.email;\n var loggedIn = loginLocalStorage ? loginLocalStorage.length > 0 : false;\n var checkoutLoggedIn = bouncex.website.pts === 'checkout' && window.checkoutConfig.customerData && window.checkoutConfig.customerData.email && window.checkoutConfig.customerData.email.length > 0;\n\n return loggedIn || checkoutLoggedIn;\n})();","trigger":"pageload"},{"name":"ever_logged_in","polling":"all","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"bouncex.vars.logged_in || null;","trigger":"pageload"},{"name":"cart_qty","polling":"all","persist":"permanent","page_types":[],"testmode":false,"default":"0","code":"parseInt(jQuery('span.counter-number').text());","trigger":"pageload"},{"name":"cart_value","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"0","code":"(function() {\n var localCart = JSON.parse(localStorage.getItem('mage-cache-storage')) && JSON.parse(localStorage.getItem('mage-cache-storage')).cart;\n var cartValue = localCart ? localCart.subtotal.replace(/[^0-9\\.]/g, '') : false;\n return cartValue;\n})();\n","trigger":"pageload"},{"name":"prod_price","polling":"none","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"jQuery('span[id*=product-price]').text().replace(/[^0-9\\.]/g, '');","trigger":"pageload"},{"name":"prod_name","polling":"none","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"jQuery('.page-title .base').text();","trigger":"pageload"},{"name":"prod_available_online","polling":"none","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"jQuery('#product-addtocart-button').is(':visible');","trigger":"pageload"},{"name":"prod_category","polling":"none","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"'global'","trigger":"pageload"},{"name":"prod_id","polling":"none","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"(function() {\n\tvar urlArray = jQuery('meta[property=\"og:url\"]')\n\t\t.attr('content')\n\t\t.split('/');\n\tvar slug = urlArray[urlArray.length - 1];\n\tif (!slug){\n\t\turlArray = window.location.href.split('/');\n\t\tslug = urlArray[urlArray.length - 1];\n\t}\n\treturn slug.replace('.html', '');\n})();","trigger":"pageload"},{"name":"is_included_hostname","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"window.location.hostname === 'www.511tactical.com';","trigger":"pageload"},{"name":"prod_imageurl","polling":"none","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"jQuery('meta[property=\"og:image\"]').attr('content');","trigger":"pageload"},{"name":"page_url","polling":"none","persist":"no","page_types":["category","product","search"],"testmode":false,"default":"false","code":"jQuery('link[rel=\"canonical\"]').attr('href') || bouncex.utils.url.removeParams();","trigger":"pageload"},{"name":"in_stock","polling":"none","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"true;","trigger":"pageload"},{"name":"submitted_onsite","polling":"all","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"jQuery('.message-success:contains(subscription)').is(':visible') || null;","trigger":"pageload"},{"name":"cat_title","polling":"none","persist":"no","page_types":["category"],"testmode":false,"default":"false","code":"window.location.pathname.split('/').pop().split('.').shift().toUpperCase().replace(/[-]/g, ' ');","trigger":"pageload"},{"name":"prod_ids","polling":"vars","persist":"no","page_types":["category"],"testmode":false,"default":"false","code":"(function() {\n\tvar items = jQuery('.product-item');\n\tvar itemIds = [];\n\tif (items.length > 0) {\n\t\tfor (var i = 0; i < items.length; i++) {\n\t\t\tvar url = jQuery(items[i])\n\t\t\t\t.find('a')\n\t\t\t\t.first()\n\t\t\t\t.attr('href')\n\t\t\t\t.split('/');\n\t\t\tvar id = url[url.length - 1].replace('.html', '');\n\n\t\t\tif (itemIds.indexOf(id) === -1) {\n\t\t\t\titemIds.push(id);\n\t\t\t}\n\t\t}\n\t}\n\treturn itemIds.join(',');\n})();","trigger":"pageload"},{"name":"logged_in_identified","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"atc_modal_visible","polling":"vars","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"jQuery('.message-success').is(':visible');","trigger":"pageload"},{"name":"products_tracked","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"bouncex.parseJSON(localStorage.getItem('bxProdHist')).length;","trigger":"pageload"},{"name":"cart_plurality","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"bouncex.vars.cart_qty > 1 ? 'ITEMS' : 'ITEM';","trigger":"pageload"},{"name":"itemitemgroupid","polling":"all","persist":"no","page_types":["product"],"testmode":true,"default":"false","code":"jQuery(\".sku .value:first\").text().trim();","trigger":"pageload"},{"name":"itemgroupid","polling":"all","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"jQuery(\".sku .value:first\").text().trim();","trigger":"pageload"},{"name":"dynamic_yield_present","polling":"all","persist":"no","page_types":[],"testmode":true,"default":"false","code":"jQuery('.dy-modal-container').length > 0;","trigger":"pageload"},{"name":"city","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"bouncex.state.geo.city;","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":"","enabled":1},"etjson":null,"osre":true,"osru":"osr.bounceexchange.com/v1/osr/items","checkDfp":false,"gamNetwork":"","spa":0,"spatm":1,"preinit_cjs":"","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":["US","CA"],"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":"321171613","ga4_measurement_id":"G-L3EC9VY0B2","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":"27166d3b6527a269bad237fea7e0ef3c","creativesBaseStyles":"a53944a2","gpsAuction":"bbb80866120d17013073bb6d284cbd6b","inbox":"75060a85c1a4aebcc6f779b9e84db722","onsite":"abbdf7a49be9b52b097917b7b527b262","sms":"e39203556bab2366e56296ce42e974a7","websdk":"04cde0014774b7eb597770595769aab1"}; 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_4b048f3d0cfb1030f90fec02949d8c38.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(); }})();