(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":3323,"name":"Altice | Optimum West","cookie_name":"bounceClientVisit3323","domain":"optimum.com","ct":"bind_to_domain","ally":1,"ei":0,"tcjs":"","cjs":"// dual omniture/GA reporting https://www.wrike.com/open.htm?id=574866095\nwindow.bouncex.omnitureLinkTrack = function(action, label) {\n var config = {\n 'impression': 'Impression',\n 'submission': 'Submit',\n 'click': 'Click'\n };\n\n try {\n var s = s_gi('cablevis-sdl-com-prod');\n var campaignName = label.match(/(?:variation|control) - (.*)(?:\\([^)]*\\))/) ? label.match(/variation - (.*)(?:\\([^)]*\\))/)[1].trim() : label;\n // Instruct omniture to track additional variables or properties\n s.linkTrackVars = 'eVar54';\n s.eVar54 = 'BounceX-' + campaignName + '-' + config[action];\n\n // Fire track link event\n s.tl(true, 'o', 'BounceX-' + campaignName + '-' + config[action]);\n } catch (e) {\n bouncex.log('BX Omniture Error: ' + e);\n }\n};\n\nbouncex.report_ga = function(action,label,bypass){\n window.bouncex.omnitureLinkTrack(action, label);\n bypass = typeof(bypass)!='undefined' && !!bypass;\n if(typeof(action)!='string'||typeof(label)!='string') return;\n var interaction = false;\n // enforce case convention\n if(!bypass) {\n action = action.charAt(0).toUpperCase() + action.slice(1).toLowerCase();\n interaction = action=='Impression';\n action = 'BounceX ' + action;\n }\n if (typeof window.gtag === 'function') {\n window.gtag('event', action, {\n 'send_to': bouncex.website.gai,\n 'event_category': 'BounceX',\n 'event_label': label\n });\n\n } else if(typeof window._gaq === 'object') {\n if(bouncex.website.gai){\n window._gaq.push(['_setAccount', bouncex.website.gai]);\n }\n var strippedLabel = label.replace(/\\(|\\)/g, ''); // window._gaq encodes close paren as '1\n window._gaq.push(['_trackEvent','BounceX',action,strippedLabel,,interaction]);\n }\n};\n\n//set RTV current_customer\nif (jQuery('.btn.btn-success.btn-green').length > 0) {\n jQuery('.btn.btn-success.btn-green').click(function() {\n if (jQuery('label:contains(\"I\\'m a current customer\")').find('.fa.fa-circle.selected').length > 0 && jQuery('.error-section-wrapper.has-error.ng-hide').length > 2) {\n bouncex.setVarAndReload('current_customer', true); \n } \n });\n}","force_https":false,"waypoints":false,"content_width":900,"gai":"UA-466638-1","swids":"","sd":0,"ljq":"auto","campaign_id":0,"is_preview":false,"aco":{"first_party_limit":"3500","local_storage":"1"},"cmp":{"gdpr":1,"gmp":0,"whitelist_check":0},"burls":[],"ple":false,"fbe":true,"mas":2,"map":1,"gar":true,"ete":1,"ettm":false,"etjs":"\nif (window.location.pathname.indexOf('/Buyflow/NoService') > -1) {\n bouncex.setv('has_visited', true);\n bouncex.setv('zipcode_serviceable', false);\n setBounceCookie();\n}\nelse if(window.location.pathname.indexOf('/Buyflow/Products') > -1) {\n bouncex.setv('has_visited', true);\n bouncex.setv('zipcode_serviceable', true);\n setBounceCookie();\n} else if(window.location.pathname.toLowerCase().indexOf('/buyflow/storefront') > -1 && bouncex.utils.url.getParam('source') === 'acp') {\n\tbouncex.push(['view_acp'], {});\n} \n\nfunction isMarketingPage() {\n var MARKETING_PAGE_PATHS = ['/internet', '/tv', '/mobile', '/amplify', '/smart-home', '/fiber'];\n \n for (var i = 0; i < MARKETING_PAGE_PATHS.length; i++) {\n if(window.location.pathname.indexOf(MARKETING_PAGE_PATHS[i]) > -1) {\n return true;\n }\n }\n return false;\n}\n\nif(!bouncex.vars.ever_logged_in) {\n if(window.location.pathname === '/Buyflow/Storefront') {\n bouncex.push(['view form'], {});\n jQuery('.btn.btn-success.btn-green.pull-right.ng-scope').click(function() {\n if(jQuery('label:contains(\"I\\'m a current customer\")').find('.fa.fa-circle.fa-stack-1x.selected').length > 0 && jQuery('.error-section-wrapper.has-error.ng-hide').length > 2) {\n bouncex.push(['current_customer'], {}); \n }\n });\n }\n else if(jQuery('#suddenlink-buyflow-form-form').length > 0) {\n jQuery('#ordersubmit').click(function() {\n if(jQuery('#edit-is-customer').is(\":checked\")) {\n bouncex.push(['current_customer'], {}); \n }\n });\n }\n else if(bouncex.vars.has_visited && !bouncex.vars.zipcode_serviceable) {\n bouncex.push(['zipcode_ineligible'], {});\n }\n else if(isMarketingPage()) {\n \tbouncex.push(['view item'], {});\n }\n else if(window.location.pathname.toLowerCase().indexOf(\"/buyflow/scheduleinstall\") > -1) {\n bouncex.push(['view_schedule_install'], {});\n }\n ////////////////////\n // else if(window.location.pathname.toLowerCase().indexOf('buyflow/storefront') > -1) {\n // bouncex.push(['view form'], {});\n // }\n ////////////////\n else if(window.location.pathname.indexOf('/my-account/overview.html') > -1) {\n\t\tbouncex.push(['login_event'], {});\n\t\tbouncex.setv('ever_logged_in', true);\n setBounceCookie();\n }\n}\nelse {\n bouncex.push(['login_event'], {});\n}","dge":false,"bxidLoadFirst":false,"pie":false,"cme":false,"gbi_enabled":0,"bpush":false,"pt":{"buyflow":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/Buyflow/"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"/Confirmation"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"/ScheduleInstall"}]]},"home":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('#heroVideo_modal').length > 0;"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"/alticeone"}]]},"marketing_page":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('meta[name=author][content=marketing]').length > 0;"},{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"s_cid"},{"activation":"js","prop":"","prop2":"","prop3":"","val":"(function() {\n var paths = [\"/alticeone\", \"/speed\", \"/power\", \"/essential\", \"/deal\", \"/offer\", \"/basic\"],\n url = window.location.href;\n \n for (var i = 0; i < paths.length; i++) {\n if (url.indexOf(paths[i]) > -1) {\n return true;\n }\n }\n return false;\n})();"}]]},"schedule_install_page":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/Buyflow/ScheduleInstall"}]]}},"els":{"Footer":"footer.l-footer","Navigation":"nav.tab-bar, nav.top-bar","native_capture_input_easy_move":"#moveinformation #email_address","native_capture_input_forgot_username":"#forgot-username-form #emailAddress","native_capture_input_live_chat":"#livechat-form #email","native_capture_submit_easy_move":"#scheduleMove","native_capture_submit_forgot_username":"#forgot-username-form button","native_capture_submit_live_chat":"#livechat-form #chat_submit"},"vars":[{"name":"logged_in","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"(function() {\n if (jQuery('#navbar').length > 0) {\n return jQuery('#navbar .dropdown-menu').text().indexOf('Log Out') > -1;\n } else {\n return null;\n }\n})();","trigger":"pageload"},{"name":"ever_logged_in","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"bouncex.vars.logged_in || null;","trigger":"pageload"},{"name":"submitted_onsite","polling":"all","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"window.location.pathname.indexOf('/Buyflow/ScheduleInstall') > -1 || null;","trigger":"pageload"},{"name":"cart_value","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"jQuery('.main-cart .charge').length > 0 ? (jQuery('.main-cart .charge').text().replace(/[^0-9.]/g, '') || 0) : null;","trigger":"pageload"},{"name":"zipcode_serviceable","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"true","code":"null;","trigger":"pageload"},{"name":"schedule_installation_page","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"window.location.pathname.indexOf('/Buyflow/ScheduleInstall') > -1 || null;","trigger":"pageload"},{"name":"has_visited","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"current_customer","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"upgrade_flow","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"(jQuery('.upgrade-offers').length > 0 && bouncex.website.pts === 'buyflow') || null;","trigger":"pageload"},{"name":"checked_internet","polling":"all","persist":"visit","page_types":["buyflow"],"testmode":false,"default":"true","code":"(function() { \n\tif (window.digitalData.pageType === \"products\") { \n\t checkName = \"Internet\"; /* Internet, Television, or Phone */\n\t checkNumber = 0; /* starts with 0 */\n \n\t $checkSelector = jQuery('.line-of-business-selector');\n\n\t $correctCheckbox = $checkSelector.eq(checkNumber).text() === checkName;\n\t $checkSelected = ($checkSelector.eq(checkNumber).children('a').children('div').eq(0).attr('class') || '').indexOf('selected') > 0;\n\n return $correctCheckbox && $checkSelected;\n\t}\n return null;\n})();","trigger":"pageload"},{"name":"checked_tv","polling":"all","persist":"visit","page_types":["buyflow"],"testmode":false,"default":"true","code":"(function() { \n\tif (window.digitalData.pageType === \"products\") { \n\t checkName = \"Television\"; /* Internet, Television, or Phone */\n\t checkNumber = 1; /* starts with 0 */\n\n\t $checkSelector = jQuery('.line-of-business-selector');\n\n\t $correctCheckbox = $checkSelector.eq(checkNumber).text() === checkName;\n\t $checkSelected = ($checkSelector.eq(checkNumber).children('a').children('div').eq(0).attr('class') || '').indexOf('selected') > 0;\n\n\t return $correctCheckbox && $checkSelected;\n\t}\n return null;\n})();","trigger":"pageload"},{"name":"checked_phone","polling":"all","persist":"visit","page_types":["buyflow"],"testmode":false,"default":"false","code":"(function() { \n\tif (window.digitalData.pageType === \"products\") { \n\t checkName = \"Phone\"; /* Internet, Television, or Phone */\n\t checkNumber = 2; /* starts with 0 */\n\n\t $checkSelector = jQuery('.line-of-business-selector');\n\n\t $correctCheckbox = $checkSelector.eq(checkNumber).text() === checkName;\n\t $checkSelected = ($checkSelector.eq(checkNumber).children('a').children('div').eq(0).attr('class') || '').indexOf('selected') > 0;\n\n return $correctCheckbox && $checkSelected;\n\t}\n return null;\n})();","trigger":"pageload"},{"name":"checked_alticemobile","polling":"all","persist":"visit","page_types":["buyflow"],"testmode":false,"default":"false","code":"(function() { \n\tif (window.digitalData.pageType === \"packageoptions\") { \n\t return jQuery('input[data-ng-model=\"vm.userSelections.mobileInterest\"]').prop('checked');\n\t}\n return null;\n})();","trigger":"pageload"},{"name":"internet_incart","polling":"all","persist":"visit","page_types":["buyflow"],"testmode":false,"default":"false","code":"(function() {\n var products = bouncex.utils.getNestedProp('window.digitalData.product');\n for (var i=0; i < products.length; i++) {\n if (products[i].category === 'INTERNET') {\n return true;\n }\n }\n return false;\n})();","trigger":"pageload"},{"name":"tv_incart","polling":"all","persist":"visit","page_types":["buyflow"],"testmode":false,"default":"false","code":"(function() {\n var products = bouncex.utils.getNestedProp('window.digitalData.product');\n for (var i=0; i < products.length; i++) {\n if (products[i].category === 'TV') {\n return true;\n }\n }\n return false;\n})();","trigger":"pageload"},{"name":"mobile_incart","polling":"all","persist":"visit","page_types":["buyflow"],"testmode":false,"default":"false","code":"(function() {\n var products = bouncex.utils.getNestedProp('window.digitalData.product');\n for (var i=0; i < products.length; i++) {\n if (products[i].category === 'PHONE') {\n return true;\n }\n }\n return false;\n})();","trigger":"pageload"},{"name":"free_install","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"(function() {\n var freeMsg = jQuery('.offer-one-time-charges .sub-title:visible:contains(\"Free TV Installation\")');\n var freePrice = jQuery('.offer-one-time-charges .col-md-8:visible:contains(\"Free TV Installation\")').siblings('.col-md-4:contains(\"$\")').text().replace(/[^0-9.]/g, '');\n var oneTimeCharges = jQuery('.offer-one-time-charges .row .price:visible');\n var total = oneTimeCharges.length > 0 ? 0 : '0';\n \n for (var i = 0; i < oneTimeCharges.length; i++) {\n var charge = oneTimeCharges.eq(i).text();\n if (charge.indexOf(\"-$\") > -1) {\n total -= Number(charge.replace(/[^0-9.]/g, ''));\n } else {\n total += Number(charge.replace(/[^0-9.]/g, ''));\n }\n }\n if (freeMsg.length > 0 && freePrice === '0.00') {\n return true;\n } else if (total === 0 || total < 0) {\n return true;\n } else if (total > 0) {\n return false;\n }\n return null; \n})();","trigger":"pageload"},{"name":"is_subscriber","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"jQuery('.isSub').length > 0 || null;","trigger":"pageload"},{"name":"big_apple_connect","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"bouncex.utils.getNestedProp('window.digitalData.user.city') === 'BRONX' || null;","trigger":"pageload"},{"name":"is_typing","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"document.activeElement.tagName === \"INPUT\" && !jQuery(document.activeElement).hasClass('bx-input');","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":null,"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":"Hit 'Send' to sign-up for automated, recurring Optimum mktg txts (like cart reminders) to this #, per terms.","eventSharing":false,"shqId":"","enabled":1},"pde":false,"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":"","ga4_measurement_id":""} ; 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":"0109586821763416266dd874f087ef69","creativesBaseStyles":"a53944a2","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_005dce26d317b1a438255f8f3d35049d.js'); script.setAttribute('async', 'async'); document.body.appendChild(script); bouncex.initializeTag = function() {}; }; document.body.appendChild(runtime); } } if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", bxBootstrap); } else { bxBootstrap(); }})();