(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":6378,"name":"Guitar Center","cookie_name":"bounceClientVisit6378","domain":"guitarcenter.com","ct":"fp_local_storage","ally":0,"ei":0,"tcjs":"","cjs":"//ContentSquare Reporting\nbouncex.sendToCS = function(csKey, csValue) {\n csKey = \"MA_WK_\" + csKey;\n\n _uxa.push([\"trackDynamicVariable\", {\n key: csKey,\n value: csValue\n }]);\n};\n\nfunction CScallback() {\n if (!disableCallback) {\n disableCallback = true;\n\n if (window.CS_CONF) {\n CS_CONF.integrations = CS_CONF.integrations || [];\n CS_CONF.integrations.push(\"Wunderkind (BounceX)\");\n }\n }\n}\n\nvar disableCallback = false;\n\nwindow._uxa = window._uxa || [];\n_uxa.push([\"afterPageView\", CScallback]); \n\n/* */\n/* enable.feature.COMPLIANCE_REFACTOR_ENABLED */","force_https":false,"waypoints":false,"content_width":900,"gai":"","swids":"","sd":0,"ljq":"auto","campaign_id":0,"is_preview":false,"aco":{"first_party_limit":"3500","local_storage":"1"},"cmp":{"gdpr":0,"gmp":0,"whitelist_check":0},"burls":[],"ple":false,"fbe":true,"ffs":"","mas":2,"map":1,"gar":false,"ete":1,"ettm":false,"etjs":"\n/* ---------------------------- SHARED VARIABLES ---------------------------- */\n\nvar CLEAN_URL = bouncex.utils.url.allowParams('Ntt');\n\n/* ---------------------------- HELPER FUNCTIONS ---------------------------- */\n\nfunction getItemIdFromURL(url) {\n\treturn url ? url.split('/').pop() : '';\n}\n\nfunction startsWithLetter(str) {\n // Check if the first character is a letter (a-z, A-Z)\n return /^[A-Za-z]/.test(str);\n}\n\nfunction getGroupId() {\n return bouncex.utils.getNestedProp('s.w.GCI.digitalData.omnitureData.products').replaceAll(';', '')\n}\n\n/* ------------------------------ ITEM TRACKING ----------------------------- */\n\nfunction isExcluded(imgUrl) {\n return imgUrl.indexOf('default-image') > 0 || imgUrl.indexOf('coming-soon') > 0 || imgUrl.indexOf('ics-white-') > -1 || (jQuery('.swiper-thumbs img.rounded').eq(0).attr('src') || '').indexOf('ics-white-') > -1 || false;\n}\n\nfunction getItem() {\n\n var siteVarsPDPDetail = bouncex.utils.getNestedProp('s.w.GCI.digitalData.siteVars.PDPDetail') || {};\n var siteVarsProductImages = bouncex.utils.getNestedProp('s.w.GCI.digitalData.siteVars.productImages') || {};\n var siteVarsPDPRightPrice = bouncex.utils.getNestedProp('s.w.GCI.digitalData.siteVars.PDPRightPrice') || {};\n\n // Variables from other sources\n // var ppcSiteVarsIds = bouncex.utils.getNestedProp('GCI.digitalData.ppcSiteVars.ids');\n var productImageElement = jQuery('#pdp-gallery img.product-gallery-img:first');\n var firstImageSrc = productImageElement.attr('src') || '';\n function formatPrice(value) {\n var num = parseFloat(value);\n return isNaN(num) ? '' : num.toFixed(2);\n }\n\n return {\n id: siteVarsPDPDetail.id || '',\n copy: siteVarsPDPDetail.productName,\n category: bouncex.utils.getNestedProp('s.w.GCI.digitalData.omnitureData.category'),\n url: CLEAN_URL,\n imageurl: siteVarsProductImages.middleImageSrc,\n instock: bouncex.utils.getNestedProp('s.w.GCI.digitalData.siteVars.PDPCTA.avlStatus') == \"in_stock\",\n price: formatPrice(siteVarsPDPRightPrice.salePrice),\n stratocaster: isStratocaster(siteVarsPDPDetail.productName),\n excluded: isExcluded(firstImageSrc),\n original_price: formatPrice(siteVarsPDPRightPrice.wasPrice) || false,\n savings: siteVarsPDPRightPrice.wasPrice && siteVarsPDPRightPrice.salePrice ? siteVarsPDPRightPrice.wasPrice - siteVarsPDPRightPrice.salePrice : false\n };\n}\n\nfunction isUSD() {\n return bouncex.utils.cookies.read('CurrencyCode') === 'USD';\n}\n\nfunction isStratocaster(copy){\n if(!copy){\n return false;\n }\n copy = copy.toLowerCase();\n \n return copy.indexOf('fender') > -1 && copy.indexOf('stratocaster') > -1 && copy.indexOf('guitar') > -1;\n}\n\nfunction initializeItemEvents() {\n var item,\n groupId;\n\n bouncex.et.onTrue(\n function () {\n item = getItem();\n groupId = getGroupId() || bouncex.utils.getNestedProp('__NEXT_DATA__.props.pageProps.miniPDPData.productEntId', '');\n return !!item.id &&\n !!item.copy &&\n !!item.category &&\n !!item.url &&\n !!item.imageurl &&\n !!groupId;\n },\n function () {\n if (item.url.indexOf('Gift-Card') > -1 || !isUSD()) {\n return;\n }\n bouncex.push(['item', item]);\n\n bouncex.push(['view item', {\n 'item:id': item.id,\n 'item:itemgroupid': getGroupId()\n }]);\n \n\n bouncex.push(['select_sku',{\n 'item:id': item.id,\n 'item:itemgroupid': getGroupId(),\n 'item:feedid': item.id\n }]);\n\n initializeATCClickTracking(item.id);\n },\n 10\n );\n}\n\n/* ---------------------------- CATEGORY TRACKING --------------------------- */\n\nfunction getItemIdsCat() {\n var productList = GCI.digitalData.siteVars.plpProductList;\n var skuIds = [];\n var i;\n var product;\n var sku;\n \n if (productList && typeof productList.length === 'number') {\n for (i = 0; i < productList.length; i++) {\n product = productList[i];\n if (product && typeof product.skuId !== 'undefined') {\n sku = product.skuId;\n if (typeof sku === 'string' && sku.indexOf('site5') === 0) {\n skuIds.push(sku.substring(5));\n } else {\n skuIds.push(sku); // Push the original if it doesn't start with \"site5\"\n }\n }\n }\n }\n\n return skuIds.join(',');\n}\n\nfunction getCategoryObject() {\n return {\n 'page:url': CLEAN_URL,\n 'items:ids': getItemIdsCat(),\n 'page:title': bouncex.utils.getNestedProp('s.w.GCI.digitalData.omnitureData.category') || \"Global\",\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 },\n function () {\n bouncex.push(['view category', categoryObj]);\n },\n 10\n );\n}\n\n/* ---------------------------- DAILY PICK TRACKING --------------------------- */\n\n/*function getDailyPicIds() {\n var ids = [];\n\n jQuery('.owl-item .imageBlock a').each(function (i, e) {\n var id = (jQuery(e).attr('href') || '').split('-').pop().split('.').shift();\n \n if (ids.length >= 6){ return;}\n\n if (id && ids.indexOf(id) < 0) {\n ids.push(id);\n }\n });\n\n return ids.join(',');\n}*/\n\nfunction getDailyPicIds() {\n var ids = [];\n\n // Safely get the product ID using bouncex.utils.getNestedProp\n var id = bouncex.utils.getNestedProp('GCI.digitalData.siteVars.PDPDetail.id', {});\n\n // Remove \"site\" prefix if present\n if (id) {\n id = id.toString().replace(/^site/, '');\n\n // Make sure it’s a valid, unique ID and not a single character\n if (id.length !== 1 && ids.indexOf(id) < 0) {\n ids.push(id);\n }\n }\n\n bouncex.log(ids);\n\n return ids.join(',');\n}\n\n\n\n\n\nfunction getDailyPicObject() {\n return {\n 'page:url': CLEAN_URL,\n 'items:ids': getDailyPicIds(),\n 'page:title': \"Daily Pick\"\n };\n}\n\nfunction initializeDailyPickEvents() {\n if (CLEAN_URL.indexOf('/Daily-Pick') === -1){ return; }\n \n var categoryObj;\n\n bouncex.et.onTrue(\n function () {\n categoryObj = getDailyPicObject();\n return !!categoryObj['items:ids'].length &&\n !!categoryObj['page:url'];\n },\n function () {\n bouncex.push(['view_daily_pick', categoryObj]);\n },\n 10\n );\n \n \n \n bouncex.et.on(bouncex.document, 'click.bx', function (e) {\n // Get the nearest product container\n var $productContainer = jQuery(e.currentTarget).closest('.daily_pick_content');\n \n // Get the product link\n var itemUrl = $productContainer.find('a.product-display-name').attr('href');\n \n if (!itemUrl) { return; }\n\n // Extract the itemId from the URL (removing 'site' if present)\n var itemId = itemUrl.split('-').pop().replace('.gc', '');\n itemId = itemId.replace(/^site/, ''); // removes 'site' prefix if it exists\n\n if (!itemId) { return; }\n\n // Fire 'add to cart' event\n bouncex.push(['add to cart', { 'item:id': itemId }]);\n\n // Set cart flag if not already set\n if (bouncex.vars.cart) {\n return;\n }\n\n bouncex.setVar('cart', true);\n}, '.addtocartbutton');\n\n \n \n}\n \n /* \n bouncex.et.on(bouncex.document, 'click.bx', function(e){\n var itemUrl = jQuery(e.currentTarget).parents('#dailyPickCarousel').find('a.displayNameColor.product-display-name').attr('href'),\n itemId = itemUrl.split('-').pop().replace('.gc', '');\n \n if (!itemId){ return }\n \n bouncex.push(['add to cart',{'item:id': itemId}]);\n \n if (bouncex.vars.cart) {\n return;\n }\n \n bouncex.setVar('cart', true);\n }, '.addtocartbutton');\n}*/\n/* ------------------------------- CART EVENTS ------------------------------ */\n\nfunction fireAddToCart(itemId, replenItem) {\n if (!itemId && !replenItem) {\n return;\n }\n bouncex.push([\n 'add to cart',\n {\n 'item:id': itemId,\n 'cart:item': bouncex.stringify(replenItem)\n }\n ]);\n\n if (bouncex.vars.cart) {\n return;\n }\n bouncex.setVar('cart', true);\n}\n\nfunction initializeATCClickTracking(itemId) {\n bouncex.et.on(bouncex.document, 'click.bxatc',\n function () {\n var productDetails = bouncex.utils.getNestedProp('s.w.GCI.digitalData.siteVars.PDPDetail', {});\n if (!productDetails.productId && !productDetails.commerceType && !productDetails.catalogRefId) {\n return;\n }\n var quantity = jQuery('.ant-select-selection-item').first().text() || 1,\n replenItem = {\n addItemCount: 1,\n items: [\n {\n catalogRefId: productDetails.catalogRefId,\n productId: productDetails.productId,\n commerceType: productDetails.commerceType,\n quantity: quantity\n }\n ],\n SPA: true\n };\n fireAddToCart(itemId, replenItem);\n },\n '#pdpCTAButtonHiddenLine button'\n );\n}\n\nfunction initCategoryPageATC() {\n bouncex.et.on(bouncex.document, 'click.bxatc',\n function () {\n var itemId = jQuery('.mini-pdp-right-content .mini-pdp-location div').last().find('a').last().attr('href').match(/productId=(\\d+)/)[1],\n rawText = document.getElementById('__NEXT_DATA__').textContent;\n \n if (!itemId) {\n return;\n }\n var quantity = jQuery('.ant-select-selection-item').first().text() || 1,\n replenItem = {\n addItemCount: 1,\n items: [\n {\n catalogRefId: rawText.match(/\"catalogRefId\"\\s*:\\s*\"([^\"]+)\"/)[1],\n productId: rawText.match(/\"productId\"\\s*:\\s*\"([^\"]+)\"/)[1],\n commerceType: rawText.match(/\"commerceType\"\\s*:\\s*\"([^\"]+)\"/)[1],\n quantity: quantity\n }\n ],\n SPA: true\n };\n fireAddToCart(itemId, replenItem);\n },\n '#pdpCTAButtonHiddenLine button'\n );\n}\n\nfunction makeAjaxATCFunc(replenItem) {\n return function () {\n return jQuery.ajax({\n type: 'POST',\n url: 'https://www.guitarcenter.com/rest/model/atg/checkout/checkoutActor/addItemToOrder',\n data: bouncex.stringify(replenItem),\n contentType: 'application/json'\n });\n };\n}\n\n\nfunction emptyCart() {\n bouncex.et.onVarChange('cart_qty', function (oldVal, newVal) {\n if (bouncex.vars.cart && newVal === 0 && oldVal > 0) {\n bouncex.push(['empty_cart']);\n bouncex.setVar('cart', false);\n }\n });\n}\n\nfunction initializeCartEvents() {\n bouncex.et.cart.init({\n replenishmentType: 'ajax',\n replenish: function (cart) {\n var deferreds = [];\n\n cart.items.forEach(function (item) {\n deferreds.push(makeAjaxATCFunc(item));\n });\n\n deferreds\n .reduce(function (promise, func) {\n return promise.then(function () {\n return func();\n });\n }, jQuery.Deferred().resolve([]))\n .then(replenComplete);\n }\n });\n\n function replenComplete() {\n window.location.href = CLEAN_URL + '?bx_replen=true';\n }\n\n emptyCart();\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 = jQuery('#unica_UN').val() || bouncex.utils.getNestedProp(\"dataLayer._state.userLogin.login\") || bouncex.utils.getNestedProp(\"s.w.GCI.digitalData.siteVars.emailAddress\") || bouncex.utils.getNestedProp(\"GCI.digitalData.siteVars.order.emailAddress\");\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\nfunction pollforCartLogin(){\n if (!!bouncex.vars.logged_in_identified) {\n return;\n }\n\n bouncex.et.onVarChange('logged_in', function(){\n initializeUserTracking(); \n });\n}\n\n/* --------------------------- INITIALIZE TRACKING -------------------------- */\n\nfunction isValidDomain() {\n return CLEAN_URL.indexOf('www.guitarcenter.com') > -1;\n}\n\nfunction isEn() {\n return bouncex.html.attr('lang') === 'en';\n}\n\nfunction isValidForTracking() {\n return isValidDomain() && isEn();\n}\n\nfunction init() {\n if (!isValidForTracking()) {\n return;\n }\n bouncex.setTimeout2(function(){\n initializeUserTracking();\n }, 500);\n\n initializeCartEvents();\n initializeDailyPickEvents();\n pollforCartLogin();\n\n switch (bouncex.website.pts) {\n case 'category':\n case 'search':\n initializeCategoryEvents();\n initCategoryPageATC();\n break;\n case 'product':\n initializeItemEvents();\n break;\n default:\n break;\n }\n}\n\nbouncex.et.onTrue(isValidForTracking, init, 5);\n// bouncex.setTimeout2(function(){\n// init();\n// },4000)\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":"/cart"}]]},"category":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"!!document.querySelectorAll('.plp-container').length;"}]]},"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 === '/'"}]]},"product":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"!!document.querySelectorAll('#pdp-layout').length;"}]]},"search":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/search"}]]}},"els":{"blank_site_element":""},"vars":[{"name":"logged_in","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(!!jQuery('.ShopLogin').length && jQuery('.ShopLogin').text().indexOf('Sign In') === -1) || (!!jQuery('#userLoggedWrap').length && jQuery('#userLoggedWrap').text().indexOf('Sign In') === -1) || !!bouncex.utils.getNestedProp(\"s.w.dataLayer._state.userLoginStatus.isLoggedIn\") || null;\n\n","trigger":""},{"name":"ever_logged_in","polling":"none","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":"Number(jQuery('.miniCartTotal, #miniCartTotal').eq(0).text());","trigger":""},{"name":"cart_value","polling":"all","persist":"no","page_types":[],"testmode":true,"default":"0","code":"","trigger":""},{"name":"in_stock","polling":"none","persist":"no","page_types":[],"testmode":true,"default":"false","code":"","trigger":""},{"name":"submitted_onsite","polling":"all","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"!!jQuery('.email-form-container .signup-thanks').length || null;","trigger":""},{"name":"page_url","polling":"none","persist":"no","page_types":["category","search"],"testmode":true,"default":"false","code":"","trigger":""},{"name":"logged_in_identified","polling":"none","persist":"visit","page_types":[],"testmode":false,"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":true,"default":"false","code":"null;","trigger":"pageload"},{"name":"page_type","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"bouncex.website.pts;","trigger":"pageload"},{"name":"attentive_visible","polling":"all","persist":"no","page_types":[],"testmode":true,"default":"false","code":"jQuery('#attentive_overlay').length > 0;","trigger":"pageload"},{"name":"sku_clicked","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"wunderkind_exit","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"wunderkind_entrance","polling":"vars","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"(function() {\n if (!bouncex.campaigns || jQuery.isEmptyObject(bouncex.campaigns) ) {\n return 'wknd_entrance_ineligible';\n } else {\n return false;\n }\n})();","trigger":"pageload"},{"name":"not_eligible_for_overlay","polling":"vars","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","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":{"optid":"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":"","crs":{"integrations":null,"pageCount":null},"mat":0,"math":0,"cpnu":"coupons.bounceexchange.com","dfpcms":0,"sms":{"optm":"Hit 'Send' to sign-up for automated, recurring Guitar Center mktg txts (like cart reminders) to this #, per terms.","eventSharing":false,"shqId":"","enabled":1},"pde":true,"fmc":["AW","AI","AG","AR","BS","BB","BZ","BM","BO","BQ","BR","CA","KY","CL","CO","CR","CU","CW","DM","DO","EC","SV","GF","GL","GD","GT","GP","HT","HN","JM","MQ","MX","MS","NI","PA","PY","PE","PR","PM","MF","BL","KN","LC","VC","SX","SR","TT","US","UM","UY","VE","VG","VI"],"fme":true,"fmx":"","uid2":false,"sdk":{"android":{"enabled":true,"enabledVersions":["1.2.0","1.2.1","1.2.5","1.3.0","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3.7","1.4.0","1.4.1","1.5.1","1.5.2"],"eventModifications":[]},"ios":{"enabled":true,"enabledVersions":["1.0.6","1.0.7","1.0.8","1.2.0","1.2.5","1.3.0","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3.7","1.4.0","1.4.1","1.4.3","1.5.0","1.5.1","1.5.2"],"eventModifications":[]}},"onsite":{"enabled":1},"ads":{"enabled":0},"pubs":{"enabled":0},"websdk":{"enabled":0,"devMode":0},"ga4_property_id":"","ga4_measurement_id":"","tag_state_domain":"api.bounceexchange.com","tag_state_domain_enabled":false} ; 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":"ba8ae19a5bf9548f3d50df1e54121805","creativesBaseStyles":"a53944a2","gpsAuction":"bbb80866120d17013073bb6d284cbd6b","inbox":"c5ffeacd3b77d074a53f2878c1332dc9","onsite":"c05f8c5551fa6b964660ad61916291c1","sms":"e39203556bab2366e56296ce42e974a7","websdk":"9c2817e65e803cb8c86d0410c88f20c1","website_campaigns_6378":"51bdc48054e304752acf4870fca2fccf"}; 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_d92654ef80b404e10948396caee3f7d0.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_e28899bed33dd2712b5b7495c7e979b8.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(); }})();