(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":2307,"name":"TMB - Reader's Digest Canada","cookie_name":"bounceClientVisit2307","domain":"readersdigest.ca","ct":"fp_local_storage","ally":0,"ei":0,"tcjs":"","cjs":"bouncex.failCampaignTypeOnImpression=function(impressedCampaignId, campaignTypeToFail){\n var campaigns = window.bouncex && window.bouncex.campaigns;\n for (var campaignId in campaigns) {\n if (campaignId != impressedCampaignId && campaigns[campaignId].type == campaignTypeToFail) {\n bouncex.campaigns[campaignId].failed = true;\n }\n }\n};\n\nbouncex.recirc.addSettings({\n enabled: true,\n feedFormat: 'xml',\n feedUrl: 'https://www.readersdigest.ca/feed/',\n responseParser: function(response) {\n var $doc = jQuery(response);\n var $articles = $doc.find('item');\n var articles = [];\n\n $articles.each(function() {\n var $article = jQuery(this);\n var headline = $article.find('title').text();\n var link = $article.find('link').text();\n var image = $article.find('media\\\\:content').attr('url');\n \n var article = {\n headline: headline,\n link: link,\n image: image\n };\n \n articles.push(article);\n });\n\n return articles;\n }\n});\n \nbouncex.recirc.init();","force_https":false,"waypoints":false,"content_width":0,"gai":"","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":[{"prop":"contains","val":"buysub"},{"prop":"contains","val":"rdc.test.rda.net"}],"ple":false,"fbe":true,"mas":2,"map":1,"gar":true,"ete":0,"ettm":true,"etjs":"","dge":false,"bxidLoadFirst":false,"pie":false,"cme":false,"gbi_enabled":1,"bpush":false,"pt":{"article":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('meta[property=\"article:publisher\"]').length > 0 && document.querySelectorAll('meta[property=\"og:type\"][content=\"article\"]').length > 0;"}]]},"category":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('.category-v2').length > 0;"}]]},"home":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"jQuery('body.home').length > 0 ;"}]]},"video":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/video"}]]}},"els":{"Masthead":"#content","infeed":"#content.listicle-page .listicle-card p:not(.listicle-image-wrapper):not(:empty):eq(4), #content:not(.listicle-page) .post-body p:eq(3)","masthead_2":".pure-g.newsletter-sign-below-header:visible, .pure-g.pre-article-ad.ad-container-wrapper"},"vars":[{"name":"slideshow","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function(){\n\tif(jQuery('main.content')){\n\t\tif(jQuery('main.content article.article_type-slideshow').length > 0){\n\t\t\treturn true;\n\t\t}\n\t}\n\treturn false;\n})();","trigger":""},{"name":"slide_depth","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function(){\n\tif(bouncex.vars.slideshow === true){\n\t\tvar numberMatch = jQuery('span#plp_inital_pagination').text().match(/\\d+/g);\n\t\tif(numberMatch.length > 0){\n\t\t return numberMatch[0];\n\t\t}\n\t}\n\treturn false;\n})();","trigger":""},{"name":"article_type","polling":"all","persist":"no","page_types":["article"],"testmode":false,"default":"false","code":"jQuery('#breadcrumbs a').eq(1).text();","trigger":"pageload"},{"name":"backfill_deployment","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"","code":"bouncex.gbi2 ? bouncex.gbi2.getFailedDeployments().join(',') : '';","trigger":"pageload"},{"name":"is_homepage","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('body.home').length > 0;","trigger":"pageload"},{"name":"dfp_rblock","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"(function() {\n if (!bouncex.dfpRan) {\n bouncex.dfpRan = true;\n return 'not_ready';\n }\n function check() {\n bouncex.dfp_loaded = false || bouncex.dfp_loaded;\n var slots = window.googletag && typeof googletag.pubads == 'function' && typeof googletag.pubads().getSlots == 'function'? googletag.pubads().getSlots() : [];\n var numSlots = slots.length;\n for (var i = 0; i < numSlots; i++) {\n var slotInfo = slots[i] && typeof slots[i].getResponseInformation == 'function'? slots[i].getResponseInformation() : false;\n if (slotInfo && slotInfo.lineItemId) {\n bouncex.dfp_loaded = true;\n if (bouncex.website.gbi.rblocks && bouncex.website.gbi.rblocks.indexOf(slotInfo.lineItemId) > -1) {\n return 'sponsor';\n }\n }\n }\n if (bouncex.dfp_loaded) {\n return 'allow';\n }\n return 'not_ready';\n }\n if (bouncex.website.gbi.rblocks) {\n if (!bouncex.website.gbi_enabled) {\n return 'disabled';\n } else if (bouncex.dfp_loaded) {\n return null;\n } else if (window.googletag && googletag.apiReady && googletag.pubadsReady) {\n return check();\n } else if (typeof window.googletag === 'undefined') {\n return 'no_googletag';\n }\n return 'fallback';\n } else {\n return 'not_ready';\n }\n})()","trigger":"pageload"},{"name":"page_type","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"bouncex.website.pts;","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":0,"te":0,"cart_rep":{"get":"","set":""},"ulpj":null,"cus":"","miw_exclude":"","enabled":0},"etjson":null,"osre":false,"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":false,"fme":false,"fmx":"","sdk":{"android":{"enabled":false,"enabledVersions":[],"eventModifications":null},"ios":{"enabled":false,"enabledVersions":[],"eventModifications":null}},"onsite":{"enabled":1},"ads":{"enabled":1},"pubs":{"enabled":1},"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":"749c9ccd613f1a40075d1e7b59caea42","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_f63930b37a25405c0fe14c50976210bb.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(); }})();