[] Best Foods for Weight-Loss { e.preventDefault(); Mntl.utilities.loadExternalJS( externalJS , () => { Mntl.CMP.onSdkLoaded(() => { OneTrust.ToggleInfoDisplay(); }) }); }, { once: true }); }); Mntl.CMP.init({ isConsentRequired: true, oneTrustTemplateName: ‘ccpa’, showConsentBanner: false, isCcpaApplicableRequest: false, isTcfEnabled: true, scriptTimeout: 3000 }); })(); window.Mntl = window.Mntl || {}; Mntl.RTB = Mntl.RTB || {}; Mntl.RTB.setUseConsentManagement(true); Mntl.RTB.setUseLiveRamp(true); Mntl.RTB.setUseGDPREnforcement(false); Mntl.RTB.setUseXandrS2S(false); Mntl.RTB.setUserIdAuctionDelay(500); Mntl.RTB.setTaxonomyStampValues({“tax1″:”etg_special-diets”,”tax2″:”etg_weight-loss”,”tax0″:”etg_homepage”,”tax3″:”etg_best-foods-for-weight-loss”}); Mntl.RTB.setTimeoutLength([750,1250]); Mntl.RTB.Plugins.amazon.amazonConfigs = {“mapTaxValues”:{“tax1″:”etg_special-diets”,”tax2″:”etg_weight-loss”,”si_section”:”etg_weight-loss”,”tax0″:”etg_homepage”,”tax3″:”etg_best-foods-for-weight-loss”},”amazonSlotName”:false,”mapFBValues”:{“adunitid”:”mapFBID”},”amazonSection”:”Best Foods for Weight-Loss”}; Mntl.RTB.Plugins.prebid.setPriceGranularity({“buckets”:[{“max”:”20″,”increment”:”0.05″},{“max”:”70″,”increment”:”1″}]}); Mntl.RTB.initVideoBidders([{ type: ‘amazon’, id: ‘3446’ }, { type: ‘prebid’, id: ‘true’ } ]); Mntl.RTB.initDisplayAndOutstreamBidders([{ type: “amazon”, id: ‘3446’},{ type: “msg”, id: ‘true’},{ type: “ixid”, id: ‘true’},{ type: “prebid”, id: ‘true’}]); Mntl.RTB.Plugins.prebid.setConfig({“square-fixed/tier1”:[{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479272″,”type”:”display”}},{“bidder”:”ttd”,”params”:{“supplySourceId”:”dotdash”,”publisherId”:”1″,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426744″,”zoneId”:”2441206″,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”21060384″,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”1005829″,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”21950″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”criteo”,”params”:{“networkId”:7764,”type”:”display”}}],”leaderboardac/tier3″:[{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”21060381″,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426744″,”zoneId”:”2441204″,”type”:”display”}},{“bidder”:”ttd”,”params”:{“supplySourceId”:”dotdash”,”publisherId”:”1″,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”21947″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479269″,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”1005827″,”type”:”display”}},{“bidder”:”criteo”,”params”:{“networkId”:7764,”type”:”display”}}],”leaderboard-fixed/tier2″:[{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426744″,”zoneId”:”2441198″,”type”:”display”}},{“bidder”:”ttd”,”params”:{“supplySourceId”:”dotdash”,”publisherId”:”1″,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”21060376″,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”21942″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479264″,”type”:”display”}},{“bidder”:”criteo”,”params”:{“networkId”:7764,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”1005825″,”type”:”display”}}],”square-fixed/tier2″:[{“bidder”:”ttd”,”params”:{“supplySourceId”:”dotdash”,”publisherId”:”1″,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479273″,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”21060385″,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”21951″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”1005829″,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426744″,”zoneId”:”2441208″,”type”:”display”}},{“bidder”:”criteo”,”params”:{“networkId”:7764,”type”:”display”}}],”leaderboardac/tier2″:[{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”ttd”,”params”:{“supplySourceId”:”dotdash”,”publisherId”:”1″,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426744″,”zoneId”:”2441202″,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”21944″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”21060378″,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479266″,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”1005827″,”type”:”display”}},{“bidder”:”criteo”,”params”:{“networkId”:7764,”type”:”display”}}],”leaderboard-fixed/tier1″:[{“bidder”:”ttd”,”params”:{“supplySourceId”:”dotdash”,”publisherId”:”1″,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”21941″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”21060375″,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479263″,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426744″,”zoneId”:”2441196″,”type”:”display”}},{“bidder”:”criteo”,”params”:{“networkId”:7764,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”1005825″,”type”:”display”}}],”square-fixed/tier3″:[{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426744″,”zoneId”:”2441210″,”type”:”display”}},{“bidder”:”ttd”,”params”:{“supplySourceId”:”dotdash”,”publisherId”:”1″,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479274″,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”1005829″,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”21060386″,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”21952″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”criteo”,”params”:{“networkId”:7764,”type”:”display”}}],”preroll”:[{“bidder”:”ix”,”params”:{“siteId”:”1005831″,”type”:”instream”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”4515588″,”type”:”instream”}},{“bidder”:”ttd”,”params”:{“supplySourceId”:”dotdash”,”publisherId”:”1″,”type”:”instream”}},{“bidder”:”trustx”,”params”:{“uid”:”351797″,”useNewFormat”:true,”type”:”instream”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426744″,”zoneId”:”2441218″,”type”:”instream”}},{“bidder”:”appnexus”,”params”:{“placementId”:”25482194″,”type”:”instream”}},{“bidder”:”criteo”,”params”:{“networkId”:7764,”type”:”instream”}},{“bidder”:”roundel”,”params”:{“siteId”:578566,”type”:”instream”}}],”square-fixed/tier4″:[{“bidder”:”ttd”,”params”:{“supplySourceId”:”dotdash”,”publisherId”:”1″,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426744″,”zoneId”:”2441212″,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479275″,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”1005829″,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”21060387″,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”21953″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”criteo”,”params”:{“networkId”:7764,”type”:”display”}}],”leaderboard-fixed/tier3″:[{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426744″,”zoneId”:”2441200″,”type”:”display”}},{“bidder”:”ttd”,”params”:{“supplySourceId”:”dotdash”,”publisherId”:”1″,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”21943″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479265″,”type”:”display”}},{“bidder”:”criteo”,”params”:{“networkId”:7764,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”21060377″,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”1005825″,”type”:”display”}}],”leaderboardfooter-flex/tier2″:[{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479269″,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”21947″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426744″,”zoneId”:”2441204″,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”1005828″,”type”:”display”}},{“bidder”:”criteo”,”params”:{“networkId”:7764,”type”:”display”}},{“bidder”:”ttd”,”params”:{“supplySourceId”:”dotdash”,”publisherId”:”1″,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”21060381″,”type”:”display”}}],”leaderboardfooter-flex/tier1″:[{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”21944″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426744″,”zoneId”:”2441202″,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”1005828″,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”21060378″,”type”:”display”}},{“bidder”:”criteo”,”params”:{“networkId”:7764,”type”:”display”}},{“bidder”:”ttd”,”params”:{“supplySourceId”:”dotdash”,”publisherId”:”1″,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479266″,”type”:”display”}}],”leaderboardfooter-flex/tier4″:[{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479269″,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”21947″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426744″,”zoneId”:”2441204″,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”1005828″,”type”:”display”}},{“bidder”:”criteo”,”params”:{“networkId”:7764,”type”:”display”}},{“bidder”:”ttd”,”params”:{“supplySourceId”:”dotdash”,”publisherId”:”1″,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”21060381″,”type”:”display”}}],”leaderboardfooter-flex/tier3″:[{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”21944″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426744″,”zoneId”:”2441202″,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”1005828″,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”21060378″,”type”:”display”}},{“bidder”:”criteo”,”params”:{“networkId”:7764,”type”:”display”}},{“bidder”:”ttd”,”params”:{“supplySourceId”:”dotdash”,”publisherId”:”1″,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479266″,”type”:”display”}}],”square-flex/tier1″:[{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426744″,”zoneId”:”2441214″,”type”:”display”}},{“bidder”:”ttd”,”params”:{“supplySourceId”:”dotdash”,”publisherId”:”1″,”type”:”display”}},{“bidder”:”criteo”,”params”:{“networkId”:7764,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479276″,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”21954″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”1005830″,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”21060388″,”type”:”display”}}],”square-flex/tier2″:[{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479279″,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”ttd”,”params”:{“supplySourceId”:”dotdash”,”publisherId”:”1″,”type”:”display”}},{“bidder”:”criteo”,”params”:{“networkId”:7764,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”21060392″,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426744″,”zoneId”:”2441216″,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”21957″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”1005830″,”type”:”display”}}],”leaderboard-flex/tier2″:[{“bidder”:”appnexus”,”params”:{“placementId”:”21060381″,”type”:”display”}},{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479269″,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”21947″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”1005826″,”type”:”display”}},{“bidder”:”criteo”,”params”:{“networkId”:7764,”type”:”display”}},{“bidder”:”ttd”,”params”:{“supplySourceId”:”dotdash”,”publisherId”:”1″,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426744″,”zoneId”:”2441204″,”type”:”display”}}],”leaderboard-flex/tier1″:[{“bidder”:”pubmatic”,”params”:{“publisherId”:”158139″,”adSlot”:”3479266″,”type”:”display”}},{“bidder”:”roundel”,”params”:{“siteId”:382319,”type”:”display”}},{“bidder”:”ix”,”params”:{“siteId”:”1005826″,”type”:”display”}},{“bidder”:”criteo”,”params”:{“networkId”:7764,”type”:”display”}},{“bidder”:”ttd”,”params”:{“supplySourceId”:”dotdash”,”publisherId”:”1″,”type”:”display”}},{“bidder”:”trustx”,”params”:{“uid”:”21944″,”useNewFormat”:true,”type”:”display”}},{“bidder”:”appnexus”,”params”:{“placementId”:”21060378″,”type”:”display”}},{“bidder”:”rubicon”,”params”:{“accountId”:”7499″,”siteId”:”426744″,”zoneId”:”2441202″,”type”:”display”}}]}); Mntl.RTB.Plugins.prebid.setUserIdConfig({“liveIntentPublisherId”:”1138″}); Mntl.RTB.setLatencyBuffer(0); (function(){ const pageTargeting = { customSeries: ” ,abtest: ‘lcid1’ ,tax0: ‘EatingWell’ ,rid: ‘n3c1340849b9f4413a9d71b37e472df1122’ ,custom: ” ,sid: ‘n3c1340849b9f4413a9d71b37e472df1122’ } ; const baseSlotTargeting = { inf: ‘0’ ,entryType: ‘direct’ ,gtemplate: ‘taxonomy’ ,leaid: ‘156569’ ,revenueGroup: ” ,docId: ‘7186269’ ,viewtype: ‘taxonomy’ ,type: ‘taxonomy’ ,ptax: ‘etg_weight-loss’ ,tax1: ‘etg_special-diets’ ,tax2: ‘etg_weight-loss’ ,chpg: ‘1’ ,t: ‘140’ ,au: ‘156569’ ,tier: ‘L’ ,jny: ‘0’ ,leuid: ‘153546959002053’ ,sbj: ‘pidetg_best-foods-for-weight-loss’ ,id: ‘7186269’ ,aid: ” ,tax3: ‘etg_best-foods-for-weight-loss’ ,jnyroot: ” ,tax4: ” } ; const adLazyOffset = {‘mob-square-fixed-intro-1’: 750}; pageTargeting.w = Mntl.utilities.getW(); const initialSlots = []; 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 }) }); 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.eatingwell.com’, templateName: ‘taxonomysc’, isMobile: false, dfpId: ‘3865’, publisherProvidedId: ‘f3e99fd9-1ca8-4de3-b931-eeaa4aa74fff’, singleRequest: false, useLmdFormat: true, useOxygen: true, prebidConfigApi: false, useInfiniteRightRail: true, useAuctionFloorSearch: true, fiftyPercentAdRefresh: true, lmdSiteCode: ‘hlt’, pageTargeting, baseSlotTargeting, adLazyOffset, geo: { isInEurope: false, isInUsa: true }, initialSlots, auctionFloors: {“other”:{“id”:”d352a45b29fa4cfda77f2c41b8b59cbb”,”floor”:”5″},”leaderboardac”:{“id”:”6f4b7380e21a40f18e141a724238f55e”,”floor”:”325″},”leaderboard-flex-1″:{“id”:”4324231d19f34af584ad106b52295d3a”,”floor”:”5″},”square-flex-2″:{“id”:”bc5c5a6007d14e3ba8b10b529816ebc2″,”floor”:”5″},”square-flex-1″:{“id”:”dd4f96afcf8247c999b5891ef881704d”,”floor”:”105″},”square-fixed-4″:{“id”:”6791876a951a4b31a9b9ef3f692b33e1″,”floor”:”120″},”leaderboard-fixed-3″:{“id”:”d841d7af550b46dd828cfeb4633894bf”,”floor”:”95″},”mob-square-fixed-4″:{“id”:”975457447c474ddabbf2854939c9de95″,”floor”:”105″},”square-fixed-3″:{“id”:”d33fdafd8af94e36ba38775d90e573b3″,”floor”:”135″},”leaderboard-fixed-4″:{“id”:”20a0f5057b484350b01f0eddeb1231db”,”floor”:”115″},”mob-square-fixed-5″:{“id”:”79dfdeaf139b4f4aaadb522505452d0f”,”floor”:”80″},”square-fixed-2″:{“id”:”80860c43ee7640db86cff5527d0fd611″,”floor”:”5″},”leaderboard-fixed-1″:{“id”:”9233335e6f8f44a0bd210fc3e9ea5ecf”,”floor”:”125″},”mob-square-fixed-6″:{“id”:”0fac654e2b164772af6784a84e012a00″,”floor”:”110″},”square-fixed-1″:{“id”:”2115bf0a2ced400a81a43c3a40e7ab98″,”floor”:”5″},”leaderboard-fixed-2″:{“id”:”559ffc0bf06e48df9475e39eb6ce2724″,”floor”:”120″},”mob-square-fixed-7″:{“id”:”e00192e903744b04a4380bb027a86605″,”floor”:”115″},”square-fixed-8″:{“id”:”d9193cf014214ad988e241d23807698d”,”floor”:”90″},”square-fixed-7″:{“id”:”8923e5bd9f6a4e09807f45d40f2d128a”,”floor”:”5″},”mob-square-flex-1″:{“id”:”7e2115bad3bc40f2bb1bfb065656548a”,”floor”:”45″},”square-fixed-6″:{“id”:”2470bc9a98cd48d0b6f1fcd6934dab37″,”floor”:”40″},”leaderboardfooter-flex-2″:{“id”:”073277b869054a768125900c845f051f”,”floor”:”540″},”leaderboard-fixed-5″:{“id”:”52bcbd2310cc4715b8f3656aebaa5998″,”floor”:”125″},”square-fixed-5″:{“id”:”fc3f32818d65424a99dfa7af8bbb047e”,”floor”:”110″},”leaderboardfooter-flex-1″:{“id”:”f34759cecbb24c7f926c73cd0b1c8d4d”,”floor”:”355″},”leaderboard-fixed-0″:{“id”:”24db3c4a0d8c4b54b286e9bd4591d537″,”floor”:”125″},”mob-square-fixed-2″:{“id”:”3033a4ca30e84ade9c61764d76bbc59f”,”floor”:”100″},”mob-square-fixed-3″:{“id”:”e46977bf403a4bdbb63f8dd92460e7b8″,”floor”:”100″},”inline”:{“id”:”48096cb4efcd46bf89a47b5bd85114cd”,”floor”:”5″},”square-fixed”:{“id”:”f2873b5cb0644666be926b649557d382″,”floor”:”5″},”square-fixed-9″:{“id”:”8e51f4a4eb4b4b11b8809d2806da85e4″,”floor”:”75″}}, utils: { generateSlotId: Eatingwell.GPT.generateSlotId }, displayOnScroll: false, displayOnConsent: true, adsToCollapse: [‘leaderboard*’,’square*’] }; if (Mntl.AdMetrics) { Mntl.AdMetrics.init(“7186269”, “n3c1340849b9f4413a9d71b37e472df1122″, initialSlots.map(slot => slot.config.id), Date.now()); } else { Mntl.AdMetrics = { pushMetrics: () => {} }; } Mntl.GPT.init(options); }());window.addEventListener(‘readyForThirdPartyTracking’, () => { // Set a delay for loading the script // Specify the delay duration in pushly.xml const delay = ‘8’; window.setTimeout(() => { Mntl.utilities.loadExternalJS({ src: ‘https://cdn.p-n.io/pushly-sdk.min.js?domain_key=DLBIppY7gi1AVRj1d5NzHTKwmIKtVeqZjXaN’, async: true }); window.PushlySDK = window.PushlySDK || []; // eslint-disable-next-line prefer-rest-params function pushly() { window.PushlySDK.push(arguments); } pushly(‘load’, { domainKey: ‘DLBIppY7gi1AVRj1d5NzHTKwmIKtVeqZjXaN’, sw: ‘/pushly-sdk-worker.js’ }); }, parseFloat(delay) * 1000); }); // 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′); }); window.dataLayer = window.dataLayer || []; window.dataLayer.push({ event: ‘ab-proctor’, ‘abTests-proctor’: { “99-0” : “useOxygen | useOxygen | use the Oxygenated ad unit format and slot names | 1” , “99-1” : “vanillaJSLazyAdRecipeSC | active | vanillaLazyAd.js enabled | 1” , “99-2” : “userIdAuctionDelay | lmd | active | 1” , “99-3” : “useFloorSearch | active | search API flooring system | 1” , “99-4” : “fiftyPercentAdRefresh | active | Ads refresh when 50% in view | 1” , “99-5” : “useConsentManagement | noEnforcement | use Consent Management Module with no enforcement | 1” , “99-6” : “recipescDesktopAdRefresh | active | active, right rail ads timed refresh active | 1” , “99-7” : “gamVideoUsePlcmt | active | Pass plcmt | 1” , “99-8” : “liveIntentConnectedIdTest | control | LiveIntent ConnectedID is enabled | 0” , “99-9” : “useDynamicVideoSizes | active | active | 1” , “99-10” : “orion | control | Control | 0” , “99-11” : “prebidVideoUsePlcmt | active | Pass plcmt | 1” , “99-12” : “useLiveRamp | active | active | 1” , “99-13” : “scAdsScript | active | Sc-ads.js is loaded in mantle inside listScCommerceTemplates. Sc-ads.js stops loading through commerce | 1” } }); window.dataLayer.push({ envData: { environment: { environment: “k8s-prod”, application: “eatingwell”, dataCenter: “us-west-1” }, server: { version: “2.28.0”, title: “eatingwell-launcher” }, client : { browserUA: navigator.userAgent, serverUA: “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.1.2 Safari/603.3.8”, deviceType: “pc”, usStateCode: “AZ” }, mantle: “4.0.307”, commerce: “” } }); (function(fnUtils, CMP) { const deferLoadTime = 5000; const readyForThirdPartyTrackingEvent = new CustomEvent(‘readyForThirdPartyTracking’, { bubbles: true }); const readyForThirdPartyTracking = fnUtils.once(function() { window.dataLayer.push({event: ‘readyForThirdPartyTracking’}); window.dispatchEvent(readyForThirdPartyTrackingEvent); }); const readyForDeferredScriptsEvent = new CustomEvent(‘readyForDeferredScripts’, { bubbles: true }); const readyForDeferredScripts = fnUtils.once(function() { window.dataLayer.push({event: ‘readyForDeferredScripts’}); window.dispatchEvent(readyForDeferredScriptsEvent); }); const hasTargetingConsentHandler = function() { const hasConsent = CMP.hasTargetingConsent(); if (hasConsent) { readyForThirdPartyTracking(); } // Trigger the readyForDeferredScripts if consent is given // or if the user has closed the banner(AlertBox) which exists for EU // or if the user optin consent is not required, which applies for non gdpr locations if (hasConsent || CMP.isAlertBoxClosed() || !CMP.isOptInConsent()) { readyForDeferredScripts(); } return hasConsent; }; const purposeOneConsentHandler = async function() { const hasPurposeOneConsent = await CMP.hasPurposeOneConsent(); if (hasPurposeOneConsent) { readyForThirdPartyTracking(); } if (hasPurposeOneConsent || CMP.isAlertBoxClosed()) { readyForDeferredScripts(); } return hasPurposeOneConsent; }; const onRequiredDomEvent = fnUtils.once(function() { if (!CMP) { readyForThirdPartyTracking(); readyForDeferredScripts(); return; } const handler = CMP.supportsTCData() ? purposeOneConsentHandler : hasTargetingConsentHandler; if (!CMP.isLoading()) { handler(); } CMP.onConsentChange(handler); }); [ [‘adRendered’, onRequiredDomEvent], [‘beforeunload’, onRequiredDomEvent], [‘load’, function() { setTimeout(onRequiredDomEvent, deferLoadTime); }] ].forEach(function(event) { window.addEventListener(event[0], event[1], { once: true }); }); })(Mntl.fnUtilities || {}, Mntl.CMP);window.dataLayer = window.dataLayer || []; (function() { var pageViewDataAsJSON = {“country”:”US”,”description”:”Find out which are the best foods to eat more of when you’re trying to lose weight from EatingWell’s food and nutrition experts.”,”title”:”Best Foods for Weight-Loss” || document.title || ”,”viewType”:”TAXONOMY”,”authorId”:”156569″,”templateName”:”TAXONOMYSC”,”contentGroup”:”Other”,”revenueGroup”:””,”authorNames”:”Staff Author”,”documentId”:7186269,”templateId”:”140″,”muid”:”f3e99fd9-1ca8-4de3-b931-eeaa4aa74fff”,”lastEditingAuthorId”:”156569″,”lastEditingUserId”:”153546959002053″,”fullUrl”:”https://www.eatingwell.com/category/4239/best-foods-for-weight-loss/” + location.hash,”experienceType”:”single page”,”entryType”:”direct”,”excludeFromComscore”:false,”internalSessionId”:”n3c1340849b9f4413a9d71b37e472df1122″,”internalRequestId”:”n3c1340849b9f4413a9d71b37e472df1122″,”hid”:””,”experienceTypeName”:””,”recircDocIdsFooter”:””,”euTrafficFlag”:false,”isGoogleBot”:false,”mantleVersion”:”4.0.307″,”commerceVersion”:””,”primaryTaxonomyIds”:”6744898|7186422|7186716|7186269″,”primaryTaxonomyNames”:”EatingWell|Special Diets|Weight Loss|Best Foods for Weight-Loss”}; var scrolledPageData = {}; var scrolledDocOrdinal; var scrolledPage; pageViewDataAsJSON.breakpointName = Eatingwell.utilities.getW(); pageViewDataAsJSON.bounceExchangeId = 2548; if ( pageViewDataAsJSON.experienceTypeName == ‘continuous’ ) { if (window.dataLayer && window.dataLayer.length) { //loop through events and collect previous scrolledDocOrdinal and scrolledPage values scrolledPageData = window.dataLayer.reduce( (acc, curr) => { if (curr.event == ‘unifiedPageview’) { acc.scrolledDocOrdinal = acc.scrolledDocOrdinal ? acc.scrolledDocOrdinal + 1 : 1; acc.scrolledPage = acc.scrolledPage ? acc.scrolledPage + ” | ” + (curr.documentId).toString() : (curr.documentId).toString(); } return acc; }, {}); } scrolledPage = scrolledPageData.scrolledPage ? scrolledPageData.scrolledPage + ‘ | ‘ + (pageViewDataAsJSON.documentId).toString() : (pageViewDataAsJSON.documentId).toString(); scrolledDocOrdinal = scrolledPageData.scrolledDocOrdinal ? scrolledPageData.scrolledDocOrdinal + 1 : 1; pageViewDataAsJSON.scrolledPage = scrolledPage; pageViewDataAsJSON.scrolledDocOrdinal = scrolledDocOrdinal; } Mntl.utilities.onLoad(function() { Mntl.PageView.init(pageViewDataAsJSON); }); })();]]>
Find out which are the best foods to eat more of when you’re trying to lose weight from EatingWell’s food and nutrition experts.
