(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":5366,"name":"Symantec: Norton Canada","cookie_name":"bounceClientVisit5366","domain":"ca.norton.com","ct":"multi_cookie","ally":0,"ei":0,"tcjs":"","cjs":"","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":1},"burls":[],"ple":false,"fbe":true,"mas":1,"map":1,"gar":true,"ete":1,"ettm":false,"etjs":"// Use this code as a starting point for Norton properties with static email content\n// last update: 11.10.2022 - SL :)\n\nconst LOCAL_CONFIG = {\n\t3162: {\n\t\tcc: ['UK'],\n\t},\n\t4375: {\n\t\tcc: ['IN'],\n\t},\n\t3163: {\n\t\tcc: ['Germany'],\n\t},\n\t3164: {\n\t\tcc: ['France']\n\t},\n\t5180: {\n\t\tcc: ['Spain']\n\t},\n\t5366: {\n\t\tcc: ['Canada']\n\t}\n}[bouncex.website.id];\n\nvar isFrenchSite = bouncex.html.attr('lang') === 'fr-CA' || bouncex.html.attr('lang') === 'fr',\n COOKIE_NAME = 'es',\n\tpageLang = getLang();\n\n\n// ----------------------- HELPER METHODS ----------------------- //\n\nfunction isValidDomain() {\n\treturn bouncex.website.name.includes(LOCAL_CONFIG.cc);\n}\n\nfunction getLang() {\n\treturn isFrenchSite ? 'fr' : 'en';\n}\n\nfunction getItemId() {\n\treturn jQuery('h1').first().text().toLowerCase().replace(/ /g,'-');\n}\n\nfunction isAffiliateTrafficLink(url) {\n\turl = (url || window.location.href).toLowerCase();\n\tvar affiliateParams = [\n\t\t'cjid',\n\t\t'cac',\n\t\t'avgaffiliate',\n\t\t'trif',\n\t\t'rak_id1',\n\t\t'source=ir'\n\t];\n\treturn !!affiliateParams.filter(function(param) {\n\t\treturn url.includes(param + (param.includes('=') ? '': '=')); // cac=something, not cackle=something or something=cache\n\t}).length;\n}\n\nfunction isAffiliateTrafficCookie() {\n\tvar cookie = bouncex.utils.cookies.read('PROGRAM_TYPE') || '',\n\t\tcookieAffiliateParams = [\n\t\t'CJ',\n\t\t'OND',\n\t\t'IMPACTRADIUS'\n\t];\n\treturn !!cookieAffiliateParams.filter(function(param) { return cookie.includes(param);}).length;\n}\n\n// -------------------- AFFILIATE EVENTS -------------------------- //\n\nfunction initAffiliateEvents() {\n\tif (bouncex.vars.affiliate_event === false) {\n\t\tvar url;\n\t\tif (isAffiliateTrafficLink()) {\n\t\t\tvar paramsToRemove = [\n\t\t\t\t'utm',\n\t\t\t\t'utm_source',\n\t\t\t\t'utm_medium',\n\t\t\t\t'utm_content',\n\t\t\t\t'utm_term',\n\t\t\t\t'gclid',\n\t\t\t\t'ibx_source',\n\t\t\t\t'ueh'\n\t\t\t];\n\t\t\turl = bouncex.utils.url.removeParams(paramsToRemove, window.location.href);\n\t\t} else if (isAffiliateTrafficCookie()) {\n\t\t\turl = document.referrer || false;\n\t\t}\n\n\t\tif (url) {\n\t\t\tbouncex.push(['view_affiliate', { url : url }]);\n\t\t\tbouncex.setv('affiliate_event', true);\n\t\t}\n\t}\n}\n\nfunction initLoggedInEvents() {\n if (!bouncex.vars.logged_in_identified && jQuery('#signOut').length > 0) {\n var userEmail = jQuery('p[data-test=\"EMAIL\"].ctHidden').text() || jQuery('._3IP3kv:first').text().split(' ').pop();\n \n if (bouncex.utils.validate.email(userEmail)) {\n bouncex.push([\n 'user',\n {\n 'email': userEmail,\n 'source': 'LoggedIn'\n }\n ]);\n\n bouncex.setv(\"logged_in_identified\", true);\n }\n }\n}\n\n// ----------------------- CART TRACKING ----------------------- //\n\nfunction initEmptyCartEvents() {\n\tbouncex.et.onVisible('img[title=\"Empty Cart\"]', function () {\n\t\tbouncex.push(['empty_cart', {}]);\n\t});\n}\n\nfunction initATCEvents() {\n var ATC_SELECTOR = 'a[data-link-type=\"buy-now\"], [data-test=\"PRICE\"] button, button[data-test=\"SUBMIT\"]';\n\n\tbouncex.et.on(jQuery(ATC_SELECTOR), 'click.wknd', function(e) {\n var atcUrl = jQuery(e.target).attr('href');\n\n if (atcUrl === '#cta') {\n return;\n }\n\n var item_id = getItemId(),\n cookie = bouncex.getBounceCookie(COOKIE_NAME),\n replenUrl = jQuery(this).attr('href') || '',\n sku = bouncex.utils.url.getParam('selSKU', replenUrl);\n\n if (bouncex.utils.getParam('exp', atcUrl) === 'ch1'){\n sku = sku ? sku + '&exp=ch1' : '';\n }\n\n if (item_id && cookie && atcEligibleProduct()) {\n fireATCevents(sku, item_id, replenUrl, cookie);\n }\n });\n}\n\nfunction fireATCevents(sku, item_id, replenUrl, cookie) {\n\tvar token = sku && replenUrl.indexOf('https://buy.norton.com') > -1\n\t\t? 'selSKU=' + sku\n\t\t: cookie;\n\n\tbouncex.push(['add to cart', {\n\t\t'item:id': item_id,\n\t\t'cart:token': token,\n\t\t'page:lang': pageLang\n\t}]);\n\n\tbouncex.setVar('cart_set', true);\n}\n\nfunction atcEligibleProduct() {\n var pageUrl = bouncex.utils.url.allowParams(),\n pathUrl = window.location.pathname;\n\n return pageUrl.indexOf('/norton-family-premier') === -1 &&\n pageUrl.indexOf('/downloads') === -1 &&\n pathUrl.indexOf('/norton/ps/bb/ushard/gamer/uk.html') === -1 &&\n pathUrl.indexOf('/norton/ps/bb/ushard/gamer/uk_monthly.html') === -1;\n}\n\nfunction replenish(cart){\n if (cart.token.indexOf('selSKU=') > -1) {\n var replenUrl = cart.token.indexOf('https://buy.norton.com/ps?selSKU=') > -1 ? cart.token : 'https://buy.norton.com/ps?' + cart.token + '&promocode=LT1&ctry=CA&lang=EN&ptype=cart&trf_id=nortoncom&multipage=true';\n bouncex.et.replenish = true;\n\n bouncex.setTimeout2(function() {\n window.location.href = replenUrl;\n reportReplenishment();\n }, 2000);\n } else {\n bouncex.utils.cookies.create({'name': COOKIE_NAME, 'value': cart.token});\n bouncex.setTimeout2(function() {\n window.location.href = window.location.pathname + '?bx_replen=true';\n }, 2000);\n }\n}\n\n// custom report replen function if using URL for replen\nfunction reportReplenishment(){\n bouncex.push(['cart replenish', {\n 'cart:success': bouncex.et.replenish\n }]);\n}\n\n// ----------------------- INIT TRACKING ----------------------- //\n\nif (isValidDomain()) {\n\tif (\n\t\tbouncex.website.pts === 'product' ||\n\t\tbouncex.website.pts === 'category'\n\t) {\n\tvar eventName = isFrenchSite ? 'view_norton_fr' : 'view_norton';\n\t\tbouncex.push([eventName, {}]);\n initATCEvents();\n\t}\n\n\tif (bouncex.website.pts === 'cart_or_checkout') {\n\t\tinitLoggedInEvents();\n\t\tinitEmptyCartEvents();\n initATCEvents();\n\t}\n\n\tinitAffiliateEvents();\n\n\tbouncex.et.cart.init({\n replenish: replenish,\n replenishmentType: 'cookie',\n });\n}\n","dge":true,"bxidLoadFirst":false,"pie":true,"cme":true,"gbi_enabled":0,"bpush":false,"pt":{"cart":{"testmode":true,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":""}]]},"cart_or_checkout":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/estore/checkOut"}]]},"category":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"['/products', '/products/norton-360', '/norton-security-antivirus'].indexOf(window.location.pathname) > -1;\n"},{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"buy-static.norton.com/norton/"}]]},"checkout":{"testmode":true,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":""}]]},"home":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('link[rel=\"canonical\"][href=\"https://ca.norton.com/\"]').length > 0;"}]]},"product":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"window.nortonAnalytics && window.nortonAnalytics.site_sub_section === \"products-services\" && !!document.querySelector('meta[content=\"products-template\"]');"}]]},"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":"(function() {\n if (bouncex.website.pts === 'cart_or_checkout') {\n return jQuery('._3IP3kv').first().text().indexOf('Signed in') > -1;\n }\n return null;\n})();","trigger":""},{"name":"ever_logged_in","polling":"all","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"bouncex.vars.logged_in || null;","trigger":""},{"name":"cart_qty","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"0","code":"(function() {\n var $emptyMessage = jQuery('div[role=\"main\"]:visible'),\n $singleProduct = jQuery('[data-test=\"SINGLE_PRODUCT\"]'),\n $productInfo = jQuery('[data-test=REVIEW]');\n\n if ($emptyMessage.text().indexOf('Empty') > -1) return 0;\n\n if (bouncex.website.pts === 'cart_or_checkout') {\n return $singleProduct.length > 0 ? $singleProduct.length : $productInfo.length > 0 ? $productInfo.length : null;\n }\n return Number(jQuery('.cart-count:visible, #topNavCart').text());\n})();","trigger":""},{"name":"cart_value","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"0","code":"(function() {\n var $emptyMessage = jQuery('div[role=\"main\"]:visible');\n\n if ($emptyMessage.text().indexOf('Empty') > -1) return 0;\n\n if (bouncex.website.pts === 'cart_or_checkout') {\n return Number(bouncex.utils.getNestedProp('window.total_cart_value').replace(/[^0-9.]/g, ''));\n }\n\n return null;\n})();","trigger":""},{"name":"prod_price","polling":"all","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"jQuery('.hero-reveal').first().find('.pdd-prices.selected .pdd-prices-current-price').text().split('/')[0].replace(',', '.').replace(/[^0-9.]/g, '');","trigger":""},{"name":"prod_name","polling":"none","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"jQuery('.hero-reveal').first().find('h1').text().trim();","trigger":""},{"name":"in_stock","polling":"none","persist":"no","page_types":[],"testmode":true,"default":"false","code":"","trigger":""},{"name":"submitted_onsite","polling":"none","persist":"permanent","page_types":[],"testmode":true,"default":"false","code":"","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":true,"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":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function(){\n var activeCheckoutStep = jQuery('.topic-header--active');\n\n if (activeCheckoutStep.parent().hasClass('payment') || activeCheckoutStep.parent().hasClass('review')) {\n return 'checkout';\n } else if (activeCheckoutStep.parent().hasClass('preview') || jQuery('.empty-cart').length > 0) {\n return 'cart';\n } else {\n\t\treturn bouncex.website.pts;\n\t}\n})();","trigger":"pageload"},{"name":"programid","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"\n(function(){\n var pId = bouncex.getBounceCookie('PROGRAMID');\n \n if(pId !== \"\"){\n return pId;\n } else {\n return false;\n }\n return null; \n})();","trigger":"pageload"},{"name":"first_cart_item","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"(function(){\n if (window.location.href.indexOf('estore/checkOut') > -1) {\n return jQuery('.product-name:first').text().replace('Norton™ Security ', '') || false;\n }\n return null;\n})();","trigger":"pageload"},{"name":"item_in_cart","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"(function() {\n if (window.location.href.indexOf('/estore/checkOut') > -1) {\n return jQuery('._2ubiuw.lJpw2F').length > 0 ? jQuery('._2ubiuw.lJpw2F').first().text() : false;\n }\n return false;\n})();","trigger":"pageload"},{"name":"checkout_step","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function(){\n var activeCheckoutStep = jQuery('.topic-header--active');\n\n if (activeCheckoutStep.parent().hasClass('payment')) {\n return 'Billing Information';\n } else if (activeCheckoutStep.parent().hasClass('review')) {\n return 'Order Review';\n } else if (activeCheckoutStep.parent().hasClass('preview')) {\n return 'Shopping Cart';\n }\n return false;\n})();","trigger":"pageload"},{"name":"affiliate_params_cobranding","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"(function() {\n if (window.location.href.indexOf('?') > -1) {\n var trackingParams = '&' + window.location.search.slice(1, -1);\n return trackingParams;\n }\n return null;\n})();","trigger":"pageload"},{"name":"logged_in_identified","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"affiliate_event","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"language_modal","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"window.getComputedStyle(document.querySelector('.c-language-selector__backdrop')).display !== 'none';","trigger":"pageload"},{"name":"cart_set","polling":"none","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":{"riid":"espemailid"},"cus":"","miw_exclude":"","enabled":1},"etjson":null,"osre":true,"osru":"osr.bounceexchange.com/v1/osr/items","checkDfp":false,"gamNetwork":"","spa":0,"spatm":1,"preinit_cjs":"","crs":{"integrations":null,"pageCount":null},"mat":0,"math":0,"cpnu":"coupons.bounceexchange.com","dfpcms":0,"sms":{"optm":"","eventSharing":false,"shqId":"","enabled":0},"pde":true,"fmc":["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":"","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: 1 }; bouncex.assets = {"ads":"e2e1dbb7c70b701b3c197204872400a0","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.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_1247731b761376f768004922730ab4f3.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); } } if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", bxBootstrap); } else { bxBootstrap(); }})();