(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":2002,"name":"BISSELL","cookie_name":"bounceClientVisit2002","domain":"bissell.com","ct":"fp_local_storage","ally":0,"ei":0,"tcjs":"","cjs":"//sets submitted_onsite on click of native email footer submit\nbouncex.on(jQuery('input.submitEmailSubscriptionFooter'), 'click', function() {\n\tbouncex.setVar('submitted_onsite', true);\n});\n\n//Fixes specificity issue on iOS AR + MM\nbouncex.addCss('html.bx-client-overlay-ios body.bx-client-overlay-ios {position: absolute !important;}', bouncex.head[0]);\n\nif(bouncex.website.pts === \"cart\"){\n var items = [];\n jQuery('.card.product-info').each(function(_, b){\n var item = {};\n item.img = jQuery(b).find('.product-image').attr('src')\n items.push(item);\n });\n bouncex.setVar('cart_images', JSON.stringify(items));\n bouncex.setBounceCookie();\n}\n\n\njQuery(document).on('ajaxComplete.bxatc', function(e,x,s){\n if(s.url.indexOf(\"Cart-AddProduct\") > -1){\n var total = x.responseJSON.cart.totals.subTotal.slice(1).replace(',', '');\n bouncex.setVar(\"cart_value\", total);\n var itemId = s.data.split('&')[0].slice(4);\n if(bouncex.website.pts === \"category\"){ \n var item = {};\n item.img = jQuery('.grid-tile[data-pid=\"'+itemId+'\"] .image-container img').attr('src');\n var items = JSON.parse(bouncex.vars.cart_images) || [];\n items.push(item);\n bouncex.setVar('cart_images', JSON.stringify(items));\n } else if(bouncex.website.pts === \"product\"){\n var item = {};\n item.img = bouncex.vars.imageurl;\n var items = JSON.parse(bouncex.vars.cart_items) || [];\n items.push(item);\n bouncex.setVar('cart_images', JSON.stringify(items));\n }\n\n \n if(jQuery('[data-pid='+itemId + ']').find('.sales.sale-red').length > 0 || ['1650', '1650A', '1785', '1785A', '1548'].indexOf(itemId) >= 0 || itemId[0] === \"B\"){\n bouncex.setVar(\"coupon_eligible\", false);\n } else if(jQuery('[data-pid='+itemId + ']').find('.sales:not(.sale-red)').length > 0){\n bouncex.setVar(\"full_price_item_in_cart\", true);\n }\n bouncex.setBounceCookie();\n\n }\n})","force_https":false,"waypoints":false,"content_width":0,"gai":"UA-2249291-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":1},"burls":[],"ple":false,"fbe":false,"mas":3,"map":1,"gar":true,"ete":1,"ettm":false,"etjs":"/* eslint sort-vars: 0 */\nvar COOKIE_NAME = 'dwanonymous_efe02c3d69a8c3d3f15df3b9a05e644e',\n\tEXCLUDED_IDS = [\n\t\t'1548',\n\t\t'1650',\n\t\t'1650A',\n\t\t'16501',\n\t\t'16507',\n\t\t'1785',\n\t\t'1785A',\n\t\t'1785B',\n\t\t'1844',\n\t\t'1844A',\n\t\t'1986',\n\t\t'2002',\n\t\t'2003',\n\t\t'2087',\n\t\t'2164A',\n\t\t'2281',\n\t\t'2283',\n\t\t'22839',\n\t\t'22889',\n\t\t'2290A',\n\t\t'2303',\n\t\t'2306A',\n\t\t'24791',\n\t\t'2503',\n\t\t'2551',\n\t\t'2554A',\n\t\t'2746A'\n\t];\n\n/** ****** helper functions *********/\nfunction isRevolutionUrl(url) {\n\treturn url && url.indexOf('revolution') > -1;\n}\n\nfunction isCrosswaveUrl(url) {\n\treturn url && url.indexOf('crosswave') > -1;\n}\n\nfunction isValidDomain() {\n\treturn ['www.bissell.com'].indexOf(window.location.hostname) > -1 && isEnglish() && bouncex.state.geo.country_code === 'US';\n}\n\nfunction isEnglish() {\n\treturn jQuery('html').attr('lang') === 'en';\n}\n\nfunction getPageUrl() {\n\treturn jQuery('link[rel=\"canonical\"]').attr('href');\n}\n\nfunction getCategoryPageUrl() {\n\treturn bouncex.utils.url.allowParams('q');\n}\n\nfunction getPdpId() {\n\treturn jQuery('.product-id:visible:first').text().trim();\n}\n\nfunction getPageTitle() {\n\treturn jQuery('h1.product-name').text().trim();\n}\n\nfunction getCategoryPageTitle() {\n\treturn bouncex.utils.getNestedProp('digitalData.pageData.pageName') || 'all';\n}\n\nfunction getItemCategory() {\n\treturn jQuery('li.breadcrumb-item:last').text().trim() || 'all';\n}\n\nfunction getItemImage() {\n\tvar imgUrl = jQuery('div.slick-active img.slide-img:first').attr('src');\n\n\treturn encodeURI(imgUrl);\n}\n\nfunction isSaleItem() {\n\treturn jQuery('div.product-content span.strike-through:visible').length > 0;\n}\n\nfunction isInStock() {\n\treturn jQuery('button.add-to-cart:first[disabled]').length === 0;\n}\n\nfunction setVarAndCookie(varName, value) {\n\tbouncex.setVar(varName, value);\n\tbouncex.setBounceCookie();\n\n}\n\n/** ****** item tracking *********/\nfunction buildItem() {\n\tvar id = getPdpId(),\n\t\turl = getPageUrl(),\n\t\texcluded = EXCLUDED_IDS.indexOf(id) > -1 || isRevolutionUrl(url) || isCrosswaveUrl(url);\n\n\treturn {\n\t\tid: id,\n\t\tcopy: getPageTitle(),\n\t\tcategory: getItemCategory(),\n\t\timageurl: getItemImage(),\n\t\turl: url,\n\t\tinstock: isInStock(),\n\t\tsale: isSaleItem(),\n\t\texcluded: excluded,\n\t\tprice: parseFloat(jQuery('.product-item-wrapper .sales').text().match(/\\d*\\.\\d*/g)[0]),\n\t\texcludedprodabandon: bouncex.utils.gtmLookup('ecommerce.detail.products.0.promotion_exclusion') || false\n\t};\n}\n\nfunction trackItem() {\n\tvar item;\n\tbouncex.et.onTrue(function () {\n\t\titem = buildItem();\n\t\treturn item.id && item.imageurl && item.category && item.copy;\n\t}, function () {\n\t\tbouncex.push(['item', item]);\n\t\tbouncex.push(['view item', {\n\t\t\t'item:id': item.id,\n\t\t\t'item:itemgroupid': item.id\n\t\t}]);\n\n\t\tif (isRevolutionUrl(item.url)) {\n\t\t\tbouncex.push(['view_revolution']);\n\t\t} else if (isCrosswaveUrl(item.url)) {\n\t\t\tbouncex.push(['view_crosswave']);\n\t\t}\n\t}, 15);\n}\n\nfunction trackQuickview() {\n\tbouncex.et.onVisible('.product-quickview:visible', function (el) {\n\t\tvar id = jQuery(el).attr('data-pid');\n\n\t\tbouncex.push(['view item', {\n\t\t\t'item:id': id,\n\t\t\t'item:itemgroupid': id\n\t\t}]);\n\t});\n}\n\n/** ************* Category Tracking ***************/\nfunction getItemsIds() {\n\treturn jQuery('.grid-tile.product').map(function () {\n\t\tvar id = jQuery(this).attr('data-pid');\n\n\t\tif (id && id.length > 0) {\n\t\t\treturn id;\n\t\t}\n\t}).toArray().join();\n}\n\nfunction trackCategory() {\n\tvar itemIds = getItemsIds();\n\n\tif (itemIds.length > 0) {\n\t\tbouncex.push(['view category', {\n\t\t\t'items:ids': getItemsIds(),\n\t\t\t'page:title': getCategoryPageTitle(),\n\t\t\t'page:url': getCategoryPageUrl()\n\t\t}]);\n\t}\n}\n\n/** ****** track Add To Cart and custom cart events *********/\nfunction trackATC(e, x, s) {\n\tif (s.url.indexOf('/Cart-AddProduct') > -1 && s.type === 'POST') {\n\t\tvar id = bouncex.utils.url.getParam('pid', s.data),\n\t\t\tcookie;\n\t\tbouncex.et.onTrue(\n\t\t\tfunction () {\n\t\t\t\tcookie = bouncex.getBounceCookie(COOKIE_NAME);\n\t\t\t\treturn cookie;\n\t\t\t},\n\t\t\tfunction () {\n\t\t\t\tbouncex.push(['add to cart', {\n\t\t\t\t\t'item:id': id,\n\t\t\t\t\t'cart:token': cookie\n\t\t\t\t}]);\n\t\t\t\tbouncex.setv('cart_set', true);\n\t\t\t},\n\t\t\t5);\n\t} else if (s.url.indexOf('/Cart-MiniCartShow') > -1 && s.type === 'GET') {\n\t\tjQuery('.line-item-name a', x.responseText).each(function (i, el) {\n\t\t\tvar url = jQuery(el).attr('href');\n\t\t\tif (isRevolutionUrl(url)) {\n\t\t\t\tbouncex.push(['revolution_in_cart']);\n\t\t\t} else if (isCrosswaveUrl(url)) {\n\t\t\t\tbouncex.push(['crosswave_in_cart']);\n\t\t\t}\n\t\t});\n\t}\n}\n\n/** ****** track empty cart *********/\nfunction trackEmptyCart() {\n\tif (bouncex.vars.cart_set && bouncex.vars.cart_qty === 0) {\n\t\tbouncex.push(['empty_cart', {}]);\n\t\tsetVarAndCookie('cart_set', false);\n\t}\n}\n\n/** ****** cart replenishment *********/\nfunction replenish(cart) {\n\tbouncex.utils.cookies.create({\n\t\tname: COOKIE_NAME,\n\t\tvalue: cart.token\n\t});\n\twindow.location.href = window.location.pathname + '?bx_replen=true';\n}\n\n/** ****** Initiate cart tracking *********/\nfunction initCartTracking() {\n\tbouncex.et.cart.init({\n\t\treplenish: replenish,\n\t\treplenishmentType: 'cookie'\n\t});\n\n\tbouncex.et.on(jQuery(document), 'ajaxComplete', trackATC);\n\tbouncex.et.onVarChange('cart_qty', trackEmptyCart);\n\ttrackEmptyCart();\n}\n\n\n/** ****** track logged in user *********/\nfunction getEmail() {\n\tvar custInfo = jQuery('.card-body dd');\n\tfor (var i = 0; i < custInfo.length; i++) {\n\t\tvar divText = jQuery(custInfo[i]).text();\n\t\tif (bouncex.utils.validate.email(divText)) {\n\t\t\treturn divText;\n\t\t}\n\t}\n\treturn false;\n}\n\nfunction trackLoggedInUser() {\n\tvar email = getEmail();\n\n\tif (email && !bouncex.vars.logged_in_identified) {\n\t\tbouncex.push(['user', {\n\t\t\temail: email,\n\t\t\tsource: 'LoggedIn'\n\t\t}]);\n\t\tbouncex.setv('logged_in_identified', true);\n\t}\n}\n\n/** ****** itiniate tracking code *********/\nif (isValidDomain()) {\n\tinitCartTracking();\n\ttrackLoggedInUser();\n\ttrackQuickview();\n\n\tswitch (bouncex.website.pts) {\n\t\tcase 'product':\n\t\t\ttrackItem();\n\t\t\tbreak;\n\t\tcase 'category':\n\t\t\ttrackCategory();\n\t\t\tbreak;\n\t\tcase 'search':\n\t\t\ttrackCategory();\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tbreak;\n\t}\n}","dge":true,"bxidLoadFirst":false,"pie":true,"cme":true,"gbi_enabled":0,"bpush":false,"pt":{"cart":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"exactly","prop2":"","prop3":"","val":"https://www.bissell.com/shopping-cart"},{"activation":"js","prop":"","prop2":"","prop3":"","val":"jQuery('.page[data-action=\"Cart-Show\"]').length > 0"}]]},"category":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"jQuery('.page[data-action=\"Search-Show\"]').length > 0 && jQuery('.keyword-banner h2:contains(\"Search\")').length == 0\r\n"}]]},"checkout":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"checkout-begin"}]]},"home":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"exactly","prop2":"","prop3":"","val":"https://www.bissell.com/"},{"activation":"js","prop":"","prop2":"","prop3":"","val":"jQuery('.page[data-action=\"Sites-bissell-Site\"]').length > 0"}]]},"product":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"jQuery('.page[data-action=\"Product-Show\"], #revolution, div[id*=\"crosswave-\"]').length > 0;"}]]},"search":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"jQuery('.page[data-action=\"Search-Show\"]').length > 0 && jQuery('.keyword-banner h2:contains(\"Search\")').length > 0\r\n"}]]}},"els":{"PDP_add_to_cart_actions":".prices-add-to-cart-actions >div:eq(0)","PDP_product_image":".product-carousel:visible","PDP_quantity":".quantity-container","PDP_subscribe_and_save":"[test=\"regularEligible\"] p:eq(1)"},"vars":[{"name":"cart_items","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"0","code":"(function(){\n var cart = jQuery('li.cart');\n if(cart.text().length && window.location.href.indexOf('address-information') === -1 && window.location.href.indexOf('review-and-pay') === -1){\n return cart.text().trim().split(' ')[0];\n }\n return null;\n})();\n","trigger":""},{"name":"logged_in","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('a.logout, #logout, [role=\"menuitem\"]:contains(\"Log Out\")').length > 0 || jQuery('#checkout-main').attr('data-customer-type') == \"registered\"","trigger":""},{"name":"prod_name","polling":"none","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"(function() {\n var productName = jQuery('.product-item-wrapper h1.product-name').text().trim() || jQuery('#revolution h1, div[id*=\"crosswave-\"] h1').text().trim();\n if (productName) {\n return productName.split('|')[0].replace('™', '').replace('®', '').replace('®', '').trim();\n }\n return false;\n})();","trigger":""},{"name":"price","polling":"none","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"jQuery('.product-item-wrapper .sales').text().match(/\\d*\\.\\d*/g)[0]","trigger":""},{"name":"ibx_test","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"window.location.href.indexOf('ibx_test') > -1 || null","trigger":""},{"name":"product_page","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"bouncex.website.pts === 'product' || window.digitalData.pageData.pageType === 'product detail';","trigger":""},{"name":"email_coupon","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function() {\n var o;\n if (window.location.href.indexOf('coupon_code=') > -1) {\n o = window.location.href;\n } else {\n o = (bouncex.cookie && bouncex.cookie.lp)? decodeURIComponent(bouncex.cookie.lp) : window.location.href;\n }\n var e = 'coupon_code'.replace(/[\\[]/, '\\\\[').replace(/[\\]]/, '\\\\]');\n var t = '[\\\\?&]' + e + '=([^&#]*)'\n , i = new RegExp(t)\n , a = i.exec(o);\n return null == a ? false : decodeURIComponent(a[1]);\n})()","trigger":""},{"name":"email_expired","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function() {\n var o = (bouncex.cookie && bouncex.cookie.lp)? decodeURIComponent(bouncex.cookie.lp) : window.location.href;\n var e = 'expdate'.replace(/[\\[]/, '\\\\[').replace(/[\\]]/, '\\\\]');\n var t = '[\\\\?&]' + e + ':([^&#]*)'\n , i = new RegExp(t)\n , a = i.exec(o);\n if (a == null) {\n return null;\n } else {\n var expiration = decodeURIComponent(a[1]).split('');\n var month = expiration[0] + expiration[1];\n var day = expiration [2] + expiration [3];\n var year = expiration [4] + expiration [5] + expiration [6] + expiration[7];\n var expirationDate = new Date(year, parseInt(month) - 1, day);\n var today = new Date();\n if (today > expirationDate) {\n return true;\n } else {\n return false;\n }\n }\n})()","trigger":""},{"name":"product_category","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function(){\n\tif(bouncex.vars.product_page){\n\t\tvar breadCrumbLi = jQuery('.bread-crumbs li:last');\n\t\tvar subCategory = breadCrumbLi.prev().text().replace(' / ','').toLowerCase();\n\t\tvar category = breadCrumbLi.prev().prev().text().replace(' / ','').toLowerCase();\n\n\t\treturn category+ '-' +subCategory;\n\t\t\n\t}\n\n\tif(jQuery('.bread-crumbs li').length > 3 && jQuery('.prod-listing').length > 0){\n\t\tvar breadCrumbLi = jQuery('.bread-crumbs li:last');\n\t\tvar subCategory = breadCrumbLi.text().toLowerCase();\n\t\tvar category = breadCrumbLi.prev().text().replace(' / ','').toLowerCase();\n\n\t\treturn category+'-'+subCategory;\n\t}\n\n\treturn false;\n})();","trigger":""},{"name":"filtered_products_tracked","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"0","code":"(function(){\n if(bouncex.vars.product_category){\n return JSON.parse(window.localStorage.getItem('bxProdHist')) && JSON.parse(window.localStorage.getItem('bxProdHist')).filter(function(prod){ return prod.category.categoryName === bouncex.vars.product_category;}).length;\n }\n \n return false;\n})();","trigger":""},{"name":"isr_test","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"window.location.href.indexOf('isr_test') > -1 || null;","trigger":""},{"name":"cart_value","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"(function(){\n var miniCart = jQuery(\".mini-cart .sub-total\");\n \n if(jQuery(\".mini-cart .sub-total\").length > 0){\n return Number(jQuery(\".mini-cart .sub-total\").text().replace(\"Sub-Total:\", \"\").replace(/[$,]/g, \"\"));\n }else if(bouncex.website.pts === 'cart'){\n if(jQuery('.cart-block .sub-total').length > 0){\n return Number(jQuery('.cart-block .sub-total').text().replace(/[$,]/g, \"\"));\n }\n return Number(jQuery(\".order-summary .order-details .line-item .price:not(.alert)\").text().replace(/[$,]/g, \"\"));\n }\n return null; \n})();","trigger":""},{"name":"mobile_nav_open","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('.main-menu.navbar-toggleable').hasClass('in');","trigger":""},{"name":"coupon_eligible","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"true","code":"(function(){\r\n if(jQuery('.cart .product-summary, .cart .product-info').length > 0){\r\n return jQuery('.cart .product-summary, .cart .product-info').children().filter(function(_, b) {\r\n var item = jQuery(b);\r\n var sale = item.find('.price .sales').length > 0;\r\n var sku = item.find('.line-item-model').text().split(': ').pop().toUpperCase().trim();\r\n var startsWithB = sku.substring(0, 1) === 'B';\r\n var isHero = ['1650', '1650A', '1785', '1785A', '1548'].indexOf(sku) >= 0;\r\n\r\n if (sale || startsWithB || isHero) {\r\n return true; \r\n }\r\n return false;\r\n }).length == 0;\r\n }\r\nreturn null;\r\n})()","trigger":""},{"name":"out_of_stock","polling":"none","persist":"no","page_types":[],"testmode":true,"default":"false","code":"// (function(){\n// if(bouncex.vars.product_page === true){\n// var button = jQuery('article.full-width div.prod-detail__top-section div.button');\n// if(button.length >0 && button.hasClass('js-add-cart') === false){\n// if(button.hasClass('rf-btn--atc')){\n// return false;\n// }\n// return true;\n// }\n// }\n// return false;\n// })();","trigger":""},{"name":"user_tracked","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":""},{"name":"already_liked","polling":"vars","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function(){\n\tif(bouncex.vars.product_page){\n\t\tvar found = false;\n\t\tif(localStorage.getItem('bxFavHist') != null) {\n JSON.parse(localStorage.getItem('bxFavHist')).forEach(function(v,i){\n var prodSku = jQuery('.prod-detail__title').length !== 0 ? jQuery('.prod-detail__title h1').text().trim().split('| ')[1] : jQuery('.product-info .title').text().trim().split('| ')[1]\n if(v.sku === prodSku){\n found = true;\n }\n });\n }\n\t\treturn found;\n }else{\n\t\treturn false;\n }\n})();\n","trigger":""},{"name":"isr_liked_items","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"window.localStorage.getItem('bxFavHist') ? JSON.parse(window.localStorage.getItem('bxFavHist')).length : null;","trigger":""},{"name":"private_browser","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"((sessionStorage.length === 0 && bouncex.browser.safari) || bouncex.browser.ios !== false) ? true : false","trigger":""},{"name":"sale_present","polling":"none","persist":"no","page_types":["product","category"],"testmode":false,"default":"false","code":"jQuery('.product-grid .list-col [data-target=\"#saleitem\"]').length > 0","trigger":""},{"name":"breadcrumb","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function(){\r\n if(jQuery('.breadcrumb-item').length > 0){\r\n return jQuery('.breadcrumb-item').last().text().trim();\r\n }\r\n return false;\r\n})()","trigger":""},{"name":"category_title","polling":"none","persist":"no","page_types":["category"],"testmode":false,"default":"false","code":"bouncex.website.pts === \"category\" ? jQuery('.search-banner h1:first').text().trim().replace('&', '& ') : false","trigger":""},{"name":"pagetype","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function() {\n if (jQuery('.searchParent').length > 0) {\n return 'search';\n } else if (jQuery('.product-listing-page').length > 0 || jQuery('.full-width.parts').length > 0) {\n return 'category';\n } else if (jQuery('.product-detail-page').length > 0 || jQuery('.part-detail').length > 0) {\n return 'product';\n } else if (jQuery('form[action=\"/\"]').length > 0){\n return 'home';\n }\n})();\n","trigger":""},{"name":"imageurl","polling":"vars","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function(){\r\n\tif(jQuery('.primary-images-container .slick-slide[data-slick-index=\"0\"]').length != 0){\r\n\t\treturn jQuery('.primary-images-container .slick-slide[data-slick-index=\"0\"] img').attr('src')\r\n } else {\r\n\t\treturn jQuery('[property=\"og:image\"]').length > 0 ? jQuery('[property=\"og:image\"]').attr('content').split('?')[0] : false;\r\n }\r\n})();","trigger":""},{"name":"sale_checked","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('#refinement-product-specials span.selected:contains(\"On Sale!\")').length > 0","trigger":""},{"name":"in_stock","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function(){\n if(bouncex.website.pts === 'product'){\n var atcButton = jQuery('.product-content .add-to-cart');\n if(atcButton.length > 0 && atcButton.attr('disabled') === undefined){\n return true;\n }\n return false;\n }\n})();","trigger":"pageload"},{"name":"cart","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"","code":"null;","trigger":""},{"name":"ever_logged_in","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"bouncex.vars.logged_in ? true : null;","trigger":""},{"name":"on_sale","polling":"none","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"jQuery('.product-item-wrapper .sales.sale-red').length > 0","trigger":""},{"name":"cart_qty","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"jQuery('.minicart-quantity:first').text().trim() || null","trigger":""},{"name":"first_product_name_on_page","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('.prod-listing').first().find('h3 a').text() || false;","trigger":""},{"name":"review_submitted","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"jQuery('.thank-you-page').text().indexOf('process your review') > -1 || null;","trigger":""},{"name":"full_price_item_in_cart","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"(function(){\r\n var saleItemInCart, \r\n fullPriceInCart;\r\n \r\n if(jQuery('.cart .product-summary').length > 0){\r\n saleItemInCart = jQuery('.cart .product-summary .price .sale-red').length > 0;\r\n fullPriceInCart = jQuery('.cart .product-summary .price .sales:not(.sale-red)').length > 0\r\n } else if(bouncex.website.pts === \"cart\"){\r\n saleItemInCart = jQuery('.cart.cart-page .card .sale-red').length > 0\r\n fullPriceInCart = jQuery('.cart.cart-page .card .sales:not(.sale-red)').length > 0\r\n }\r\n if(bouncex.cookie.d != \"d\" && bouncex.website.pts != \"cart\"){\r\n return null;\r\n }\r\n \r\n if(window.location.pathname.indexOf('address-information') === -1 && window.location.pathname.indexOf('review-and-pay') === -1 && bouncex.website.pts !== \"checkout\" && window.location.href.indexOf(\"checkout-login\") == -1){\r\n if (bouncex.vars.cart_items > 0 && !fullPriceInCart){\r\n return false;\r\n } else if (fullPriceInCart) {\r\n return true;\r\n } \r\n return false; \r\n }\r\n return null\r\n})();","trigger":"pageload"},{"name":"total_full_price_items_in_cart","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"0","code":"(function(){\r\n\tvar total = 0;\r\n\t\r\n\tjQuery('.cart .product-summary .price .sales:not(.sale-red), .cart .product-info .price .sales:not(.sale-red)').each(function(_,b){\r\n\t\ttotal += Number(jQuery(b).parents('.card').find('.quantity').val())\r\n });\r\n return bouncex.vars.cart_qty === 0 ? 0 : bouncex.vars.cart_qty > 0 && total != 0 ? total : null\r\n})();","trigger":"pageload"},{"name":"full_price_reducedby_ten_percent","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":" bouncex.vars.price ? (bouncex.vars.price - (bouncex.vars.price * 0.10)).toFixed(2) : null;","trigger":"pageload"},{"name":"page_type","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function() {\n return bouncex.website.pts\n})();\n","trigger":"pageload"},{"name":"submitted_onsite","polling":"none","persist":"permanent","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":"logged_in_identified","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"cart_images","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"prod_price","polling":"none","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"(function(){\n if(jQuery('#revolution .sales, div[id*=\"crosswave-\"] .sales').length > 0){\n return jQuery('#revolution .sales, div[id*=\"crosswave-\"] .sales').text().match(/\\d*\\.\\d*/g)[0];\n }\n return jQuery('.product-item-wrapper .sales').text().match(/\\d*\\.\\d*/g)[0];\n})();","trigger":"pageload"},{"name":"subscribe_option_present","polling":"none","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"jQuery('.attributes .ar-disclaimer:visible').length > 0;","trigger":"pageload"},{"name":"subscribe_option_selected","polling":"all","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"jQuery('.product-content og-offer[subscribed]').length > 0;","trigger":"pageload"},{"name":"left_in_stock","polling":"all","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"(function() {\n var gtmdata = jQuery('.add-to-cart').data('gtmdata'),\n atc = jQuery('.prices-add-to-cart-actions .add-to-cart:enabled').length > 0,\n ats = gtmdata && gtmdata.ats;\n if (ats === null || ats === undefined || ats > 50 || !atc) { \n return false;\n }\n return ats;\n})();","trigger":"pageload"},{"name":"cta_out_of_stock","polling":"all","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"jQuery('.add-to-cart').text().toLowerCase().indexOf('out of stock') > -1;","trigger":"pageload"},{"name":"bissell_onsite_testing","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('.vwo-pdp-sticky-atc').length > 0;","trigger":"pageload"},{"name":"sticky_atc_visible","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('.product-detail > .sticky-atc-container').is(':visible') && window.scrollY > 75;","trigger":"pageload"},{"name":"product_excludedfromdiscount","polling":"none","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"(function(){\n var ecommerceObject = bouncex.utils.getNestedProp('window.dataLayer').find(function(x){ return x.ecommerce });\n\n if(ecommerceObject){\n return ecommerceObject.ecommerce.detail.products[0].promotion_exclusion;\n } \n else return false;\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":{"et_rid":"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":"/** \n * Segments - Cartridge Boilerplate\n * This code belongs in pre-init.js. If you want to write code\n * that runs when the page loads but does not leverage the intercept\n * or mirror methods use the Event Tracking code block. Don't forget\n * to change testMode to false to set your code live.\n */\n\nvar segments = {\n /* PROPERTIES */\n testMode: false,\n interceptEnabled: true,\n mirrorEnabled: true,\n dlWatcherEnabled: false,\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': false,\n 'cartAdd': true,\n 'cartEmpty': false,\n 'categoryView': false,\n 'purchase': false,\n 'coupon': false,\n 'search': false,\n 'checkout': false,\n 'email': false,\n 'phone': false\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 'reloadcampaigns': false,\n 'pageview': function() {\n // Search\n var sp = bouncex.utils.getParam('q');\n\n if (bouncex.website.pts === 'search' && sp) {\n _shq.push(['pageView', {\n pageType: 'search',\n searchPhrase: sp.replace(/\\+/gi, ' ')\n }]);\n }\n },\n 'add to cart': function() {\n var getAtcObj = bouncex.utils.getNestedProp('window.dataLayer', []).filter(function(e) {\n return e.event === 'addToCart';\n }).pop(),\n prodId = bouncex.utils.getNestedProp('ecommerce.add.products[0].id', '', getAtcObj),\n prodPrice = bouncex.utils.getNestedProp('ecommerce.add.products[0].price', '', getAtcObj),\n prodQty = bouncex.utils.getNestedProp('ecommerce.add.products[0].quantity', '', getAtcObj);\n\n if (getAtcObj && prodId && prodPrice && prodQty) {\n _shq.push(['onCartAdd', {\n CartId: null,\n Items: [{\n ProductId: prodId,\n UnitPrice: prodPrice,\n Quantity: prodQty\n }],\n Total: +prodPrice * +prodQty\n }]);\n }\n\n },\n 'view item': false,\n 'select_sku': false,\n 'item': false,\n 'eligible': false,\n 'pop': false,\n 'visit': false\n };\n }\n },\n dlFuncs: function(e) {\n // Write handle methods here:\n //PDP\n if (e.PageType && e.PageType === 'ProductPage') {\n //do PDP event\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 qspObjectify: function(url, search) {\n if (url) {\n var qs = url.split(\"?\").pop();\n if (qs.indexOf(\"http\") < 0) {\n var qsArr = qs.split(\"&\");\n var qsObj = qsArr.map(function(item, index) {\n var itemKey = item.split(\"=\").shift(),\n itemValue = item.split(\"=\").pop(),\n tempObj = {};\n tempObj[itemKey] = itemValue;\n return tempObj;\n });\n search = typeof search == \"string\" ? [search] : search;\n if (search) {\n var searchResults = [];\n qsObj.forEach(function(item, index) {\n var key = Object.keys(item).toString(); // this needs to be a string ;)\n if (search.includes(key)) {\n searchResults.push(item[key]);\n }\n });\n if (searchResults.length > 0) {\n return searchResults[0];\n } else {\n return undefined;\n }\n } else {\n return qsObj;\n }\n }\n }\n },\n /* Initialize Segments Tracking */\n init: function() {\n // test mode\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\n // initialize intercept and mirror, comment out if not needed\n this.useIntercept();\n this.useMirror();\n }\n}\n\nsegments.init();\n\n//To use dlFuncs call this in Event Tracking\n//bouncex.utils.segments.useDLWatcher();","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 BISSELL mktg txts (like cart reminders) to this #, per terms.","eventSharing":true,"shqId":"btcxaeq6ae-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":"315656386","ga4_measurement_id":"G-WK85VKY8D6"} ; 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: 0 }; bouncex.assets = {"ads":"44fda29a3ca8b3798fe72ceb2caeade8","creativesBaseStyles":"a53944a2","gpsAuction":"1375a7b38c31e98d14fe7f396b72da14","inbox":"02aca5df0e176b8810a86da97ac05424","onsite":"0e56ab6ba004ee080ce3deb3edae35e9","sms":"e39203556bab2366e56296ce42e974a7","websdk":"0704dae1eb637cbeb4a847506058402d"}; 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.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_b0f9dea1e3910d3b6e492e0d6dab8565.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(); }})();