Food

[]
Food: Healthy Recipes, Food Facts, and More { e.preventDefault(); Mntl.utilities.loadExternalJS( externalJS , () => { Mntl.CMP.onSdkLoaded(() => { OneTrust.ToggleInfoDisplay(); }) }); }, { once: true }); }); Mntl.CMP.init(true, ‘ccpa’, false, 3000); })(); window.Mntl = window.Mntl || {}; Mntl.RTB = Mntl.RTB || {}; Mntl.RTB.setTaxonomyStampValues({“tax1″:”hlt_Wellness”,”tax2″:”hlt_Food”,”tax0″:”hlt_Homepage”}); Mntl.RTB.setTimeoutLength([750,1250]); Mntl.RTB.Plugins.amazon.amazonConfigs = {“mapTaxValues”:{“tax1″:”hlt_Wellness”,”tax2″:”hlt_Food”,”si_section”:”hlt_Food”,”tax0″:”hlt_Homepage”,”tax3″:”null”},”mapFBValues”:{“adunitid”:”mapFBID”},”amazonSlotName”:false,”amazonSection”:”Food”}; Mntl.RTB.initVideoBidders([{ type: ‘amazon’, id: ‘3446’ }, { type: ‘prebid’, id: ‘true’ } ]); Mntl.RTB.initDisplayAndOutstreamBidders([{ type: “amazon”, id: ‘3446’},{ type: “msg”, id: ‘true’},{ type: “lotameLightning”, id: ‘true’},{ type: “ixid”, id: ‘true’},{ type: “prebid”, id: ‘true’}]); Mntl.RTB.Plugins.lotameLightning.init({“tax1″:”hlt_Wellness”,”tax2″:”hlt_Food”,”tax0″:”Health”,”clientId”:”10692″}); Mntl.RTB.Plugins.prebid.setConfig({“leaderboard-fixed/tier2”:[{“bidder”:”trustx”,”params”:{“uid”:”22033″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”onemobile”,”params”:{“dcn”:”8a96901a017a7ae786e2e89dc3ec0037″,”pos”:”hlt_leadrbrd_fixed_tier2_728x90″}},{“bidder”:”appnexus”,”params”:{“placementId”:”21060476″,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426756″,”zoneId”:”2441386″,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”443971″,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479359″,”type”:”display”}}],”leaderboardac/tier3″:[{“bidder”:”trustx”,”params”:{“uid”:”22038″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”443929″,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426756″,”zoneId”:”2441394″,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479364″,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”21060482″,”type”:”display”}},{“bidder”:”onemobile”,”params”:{“dcn”:”8a96901a017a7ae786e2e89dc3ec0037″,”pos”:”hlt_leadrbrd_flex_tier2_728x90″}}],”square-fixed/tier1″:[{“bidder”:”trustx”,”params”:{“uid”:”22041″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”443987″,”type”:”display”}},{“bidder”:”onemobile”,”params”:{“dcn”:”8a96901a017a7ae786e2e89dc3ec0037″,”pos”:”hlt_square_fixed_tier1_300x250″}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479367″,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”21060485″,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426756″,”zoneId”:”2441396″,”type”:”display”}}],”square-fixed/tier2″:[{“bidder”:”ix”,”params”:{“siteId”:”443988″,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”22042″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”onemobile”,”params”:{“dcn”:”8a96901a017a7ae786e2e89dc3ec0037″,”pos”:”hlt_square_fixed_tier2_300x250″}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479368″,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”21060486″,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426756″,”zoneId”:”2441398″,”type”:”display”}}],”leaderboardac/tier2″:[{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426756″,”zoneId”:”2441392″,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”22035″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”443928″,”type”:”display”}},{“bidder”:”onemobile”,”params”:{“dcn”:”8a96901a017a7ae786e2e89dc3ec0037″,”pos”:”hlt_leadrbrd_flex_tier1_728x90″}},{“bidder”:”appnexus”,”params”:{“placementId”:”21060479″,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479361″,”type”:”display”}}],”leaderboard-fixed/tier1″:[{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479358″,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”443970″,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”22032″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”onemobile”,”params”:{“dcn”:”8a96901a017a7ae786e2e89dc3ec0037″,”pos”:”hlt_leadrbrd_fixed_tier1_728x90″}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426756″,”zoneId”:”2441384″,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”21060475″,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}}],”leaderboard-fixed/tier4″:[{“bidder”:”appnexus”,”params”:{“placementId”:”21060495″,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479377″,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”443973″,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426756″,”zoneId”:”2441390″,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”onemobile”,”params”:{“dcn”:”8a96901a017a7ae786e2e89dc3ec0037″,”pos”:”hlt_leadrbrd_fixed_tier4_728x90″}},{“bidder”:”trustx”,”params”:{“uid”:”22051″,”useNewFormat”:true,”type”:”display”}}],”square-fixed/tier3″:[{“bidder”:”trustx”,”params”:{“uid”:”22043″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”443989″,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479369″,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426756″,”zoneId”:”2441400″,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”21060487″,”type”:”display”}},{“bidder”:”onemobile”,”params”:{“dcn”:”8a96901a017a7ae786e2e89dc3ec0037″,”pos”:”hlt_square_fixed_tier3_300x250″}}],”square-fixed/tier4″:[{“bidder”:”trustx”,”params”:{“uid”:”22044″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”onemobile”,”params”:{“dcn”:”8a96901a017a7ae786e2e89dc3ec0037″,”pos”:”hlt_square_fixed_tier4_300x250″}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479370″,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”21060488″,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426756″,”zoneId”:”2441402″,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”443990″,”type”:”display”}}],”leaderboard-fixed/tier3″:[{“bidder”:”onemobile”,”params”:{“dcn”:”8a96901a017a7ae786e2e89dc3ec0037″,”pos”:”hlt_leadrbrd_fixed_tier3_728x90″}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479360″,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426756″,”zoneId”:”2441388″,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”21060478″,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”22034″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”443972″,”type”:”display”}}],”preroll”:[{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426756″,”zoneId”:”2441408″,”type”:”instream”}},{“bidder”:”roundel”,”params”:{“siteId”:578566,”type”:”instream”}},{“bidder”:”appnexus”,”params”:{“placementId”:”21060496″,”type”:”instream”}},{“bidder”:”ix”,”params”:{“siteId”:”491866″,”type”:”instream”}},{“bidder”:”trustx”,”params”:{“uid”:”22485″,”useNewFormat”:true,”type”:”instream”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479378″,”type”:”instream”}}],”leaderboardfooter-flex/tier2″:[{“bidder”:”onemobile”,”params”:{“dcn”:”8a96901a017a7ae786e2e89dc3ec0037″,”pos”:”hlt_leadrbrd_fixed_tier2_728x90″}},{“bidder”:”trustx”,”params”:{“uid”:”22033″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426756″,”zoneId”:”2441386″,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”21060476″,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479359″,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”443971″,”type”:”display”}}],”leaderboardfooter-flex/tier1″:[{“bidder”:”appnexus”,”params”:{“placementId”:”21060475″,”type”:”display”}},{“bidder”:”onemobile”,”params”:{“dcn”:”8a96901a017a7ae786e2e89dc3ec0037″,”pos”:”hlt_leadrbrd_fixed_tier1_728x90″}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426756″,”zoneId”:”2441384″,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”443970″,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”22032″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479358″,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}}],”leaderboardfooter-flex/tier4″:[{“bidder”:”ix”,”params”:{“siteId”:”443973″,”type”:”display”}},{“bidder”:”onemobile”,”params”:{“dcn”:”8a96901a017a7ae786e2e89dc3ec0037″,”pos”:”hlt_leadrbrd_fixed_tier4_728x90″}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479377″,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”21060495″,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”22051″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426756″,”zoneId”:”2441390″,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}}],”leaderboardfooter-flex/tier3″:[{“bidder”:”ix”,”params”:{“siteId”:”443972″,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426756″,”zoneId”:”2441388″,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”21060478″,”type”:”display”}},{“bidder”:”onemobile”,”params”:{“dcn”:”8a96901a017a7ae786e2e89dc3ec0037″,”pos”:”hlt_leadrbrd_fixed_tier3_728x90″}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479360″,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”22034″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}}],”square-flex/tier1″:[{“bidder”:”onemobile”,”params”:{“dcn”:”8a96901a017a7ae786e2e89dc3ec0037″,”pos”:”hlt_square_flex_tier1_300x250″}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426756″,”zoneId”:”2441404″,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”443936″,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”22045″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”21060489″,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479371″,”type”:”display”}}],”square-flex/tier2″:[{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479374″,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426756″,”zoneId”:”2441406″,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”443935″,”type”:”display”}},{“bidder”:”onemobile”,”params”:{“dcn”:”8a96901a017a7ae786e2e89dc3ec0037″,”pos”:”hlt_square_flex_tier2_300x250″}},{“bidder”:”appnexus”,”params”:{“placementId”:”21060492″,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”22048″,”useNewFormat”:true,”type”:”display”}}],”leaderboard-flex/tier2″:[{“bidder”:”appnexus”,”params”:{“placementId”:”21060482″,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426756″,”zoneId”:”2441394″,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479364″,”type”:”display”}},{“bidder”:”onemobile”,”params”:{“dcn”:”8a96901a017a7ae786e2e89dc3ec0037″,”pos”:”hlt_leadrbrd_flex_tier2_728x90″}},{“bidder”:”trustx”,”params”:{“uid”:”22038″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”443929″,”type”:”display”}}],”leaderboard-flex/tier1″:[{“bidder”:”trustx”,”params”:{“uid”:”22035″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”21060479″,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479361″,”type”:”display”}},{“bidder”:”onemobile”,”params”:{“dcn”:”8a96901a017a7ae786e2e89dc3ec0037″,”pos”:”hlt_leadrbrd_flex_tier1_728x90″}},{“bidder”:”ix”,”params”:{“siteId”:”443928″,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426756″,”zoneId”:”2441392″,”type”:”display”}}]}); Mntl.RTB.Plugins.prebid.setPriceGranularity({“buckets”:[{“max”:”20″,”increment”:”0.05″},{“max”:”100″,”increment”:”0.5″}]}); Mntl.RTB.setLatencyBuffer(0); (function(){ const pageTargeting = { customSeries: ” ,tax0: ‘Health’ ,rid: ‘n4f5b37047122462792cc6a7caa986fb911’ ,custom: ” ,sid: ‘n4f5b37047122462792cc6a7caa986fb911’ } ; const baseSlotTargeting = { leaid: ‘248753’ ,docId: ‘5248056’ ,viewtype: ‘taxonomy’ ,type: ‘taxonomy’ ,ptax: ‘hlt_Food’ ,vid: ‘0’ ,tax1: ‘hlt_Wellness’ ,tax2: ‘hlt_Food’ ,tier: ‘L’ ,leuid: ‘164389533833102’ ,id: ‘5248056’ ,tax3: ” ,tax4: ” ,inf: ‘0’ ,entryType: ‘direct’ ,gtemplate: ‘taxonomy’ ,revenueGroup: ” ,chpg: ‘1’ ,t: ‘140’ ,au: ‘248753’ ,jny: ‘0’ ,sbj: ‘pidhlt_Food’ ,aid: ” ,jnyroot: ” } ; pageTargeting.w = Mntl.utilities.getW(); const initialSlots = []; initialSlots.push({ config: { id: ‘oop’, sizes: [[1, 1]], type: ‘outofpage’, rtb: false, timedRefresh: 0, waitForThirdParty: true }, targeting: Mntl.fnUtilities.deepExtend({}, { pos: ‘atf’, priority: 0 ,floor_id: ‘4eef886fe14a4638851a9b9e275b2b53’ ,floor: ‘5’ }) }); initialSlots.push({ config: { id: ‘leaderboard-flex-1’, sizes: [[728, 90], [970,90], [970, 250]], type: ‘leaderboard’, rtb: true, timedRefresh: 0, waitForThirdParty: false }, targeting: Mntl.fnUtilities.deepExtend({}, { pos: ‘atf’, priority: 1 ,floor_id: ‘d75d9461d0d94271bebdddc9afdcb9e9′ ,floor: ’50’ }) }); const testIds = Mntl.GPT.getTestIds(); pageTargeting.ab = testIds; pageTargeting.bts = testIds; Mntl.utilities.onLoad(function() { Mntl.utilities.loadExternalJS({ src: ‘//securepubads.g.doubleclick.net/tag/js/gpt.js’, async: false }); }); const options = { domain: ‘www.health.com’, templateName: ‘taxonomysc’, isMobile: false, dfpId: ‘3865’, publisherProvidedId: ‘0fcd1892-a01f-422f-91bc-8011447ee869’, singleRequest: false, useLmdFormat: true, useOxygen: true, useInfiniteRightRail: true, bundlePrebid: false, lmdSiteCode: ‘hlt’, pageTargeting, baseSlotTargeting, geo: { isInEurope: false, isInUsa: true }, initialSlots, utils: { generateSlotId: Healthdotcom.GPT.generateSlotId }, displayOnScroll: false, displayOnConsent: true }; if (Mntl.AdMetrics) { Mntl.AdMetrics.init(“5248056”, “n4f5b37047122462792cc6a7caa986fb911″, initialSlots.map(slot => slot.config.id), Date.now()); } else { Mntl.AdMetrics = { pushMetrics: () => {} }; } Mntl.GPT.init(options); }());// moved from gtm.ftl so we can initialize GTM only onLoad. From https://support.google.com/tagmanager/answer/6103696?hl=en Mntl.utilities.onLoad(function() { (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({‘gtm.start’:new Date().getTime(),event:’gtm.js’});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!=’dataLayer’?’&l=’+l:”;j.async=true;defer=true;j.src=’//www.googletagmanager.com/gtm.js?id=’+i+dl;f.parentNode.insertBefore(j,f);})(window,document,’script’,’dataLayer’,’GTM-P3X3VT7′); }); var dataLayer = dataLayer || []; dataLayer.push({ event: ‘ab-proctor’, ‘abTests-proctor’: { “99-0” : “useOxygen | useOxygen | use the Oxygenated ad unit format and slot names | 1” , “99-1” : “orion | active | Active | 1” , “99-2” : “useRTBforVideoAds | active | | 1” } }); dataLayer.push({ envData: { environment: { environment: “k8s-prod”, application: “healthdotcom”, dataCenter: “us-west-1” }, server: { version: “1.75.0”, title: “healthdotcom-server” }, client : { browserUA: navigator.userAgent, serverUA: “Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0”, deviceType: “pc”, usStateCode: “MI” }, mantle: “3.13.675”, commerce: “” } }); (function(win, fnUtils, CMP) { var pageViewDataAsJSON = {“description”:”Hungry? Get the latest healthy recipes, cooking tips, nutrition facts, and more from Health.com.”,”country”:”US”,”contentGroup”:”Other”,”muid”:”0fcd1892-a01f-422f-91bc-8011447ee869″,”lastEditingAuthorId”:”248753″,”lastEditingUserId”:”164389533833102″,”templateId”:”140″,”viewType”:”TAXONOMY”,”revenueGroup”:””,”authorId”:”248753″,”title”:”Food: Healthy Recipes, Food Facts, and More” || document.title || ”,”templateName”:”TAXONOMYSC”,”documentId”:5248056,”fullUrl”:”https://www.health.com/food” + location.hash,”experienceType”:”single page”,”entryType”:”direct”,”excludeFromComscore”:false,”internalSessionId”:”n4f5b37047122462792cc6a7caa986fb911″,”internalRequestId”:”n4f5b37047122462792cc6a7caa986fb911″,”hid”:””,”experienceTypeName”:””,”recircDocIdsFooter”:””,”euTrafficFlag”:false,”isGoogleBot”:false,”mantleVersion”:”3.13.675″,”commerceVersion”:””,”primaryTaxonomyIds”:”5225216|5248294|5248056″,”primaryTaxonomyNames”:”Health|Wellness|Food”}; var deferLoadTime = 5000; var readyForThirdPartyTrackingEvent = new CustomEvent(‘readyForThirdPartyTracking’, { bubbles: true }); var readyForThirdPartyTracking = fnUtils.once(function() { dataLayer.push({event: ‘readyForThirdPartyTracking’}); window.dispatchEvent(readyForThirdPartyTrackingEvent); }); var readyForDeferredScriptsEvent = new CustomEvent(‘readyForDeferredScripts’, { bubbles: true }); var readyForDeferredScripts = fnUtils.once(function() { dataLayer.push({event: ‘readyForDeferredScripts’}); window.dispatchEvent(readyForDeferredScriptsEvent); }); var hasTargetingConsentHandler = function() { const hasConsent = CMP.hasTargetingConsent(); if (hasConsent) { readyForThirdPartyTracking(); } // if there is consent or the user has closed the banner(AlertBox) in EU then trigger readyForDeferredScripts if (hasConsent || CMP.isAlertBoxClosed()) { readyForDeferredScripts(); } return hasConsent; }; var onRequiredDomEvent = fnUtils.once(function() { if (!CMP) { readyForThirdPartyTracking(); readyForDeferredScripts(); return; } if (!CMP.isLoading()) { hasTargetingConsentHandler(); } CMP.onConsentChange(hasTargetingConsentHandler); }); [ [‘adRendered’, onRequiredDomEvent], [‘beforeunload’, onRequiredDomEvent], [‘load’, function() { setTimeout(onRequiredDomEvent, deferLoadTime); }] ].forEach(function(event) { win.addEventListener(event[0], event[1], { once: true }); }); pageViewDataAsJSON.breakpointName = Healthdotcom.utilities.getW(); pageViewDataAsJSON.bounceExchangeId = ‘2548’; Mntl.utilities.onLoad(function() { Mntl.PageView.init(pageViewDataAsJSON); }); })(window || {}, Mntl.fnUtilities || {}, Mntl.CMP);]]> Skip to content

You May Also Like

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다