(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":4418,"name":"Paw.com","cookie_name":"bounceClientVisit4418","domain":"paw.com","ct":"fp_local_storage","ally":0,"ei":0,"tcjs":"","cjs":"","force_https":false,"waypoints":false,"content_width":900,"gai":"UA-86971740-1","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":true,"ete":1,"ettm":false,"etjs":"// SHQ DLWATCHER\nbouncex.et.onTrue(\n function () {\n return !!bouncex.utils.getNestedProp('utils.segments.useDLWatcher', null, bouncex);\n },\n function () {\n bouncex.utils.segments.useDLWatcher();\n }, 5);\n// SHQ DLWATCHER\nvar PAW_DOMAIN = 'https://www.paw.com/',\n COOKIE_NAME = 'cart',\n EXCLUDED_PATH = 'giftcard',\n ATC_SELECTOR = '.ProductForm-submitButton',\n CAT_PAGE_PROD_SELECTOR = '.Grid-item .GridItem-link',\n EMPTY_CART_SELECTOR = '.Cart-productsContainer.is-empty',\n CAT_PAGE_TITLE_SELECTOR = '.CollectionNew-title, .DogBeds-title';\n\n/** *********** HELPERS **************/\nfunction getUrl(){\n return bouncex.utils.url.allowParams();\n}\n\nfunction isEn(){\n return jQuery('html').attr('lang') === 'en';\n}\n\nfunction isValidDomain(){\n var currentUrl = getUrl();\n return currentUrl.indexOf(PAW_DOMAIN) > -1 &&\n currentUrl.indexOf(EXCLUDED_PATH) === -1;\n}\n\nfunction getItemIdFromUrl(itemUrl){\n var urlArr;\n if (!itemUrl){\n return;\n }\n urlArr = itemUrl.split('/');\n return urlArr.pop();\n}\n\nfunction getGroupId(){\n return jQuery('#product-variant-id').attr('data-product-id') ||\n bouncex.utils.getNestedProp('meta.product.id') ||\n null;\n}\n\n/** *********** ITEM **************/\nfunction getItemId(){\n return getItemIdFromUrl(getUrl());\n}\n\nfunction getItem(){\n return {\n id : getItemId(),\n copy: bouncex.vars.prod_name,\n category : bouncex.utils.getNestedProp('meta.product.type'),\n url : getUrl(),\n imageurl : jQuery('meta[property=\"og:image\"]:first').attr('content') || '',\n price : bouncex.vars.prod_price,\n instock : bouncex.vars.in_stock,\n };\n}\n\nfunction isValidItem(item){\n return item.id && item.copy && item.category && item.imageurl;\n}\n\nfunction viewItem(itemId){\n bouncex.push(['view item', {\n 'item:id': itemId,\n 'item:itemgroupid': getGroupId()\n }]);\n}\n\nfunction firePdpEvents(item){\n bouncex.push(['item', item]);\n viewItem(item.id);\n}\n\n/** *********** CATEGORY **************/\nfunction getCategoryIds(){\n return jQuery(CAT_PAGE_PROD_SELECTOR).map(function(){\n var itemUrl = jQuery(this).attr('href');\n var itemId = itemUrl ? getItemIdFromUrl(itemUrl) : false;\n if (itemId){\n return itemId;\n }\n }).toArray().join(',');\n}\n\nfunction getCategoryObj(){\n return {\n 'page:title' : jQuery(CAT_PAGE_TITLE_SELECTOR).text().trim() || '',\n 'page:url': getUrl(),\n 'items:ids': getCategoryIds()\n };\n}\n\n/** *********** CART FUNCTIONALITY **************/\nfunction replenish(cart){\n bouncex.utils.cookies.create({'name': COOKIE_NAME, 'value': cart.token});\n window.location.href = window.location.pathname + '?bx_replen=true';\n}\n\nfunction fireAddToCart(itemId){\n var cookie;\n bouncex.et.onTrue(function(){\n cookie = bouncex.getBounceCookie(COOKIE_NAME);\n return cookie;\n }, function(){\n if (itemId){\n bouncex.push(['add to cart', {'item:id': itemId, 'cart:token': cookie }]);\n\n if (!bouncex.vars.cart_set){\n bouncex.setv('cart_set', true);\n }\n }\n }, 10);\n}\n\nfunction trackATC(){\n jQuery(ATC_SELECTOR).click(function(){\n var itemId = getItemId();\n if (itemId){\n fireAddToCart(itemId);\n }\n });\n}\n\nfunction trackEmptyCart(){\n if (bouncex.vars.cart_set){\n bouncex.et.onVisible(EMPTY_CART_SELECTOR, function(){\n bouncex.push(['empty_cart', {}]);\n });\n }\n}\n\n/** *********** CATALOG **************/\nfunction hasNoVariants(){\n return jQuery('.ProductSingleOption').length > 0 || !jQuery('.ProductSelect').is(':visible') || jQuery('select.ProductSelect-groupTitle option').length < 2;\n}\n\nfunction getSku() {\n return jQuery('.js-variant-sku').first().text();\n}\n\nfunction fireSelectSku(itemId){\n bouncex.push([\n 'select_sku',\n {\n 'item:id': itemId,\n 'item:itemgroupid': getGroupId(),\n 'item:feedid': getSku()\n }\n ]);\n}\n\nfunction trackSizeSelection(itemId){\n bouncex.et.onVarChange('selected_variant', function(oldVal, newVal) {\n if (newVal !== oldVal && !!oldVal) {\n fireSelectSku(itemId);\n }\n\n\n });\n}\n\nfunction initializeCatalogEvents(itemId){\n if (hasNoVariants()){\n fireSelectSku(itemId);\n return;\n }\n\n trackSizeSelection(itemId);\n}\n\n/** *********** INITIALIZE EVENTS **************/\nfunction initializePdpEvents(){\n var item,\n testimonials = {\n 'puprug-faux-fur-orthopedic-dog-bed-bed-curve-polar-white' : '“Bodie finally got a bed that fits him!!! (and me.. and a few cats!) I can’t tell you how long it’s taken me to find a memory foam dog bed in his size that’s completely washable… and isn’t a total eyesore. Sooo excited!” - Mel P @mellamprey',\n 'puprug-faux-fur-orthopedic-dog-bed-curve-sable-tan' : '“Check out our new @PawOriginal dog bed! The most tasteful & cozy bed on the market! Gibbs chooses this over the couch which is a big win for me!\" - Katie C @katieandthecrew',\n 'pupprotector-waterproof-throw-blanket-brown-cowhide' : '“My pup loves his new blanket! It makes my old sofa look so much better too! It’s very well made and super soft.” - Jeanette P.',\n 'puprug-runner-faux-fur-memory-foam-bed-white-curve' : '“Sidney is loving this faux fur memory foam dog bed from @PawOriginal! Their products are stylish, durable, & machine-washable!” - Lacie L @loveresideshere',\n 'puplounge-memory-foam-orthopedic-dog-bed-topper' : '“Someone got a new bed today it’s safe to say she loves it! This thing was made for a queen. It has memory foam and faux fur! I might curl up and sleep on it tonight..” - Chrissy D @diapersandecor',\n 'puprug-portable-orthopedic-dog-bed-grey' : '\"Amazing! So easy to carry around and Chewie Loves his portable bed. The memory foam is perfect!” - Sofia C.',\n 'pupprotector-waterproof-throw-blanket-sable-tan' : '“My pups love their new snuggle spot and I love that my new leather sofa is protected. Would definitely recommend!” - Debra T.',\n 'pupprotector-memory-foam-car-bed' : '“My dogs love this seat cover. It is so great that they can be clipped to it and that the seatbelts strap into it for extra security. Both of my boys are about 65 pounds and they fit in it perfectly! The memory foam is a great quality, and they love sleeping in it on longer drives!” - Kali L.',\n 'puprug-faux-fur-orthopedic-dog-bed-curve-buffalo-plaid' : '“My boy loves it, great quality! We also have a blanket for him and a smaller bed from when he was little too! Amazing products & excellent customer service!” - Rhishi P.',\n 'pupprotector-waterproof-throw-dog-blanket-white' : '\"Amazing product and so stylish! Fits perfect in my decor and the pups love it!! Protects my bed from accidents and looks amazing! What more can you ask for?! 😍” - Danielle N.',\n 'puprug-brown-faux-cowhide-memory-foam-bed' : '“Love it so much that we all use it! Hubby, kids and myself when we play with the dog we are sitting on the rug with her!!” - Joelle G',\n 'pupprotector-waterproof-throw-dog-blanket-grey' : '\"My dog Lucas LOVES the king size grey blanket ! Can’t say enough about it! I use it on the couch, on my bed & totally protects my duvet cover, the leather furniture ,and have even tried it out in my car ! No more washing blankets ,towels & sheets every day! Best dog product on the market! Thanks Paw.com for this awesome comfy blanket! 5 stars!\" - Amy M.',\n 'pupprotector-waterproof-throw-blanket-polar-white' : '\"My 5-month old mini goldendoodle loves the blanket. It looks nice and works well for protecting the sofa, bed, or carpet. This is one of the best purchases I made for my new puppy. Thanks, Paw.com!\" - Emery M.'\n },\n testimonialText;\n bouncex.et.onTrue(function(){\n item = getItem();\n return isValidItem(item);\n }, function(){\n testimonialText = testimonials[item.id] || '';\n item.testimonial = testimonialText;\n\n firePdpEvents(item);\n initializeCatalogEvents(item.id);\n }, 10);\n}\n\nfunction initializeCartEvents(){\n bouncex.et.cart.init({\n replenishmentType : 'cookie',\n replenish : replenish,\n });\n trackATC();\n}\n\nfunction initializeCategoryEvents(){\n var categoryObj = getCategoryObj();\n if (categoryObj['items:ids'].length){\n bouncex.push(['view category', categoryObj]);\n }\n}\n\nfunction init() {\n if (isValidDomain() && isEn()) {\n initializeCartEvents();\n switch(bouncex.website.pts) {\n case 'product':\n initializePdpEvents();\n break;\n case 'category':\n initializeCategoryEvents();\n break;\n case 'cart':\n trackEmptyCart();\n break;\n default:\n break;\n }\n }\n\n}\ninit();","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":"bouncex.utils.getNestedProp('ShopifyAnalytics.meta.page.pageType') === 'collection';"}]]},"checkout":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/checkouts"}]]},"home":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"bouncex.utils.getNestedProp('ShopifyAnalytics.meta.page.pageType') === 'home';"}]]},"product":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"bouncex.utils.getNestedProp('ShopifyAnalytics.meta.page.pageType') === 'product'; "}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"giftcard?"}]]},"search":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/search?q="}]]}},"els":{"blank_site_element":""},"vars":[{"name":"logged_in","polling":"none","persist":"no","page_types":[],"testmode":true,"default":"false","code":"","trigger":""},{"name":"ever_logged_in","polling":"none","persist":"permanent","page_types":[],"testmode":true,"default":"false","code":"bouncex.vars.logged_in || null;","trigger":""},{"name":"cart_qty","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"0","code":"(function(){\n\tvar $itemQty,\n\t\tqty = 0;\n\n\tif(bouncex.website.pts !== 'checkout'){\n\t\treturn Number(jQuery('.js-cart-item-count').text().replace(/[^0-9.]/g, ''));\n\t}\n\t\n\t$itemQty = jQuery('.product-thumbnail__quantity');\n\t$itemQty.each(function (i) {\n\t qty += Number($itemQty.eq(i).text().replace(/[^0-9.]/g, ''));\n\t});\n\n\treturn qty;\n})();","trigger":""},{"name":"cart_value","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"0","code":"Number(jQuery('.CartDrawer-subtotal').text().replace(/[^0-9.]/g, '')) || Number(jQuery('.total-line__price .order-summary__emphasis').first().text().replace(/[^0-9.]/g, ''));","trigger":""},{"name":"prod_price","polling":"all","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"(function(){\n\tvar prices = jQuery('.Product-price').text().split('$'),\n\t\tlen = prices.length;\n\n\tif (len > 1 && prices[len-1].indexOf('Sold Out') > -1) {\n\t\treturn false;\n\t}\n\n\treturn len > 1 ? Number(prices[1].replace(/[^0-9.]/g, '')) : false;\n})();","trigger":""},{"name":"prod_name","polling":"all","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"jQuery('.Product-title').text().trim();","trigger":""},{"name":"in_stock","polling":"all","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"jQuery('.ProductForm-submitButton[name=\"add\"]').length > 0 && jQuery('.ProductForm-submitButton[name=\"add\"]').attr('disabled') === undefined;","trigger":""},{"name":"submitted_onsite","polling":"all","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"jQuery('.o-formSuccess:visible').text().toLowerCase().indexOf('thanks for subscribing') > -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":true,"default":"false","code":"null;","trigger":"pageload"},{"name":"cart_set","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"selected_variant","polling":"vars","persist":"no","page_types":[],"testmode":false,"default":"false","code":"bouncex.website.pts === 'product' ? bouncex.utils.getNestedProp('ShopifyAnalytics.meta.selectedVariantId','') : null;","trigger":"pageload"},{"name":"is_viewable_verified_visit","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"bouncex.utils.getNestedProp('mntn.is_viewable_verified_visit');","trigger":"pageload"},{"name":"is_cross_device","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"bouncex.utils.getNestedProp('mntn.is_cross_device');","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":"var segments = {\n /* PROPERTIES */\n testMode: false,\n interceptEnabled: true,\n mirrorEnabled: true,\n dlWatcherEnabled: true,\n /* METHODS */\n /* Intercept Events */\n useIntercept: function () {\n if (this.interceptEnabled) {\n bouncex.utils.shqInterceptEvent = {\n // true blocks event, defined functions run in place of default\n 'productView': true,\n 'cartAdd': true,\n 'categoryView': true,\n 'purchase': true,\n };\n }\n },\n /* Mirror Events */\n useMirror: function () {\n if (this.mirrorEnabled) {\n bouncex.utils.shqMirrorEvent = {\n // defined functions run after designated shq_wknd_event to process event or source names\n 'view category': function () {\n //Remove all query params and # vars from cat view\n var urlArray = window.location.href.split('?')[0].split('#')[0].split('/'),\n collectionIndex = urlArray.indexOf('collections');\n if (collectionIndex > -1 && urlArray.length >= collectionIndex + 1) {\n var cat = urlArray[collectionIndex + 1];\n if (!!cat) {\n _shq.push([\n \"pageView\",\n {\n pageType: \"category\",\n catName: cat,\n catId: cat,\n },\n ]);\n } else {\n _shq.log('Cannot get category', 'warn', cat);\n }\n } else {\n _shq.log('Cannot find the collection data', 'warn', urlArray);\n }\n }\n };\n }\n },\n dlFuncs: function (e) {\n // Write handle methods here:\n //PDP\n switch (e.event) {\n case 'dl_add_to_cart':\n //_shq.log('Cart Add','ok',e.ecommerce);\n var cart = bouncex.utils.getNestedProp('ecommerce.add.products', [], e),\n items = [],\n cartTotal = 0;\n cart.forEach(function (i) {\n var ProductId = i.variant_id,\n UnitPrice = (+i.price).toFixed(2),\n Quantity = +i.quantity;\n items.push({ ProductId, UnitPrice, Quantity });\n cartTotal = cartTotal + ((+UnitPrice) * (+Quantity));\n })\n if (items.length > 0) {\n _shq.push(['onCartAdd', {\n \"Items\": items\n }])\n } else {\n _shq.log('No items to add to cart', 'warn', cart);\n }\n break;\n case 'dl_view_item':\n var products = bouncex.utils.getNestedProp('ecommerce.detail.products', [], e);\n if (products.length > 0) {\n products.forEach(function (i) {\n if (i && i.id) {\n _shq.push(['pageView', {\n \"pageType\": \"product\",\n \"productId\": i.product_id\n }])\n } else {\n _shq.log('No ID in product data', 'warn', i);\n }\n })\n } else {\n _shq.log('No products to trigger event', 'warn', e);\n }\n break;\n case 'dl_view_cart':\n var cart = bouncex.utils.getNestedProp('ecommerce.impressions', [], e),\n items = [],\n cartTotal = e && e.cart_total ? (+e.cart_total).toFixed(2) : 0.00;\n cart.forEach(function (i) {\n var ProductId = i && i.variant_id ? i.variant_id : null,\n UnitPrice = i && i.price ? (+i.price).toFixed(2) : null,\n Quantity = i && i.quantity ? +i.quantity : null;\n if (!!ProductId && !!UnitPrice && !!UnitPrice) {\n items.push({ ProductId, UnitPrice, Quantity });\n }\n })\n if (items.length > 0) {\n _shq.push([\n \"onCartView\",\n {\n Items: items,\n Total: cartTotal,\n },\n ]);\n } else if(items.length === 0 && cart.length === 0) {\n _shq.push(['onCartEmpty']);\n }else{\n _shq.log('Cart has products, but products could not be added','warn',cart);\n }\n break;\n case 'dl_purchase':\n \n var total = bouncex.utils.getNestedProp('ecommerce.purchase.actionField.sub_total', null, e);\n var oid = bouncex.utils.getNestedProp('ecommerce.purchase.actionField.order_name', null, e);\n var products = bouncex.utils.getNestedProp('ecommerce.purchase.products', [], e);\n var purchaseItems = [];\n products.forEach(function(item){\n purchaseItems.push({\n 'productId': item.variant_id,\n 'price': Number(item.price),\n 'qty': item.quantity\n });\n });\n if(purchaseItems.length > 0 && !!oid && !!total){\n _shq.push(['pageView',\n {\n 'pageType': 'purchase',\n 'orderId': oid.replace('#',''),\n 'total': Number(total),\n 'orderItems': purchaseItems\n }]); \n }else{\n _shq.log('not all data available for purchase event','warn',e);\n }\n break;\n default:\n }\n },\n useDLWatcher: function () {\n if (!!this.dlWatcherEnabled) {\n window.bouncex.et.onTrue(function () {\n return window.bouncex.utils.getNestedProp('window._shq.loaded') && !!window.dataLayer && !!bouncex.et.setInterval;\n }, function () {\n // instantiate DataLayerHandler Object\n var dlWatcher = new _shq.DataLayerHandler(window.dataLayer);\n // invoke watch method\n dlWatcher.watch(function (e) {\n segments.dlFuncs(e);\n }, {});\n });\n }\n },\n /* Initialize Segments Tracking */\n init: function () {\n // test mode\n // Don't add to bouncex.utils if testmode is true;\n if (this.testMode && !bouncex.testmode.bxdev) return;\n // attach object to window & bouncex.utils\n if (window.bouncex.utils) bouncex.utils.segments = this;\n // initialize intercept and mirror, comment out if not needed\n this.useIntercept();\n this.useMirror();\n }\n}\n\nsegments.init();","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 Paw.com mktg txts (like cart reminders) to this #, per terms.","eventSharing":true,"shqId":"ssxsvbshvu-1","enabled":1},"pde":true,"fmc":["US","CA"],"fme":true,"fmx":"","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":"286724027","ga4_measurement_id":"G-RRENT6HHT3","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":"ababbfcac9b56e701d1f877082b16c1d","creativesBaseStyles":"a53944a2","gpsAuction":"1375a7b38c31e98d14fe7f396b72da14","inbox":"02aca5df0e176b8810a86da97ac05424","onsite":"0e56ab6ba004ee080ce3deb3edae35e9","sms":"e39203556bab2366e56296ce42e974a7","websdk":"3314cefb9e5f7de4ce4a17e3cca4b891"}; bouncex.push = function(pushData) { bouncex.pushedData.push(pushData); } var runtime = document.createElement('script'); runtime.setAttribute('src', '//assets.bounceexchange.com/assets/smart-tag/versioned/runtime_6459738026535cda4232dc813c61447d.br.js'); runtime.setAttribute('async', 'async'); runtime.setAttribute('onload', 'bouncex.initializeTag()'); bouncex.initializeTag = function() { var script = document.createElement('script'); script.setAttribute('src', '//assets.bounceexchange.com/assets/smart-tag/versioned/main-v2_e3c047536bdaca2c8911cb1f6f6d8aa7.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() {}; }; document.body.appendChild(runtime); } window._shq = window._shq || []; var eventSharingCartridge = document.createElement('script'); eventSharingCartridge.setAttribute('src', '//assets.bounceexchange.com/assets/smart-tag/versioned/wknd_audiences_2648fa8509e4b3a98a2790bb8171ddc1.js'); eventSharingCartridge.setAttribute('async', 'async'); document.body.appendChild(eventSharingCartridge); } if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", bxBootstrap); } else { bxBootstrap(); }})();