12 Best Places To Eat In Roanoke, Virginia

Posted by:

Category:

Comments:

Post Date:


12 Best Places To Eat In Roanoke, Virginia

[] 12 Best Places To Eat In Roanoke, Virginia { 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(false); Mntl.RTB.setUseLiveRamp(true); Mntl.RTB.setUseLiveIntentSignedInUser(false); Mntl.RTB.setUseGDPREnforcement(false); Mntl.RTB.setUseXandrS2S(false); Mntl.RTB.setUseCommerceAndShoppingAPSTag(false); Mntl.RTB.setRemoveAdTiers(true); Mntl.RTB.setUserIdAuctionDelay(500); Mntl.RTB.setTaxonomyStampValues({"tax1":"slv_Travel","tax2":"slv_Virginia","tax0":"slv"}); Mntl.RTB.setTimeoutLength([750,1250]); Mntl.RTB.Plugins.amazon.amazonConfigs = {"mapTaxValues":{"tax1":"slv_Travel","tax2":"slv_Virginia","si_section":"slv_Virginia","tax0":"slv","tax3":"null"},"amazonSlotName":false,"mapFBValues":{"adunitid":"mapFBID"},"amazonSection":"Virginia"}; 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'},{ type: "liveConnect", id: 'a-0178'}]); Mntl.RTB.Plugins.prebid.setConfig({"leaderboardac/tier3":[{"bidder":"trustx","params":{"uid":"22351","useNewFormat":true,"type":"display"}},{"bidder":"roundel","params":{"siteId":382319,"type":"display"}},{"bidder":"pubmatic","params":{"publisherId":"158139","adSlot":"3479694","type":"display"}},{"bidder":"ttd","params":{"supplySourceId":"dotdash","publisherId":"1","type":"display"}},{"bidder":"appnexus","params":{"placementId":"21060826","type":"display"}},{"bidder":"rubicon","params":{"accountId":"7499","siteId":"426800","zoneId":"2442320","type":"display"}},{"bidder":"criteo","params":{"networkId":7764,"type":"display"}},{"bidder":"ix","params":{"siteId":"447365","type":"display"}}],"leaderboard-fixed/tier2":[{"bidder":"appnexus","params":{"placementId":"21060821","type":"display"}},{"bidder":"ttd","params":{"supplySourceId":"dotdash","publisherId":"1","type":"display"}},{"bidder":"trustx","params":{"uid":"22346","useNewFormat":true,"type":"display"}},{"bidder":"roundel","params":{"siteId":382319,"type":"display"}},{"bidder":"criteo","params":{"networkId":7764,"type":"display"}},{"bidder":"ix","params":{"siteId":"447359","type":"display"}},{"bidder":"pubmatic","params":{"publisherId":"158139","adSlot":"3479689","type":"display"}},{"bidder":"rubicon","params":{"accountId":"7499","siteId":"426800","zoneId":"2442312","type":"display"}}],"square-fixed/tier1":[{"bidder":"rubicon","params":{"accountId":"7499","siteId":"426800","zoneId":"2442322","type":"display"}},{"bidder":"ix","params":{"siteId":"447381","type":"display"}},{"bidder":"appnexus","params":{"placementId":"21060829","type":"display"}},{"bidder":"ttd","params":{"supplySourceId":"dotdash","publisherId":"1","type":"display"}},{"bidder":"criteo","params":{"networkId":7764,"type":"display"}},{"bidder":"pubmatic","params":{"publisherId":"158139","adSlot":"3479697","type":"display"}},{"bidder":"roundel","params":{"siteId":382319,"type":"display"}},{"bidder":"trustx","params":{"uid":"22354","useNewFormat":true,"type":"display"}}],"leaderboard-fixed/tier1":[{"bidder":"ix","params":{"siteId":"447358","type":"display"}},{"bidder":"ttd","params":{"supplySourceId":"dotdash","publisherId":"1","type":"display"}},{"bidder":"roundel","params":{"siteId":382319,"type":"display"}},{"bidder":"trustx","params":{"uid":"22345","useNewFormat":true,"type":"display"}},{"bidder":"criteo","params":{"networkId":7764,"type":"display"}},{"bidder":"appnexus","params":{"placementId":"21060820","type":"display"}},{"bidder":"rubicon","params":{"accountId":"7499","siteId":"426800","zoneId":"2442310","type":"display"}},{"bidder":"pubmatic","params":{"publisherId":"158139","adSlot":"3479688","type":"display"}}],"leaderboardac/tier2":[{"bidder":"ix","params":{"siteId":"447362","type":"display"}},{"bidder":"roundel","params":{"siteId":382319,"type":"display"}},{"bidder":"ttd","params":{"supplySourceId":"dotdash","publisherId":"1","type":"display"}},{"bidder":"trustx","params":{"uid":"22348","useNewFormat":true,"type":"display"}},{"bidder":"pubmatic","params":{"publisherId":"158139","adSlot":"3479691","type":"display"}},{"bidder":"criteo","params":{"networkId":7764,"type":"display"}},{"bidder":"appnexus","params":{"placementId":"21060823","type":"display"}},{"bidder":"rubicon","params":{"accountId":"7499","siteId":"426800","zoneId":"2442318","type":"display"}}],"square-fixed/tier2":[{"bidder":"ix","params":{"siteId":"447382","type":"display"}},{"bidder":"rubicon","params":{"accountId":"7499","siteId":"426800","zoneId":"2442324","type":"display"}},{"bidder":"appnexus","params":{"placementId":"21060830","type":"display"}},{"bidder":"ttd","params":{"supplySourceId":"dotdash","publisherId":"1","type":"display"}},{"bidder":"criteo","params":{"networkId":7764,"type":"display"}},{"bidder":"trustx","params":{"uid":"22355","useNewFormat":true,"type":"display"}},{"bidder":"roundel","params":{"siteId":382319,"type":"display"}},{"bidder":"pubmatic","params":{"publisherId":"158139","adSlot":"3479698","type":"display"}}],"square-fixed/tier3":[{"bidder":"ix","params":{"siteId":"447383","type":"display"}},{"bidder":"appnexus","params":{"placementId":"21060831","type":"display"}},{"bidder":"rubicon","params":{"accountId":"7499","siteId":"426800","zoneId":"2442326","type":"display"}},{"bidder":"ttd","params":{"supplySourceId":"dotdash","publisherId":"1","type":"display"}},{"bidder":"criteo","params":{"networkId":7764,"type":"display"}},{"bidder":"trustx","params":{"uid":"22356","useNewFormat":true,"type":"display"}},{"bidder":"roundel","params":{"siteId":382319,"type":"display"}},{"bidder":"pubmatic","params":{"publisherId":"158139","adSlot":"3479699","type":"display"}}],"leaderboard-fixed/tier4":[{"bidder":"rubicon","params":{"accountId":"7499","siteId":"426800","zoneId":"2442316","type":"display"}},{"bidder":"ix","params":{"siteId":"447361","type":"display"}},{"bidder":"ttd","params":{"supplySourceId":"dotdash","publisherId":"1","type":"display"}},{"bidder":"pubmatic","params":{"publisherId":"158139","adSlot":"3479707","type":"display"}},{"bidder":"trustx","params":{"uid":"22364","useNewFormat":true,"type":"display"}},{"bidder":"roundel","params":{"siteId":382319,"type":"display"}},{"bidder":"criteo","params":{"networkId":7764,"type":"display"}},{"bidder":"appnexus","params":{"placementId":"21060839","type":"display"}}],"square-fixed/tier4":[{"bidder":"appnexus","params":{"placementId":"21060832","type":"display"}},{"bidder":"ttd","params":{"supplySourceId":"dotdash","publisherId":"1","type":"display"}},{"bidder":"pubmatic","params":{"publisherId":"158139","adSlot":"3479700","type":"display"}},{"bidder":"criteo","params":{"networkId":7764,"type":"display"}},{"bidder":"roundel","params":{"siteId":382319,"type":"display"}},{"bidder":"rubicon","params":{"accountId":"7499","siteId":"426800","zoneId":"2442328","type":"display"}},{"bidder":"trustx","params":{"uid":"22357","useNewFormat":true,"type":"display"}},{"bidder":"ix","params":{"siteId":"447384","type":"display"}}],"leaderboard-fixed/tier3":[{"bidder":"ix","params":{"siteId":"447360","type":"display"}},{"bidder":"ttd","params":{"supplySourceId":"dotdash","publisherId":"1","type":"display"}},{"bidder":"roundel","params":{"siteId":382319,"type":"display"}},{"bidder":"appnexus","params":{"placementId":"21060822","type":"display"}},{"bidder":"trustx","params":{"uid":"22347","useNewFormat":true,"type":"display"}},{"bidder":"criteo","params":{"networkId":7764,"type":"display"}},{"bidder":"rubicon","params":{"accountId":"7499","siteId":"426800","zoneId":"2442314","type":"display"}},{"bidder":"pubmatic","params":{"publisherId":"158139","adSlot":"3479690","type":"display"}}],"preroll":[{"bidder":"pubmatic","params":{"publisherId":"158139","adSlot":"3479710","type":"instream"}},{"bidder":"appnexus","params":{"placementId":"21060842","type":"instream"}},{"bidder":"roundel","params":{"siteId":578566,"type":"instream"}},{"bidder":"ttd","params":{"supplySourceId":"dotdash","publisherId":"1","type":"instream"}},{"bidder":"trustx","params":{"uid":"22502","useNewFormat":true,"type":"instream"}},{"bidder":"criteo","params":{"networkId":7764,"type":"instream"}},{"bidder":"ix","params":{"siteId":"491852","type":"instream"}},{"bidder":"rubicon","params":{"accountId":"7499","siteId":"426800","zoneId":"2442334","type":"instream"}}],"leaderboardfooter-flex/tier2":[{"bidder":"roundel","params":{"siteId":382319,"type":"display"}},{"bidder":"ttd","params":{"supplySourceId":"dotdash","publisherId":"1","type":"display"}},{"bidder":"rubicon","params":{"accountId":"7499","siteId":"426800","zoneId":"2442312","type":"display"}},{"bidder":"pubmatic","params":{"publisherId":"158139","adSlot":"4632094","type":"display"}},{"bidder":"appnexus","params":{"placementId":"21060821","type":"display"}},{"bidder":"trustx","params":{"uid":"364527","useNewFormat":true,"type":"display"}},{"bidder":"criteo","params":{"networkId":7764,"type":"display"}},{"bidder":"ix","params":{"siteId":"447359","type":"display"}}],"leaderboardfooter-flex/tier1":[{"bidder":"roundel","params":{"siteId":382319,"type":"display"}},{"bidder":"ttd","params":{"supplySourceId":"dotdash","publisherId":"1","type":"display"}},{"bidder":"trustx","params":{"uid":"364526","useNewFormat":true,"type":"display"}},{"bidder":"rubicon","params":{"accountId":"7499","siteId":"426800","zoneId":"2442310","type":"display"}},{"bidder":"pubmatic","params":{"publisherId":"158139","adSlot":"4632093","type":"display"}},{"bidder":"ix","params":{"siteId":"447358","type":"display"}},{"bidder":"criteo","params":{"networkId":7764,"type":"display"}},{"bidder":"appnexus","params":{"placementId":"21060820","type":"display"}}],"leaderboardfooter-flex/tier4":[{"bidder":"roundel","params":{"siteId":382319,"type":"display"}},{"bidder":"pubmatic","params":{"publisherId":"158139","adSlot":"4632096","type":"display"}},{"bidder":"ttd","params":{"supplySourceId":"dotdash","publisherId":"1","type":"display"}},{"bidder":"ix","params":{"siteId":"447361","type":"display"}},{"bidder":"appnexus","params":{"placementId":"21060839","type":"display"}},{"bidder":"rubicon","params":{"accountId":"7499","siteId":"426800","zoneId":"2442316","type":"display"}},{"bidder":"trustx","params":{"uid":"364529","useNewFormat":true,"type":"display"}},{"bidder":"criteo","params":{"networkId":7764,"type":"display"}}],"leaderboardfooter-flex/tier3":[{"bidder":"roundel","params":{"siteId":382319,"type":"display"}},{"bidder":"ttd","params":{"supplySourceId":"dotdash","publisherId":"1","type":"display"}},{"bidder":"rubicon","params":{"accountId":"7499","siteId":"426800","zoneId":"2442314","type":"display"}},{"bidder":"ix","params":{"siteId":"447360","type":"display"}},{"bidder":"pubmatic","params":{"publisherId":"158139","adSlot":"4632095","type":"display"}},{"bidder":"appnexus","params":{"placementId":"21060822","type":"display"}},{"bidder":"criteo","params":{"networkId":7764,"type":"display"}},{"bidder":"trustx","params":{"uid":"364528","useNewFormat":true,"type":"display"}}],"square-flex/tier1":[{"bidder":"pubmatic","params":{"publisherId":"158139","adSlot":"3479701","type":"display"}},{"bidder":"appnexus","params":{"placementId":"21060833","type":"display"}},{"bidder":"trustx","params":{"uid":"22358","useNewFormat":true,"type":"display"}},{"bidder":"ix","params":{"siteId":"447387","type":"display"}},{"bidder":"roundel","params":{"siteId":382319,"type":"display"}},{"bidder":"criteo","params":{"networkId":7764,"type":"display"}},{"bidder":"rubicon","params":{"accountId":"7499","siteId":"426800","zoneId":"2442330","type":"display"}},{"bidder":"ttd","params":{"supplySourceId":"dotdash","publisherId":"1","type":"display"}}],"leaderboardac/tier1":[{"bidder":"ix","params":{"siteId":"447362","type":"display"}},{"bidder":"roundel","params":{"siteId":382319,"type":"display"}},{"bidder":"ttd","params":{"supplySourceId":"dotdash","publisherId":"1","type":"display"}},{"bidder":"trustx","params":{"uid":"22348","useNewFormat":true,"type":"display"}},{"bidder":"pubmatic","params":{"publisherId":"158139","adSlot":"3479691","type":"display"}},{"bidder":"criteo","params":{"networkId":7764,"type":"display"}},{"bidder":"appnexus","params":{"placementId":"21060823","type":"display"}},{"bidder":"rubicon","params":{"accountId":"7499","siteId":"426800","zoneId":"2442318","type":"display"}}],"square-flex/tier2":[{"bidder":"trustx","params":{"uid":"22361","useNewFormat":true,"type":"display"}},{"bidder":"pubmatic","params":{"publisherId":"158139","adSlot":"3479704","type":"display"}},{"bidder":"roundel","params":{"siteId":382319,"type":"display"}},{"bidder":"criteo","params":{"networkId":7764,"type":"display"}},{"bidder":"rubicon","params":{"accountId":"7499","siteId":"426800","zoneId":"2442332","type":"display"}},{"bidder":"ix","params":{"siteId":"447353","type":"display"}},{"bidder":"appnexus","params":{"placementId":"21060836","type":"display"}},{"bidder":"ttd","params":{"supplySourceId":"dotdash","publisherId":"1","type":"display"}}],"leaderboard-flex/tier2":[{"bidder":"ix","params":{"siteId":"447365","type":"display"}},{"bidder":"appnexus","params":{"placementId":"21060826","type":"display"}},{"bidder":"criteo","params":{"networkId":7764,"type":"display"}},{"bidder":"pubmatic","params":{"publisherId":"158139","adSlot":"3479694","type":"display"}},{"bidder":"roundel","params":{"siteId":382319,"type":"display"}},{"bidder":"rubicon","params":{"accountId":"7499","siteId":"426800","zoneId":"2442320","type":"display"}},{"bidder":"ttd","params":{"supplySourceId":"dotdash","publisherId":"1","type":"display"}},{"bidder":"trustx","params":{"uid":"22351","useNewFormat":true,"type":"display"}}],"leaderboard-flex/tier1":[{"bidder":"ix","params":{"siteId":"447362","type":"display"}},{"bidder":"criteo","params":{"networkId":7764,"type":"display"}},{"bidder":"appnexus","params":{"placementId":"21060823","type":"display"}},{"bidder":"trustx","params":{"uid":"22348","useNewFormat":true,"type":"display"}},{"bidder":"roundel","params":{"siteId":382319,"type":"display"}},{"bidder":"pubmatic","params":{"publisherId":"158139","adSlot":"3479691","type":"display"}},{"bidder":"rubicon","params":{"accountId":"7499","siteId":"426800","zoneId":"2442318","type":"display"}},{"bidder":"ttd","params":{"supplySourceId":"dotdash","publisherId":"1","type":"display"}}]}); Mntl.RTB.Plugins.prebid.setUserIdConfig({"liveIntentPublisherId":"45370"}); Mntl.RTB.setLatencyBuffer(0); (function(){ const pageTargeting = { customSeries: '' ,abtest: 'lcid1' ,tax0: 'Southern Living' ,rid: 'nacdde269489d4191aebd765602cdfcb820' ,custom: '' ,sid: 'nacdde269489d4191aebd765602cdfcb820' } ; const baseSlotTargeting = { gtemplate: 'list' ,leaid: '156569' ,revenueGroup: '' ,docId: '8430990' ,viewtype: 'broadvideo' ,type: 'list' ,ptax: 'slv_Virginia' ,tax1: 'slv_Travel' ,tax2: 'slv_Virginia' ,t: '115' ,au: '156569' ,tier: 'L' ,jny: '0' ,leuid: '151378030080892' ,sbj: '' ,id: '8430990' ,aid: '' ,tax3: '' ,jnyroot: '' ,tax4: '' } ; const adLazyOffset = {'mob-square-fixed-intro-1': 150}; pageTargeting.mtax = ['13085','11030','16730','14078','11053','17353','11277','11035','12821','17679','16735','16537']; pageTargeting.sentiment = 'positive'; pageTargeting.concepts = ['Roanoke','Rail Shot','interior','Lucky Restaurant Ask','Bloom','Restaurant Scallops','some','shot','Places','Scratch Biscuit Co','reputation','biscuits','short ribs','firehouse','Crystal Spring Grocery Co','plates','Bloom Restaurant','plants','flowers','restaurant','fare','food','vegetables','anyone','craft cocktail','chances','proximity','boutique hotel','newcomer','baking sheet','breakfast standout','hiking','biking','reservations','Virginia','River','The River','gourmet market cum café','seating','patio','hike','Rail','Lucky','Wine Bar Dish','Southern','New River Valleys','Stock Cafe Overhead','Roots','American','Stock Cafe Fire Station One','Grandin Village','The Cowboy Crippler','sausage','eatatlucky.com','scene','accompaniments','scratch','restaurants','neighborhood','restaurant scene','eggs','array','dishes','toast','rise','steak frites','Viet Sub','spaghetti squash','beef','Stock Café']; pageTargeting.taxons = '/Food & Drink'.split(//||/).filter((n) => n), 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 }) }); initialSlots.push({ config: { id: 'square-flex-1', sizes: [[300, 250],[299, 251],[300, 600],[300, 1050],[160, 600]], type: 'square', rtb: true, timedRefresh: 0, waitForThirdParty: false }, targeting: Mntl.fnUtilities.deepExtend({}, { pos: 'atf', priority: 2 }) }); 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.southernliving.com', templateName: 'listsc', isMobile: false, dfpId: '3865', publisherProvidedId: 'b1f850e5-6f90-4ef4-8ee0-5f0473fdef79', singleRequest: false, useLmdFormat: true, useOxygen: true, prebidConfigApi: false, useInfiniteRightRail: true, fiftyPercentAdRefresh: true, revenueGroupAllowList: '', lmdSiteCode: 'sl', pageTargeting, baseSlotTargeting, adLazyOffset, geo: { isInEurope: false, isInUsa: true }, initialSlots, auctionFloors: {"other":{"id":"80fdc5d7d36c411ebd4529cee28bbf75","floor":"5"},"leaderboardac":{"id":"5e53eaa12a9e414b9b662b0a627bbc16","floor":"280"},"leaderboard-flex-1":{"id":"ddbd8e37610c443dbd60ddcd5a128ca6","floor":"120"},"square-flex-2":{"id":"55bd703fda214391abd5dfae2a4f84c5","floor":"100"},"square-flex-1":{"id":"d31b36ab085d49d0b6be602fac1bebc7","floor":"115"},"square-fixed-4":{"id":"e65fd93cf644438eb855ac8cd13971a1","floor":"110"},"leaderboard-fixed-3":{"id":"89c449c3199e438f992db96cbc20907d","floor":"145"},"mob-square-fixed-4":{"id":"736dffc5d48a41b9833b860cdd392738","floor":"120"},"square-fixed-3":{"id":"2ccc881a3ed545ceace7937102121a71","floor":"115"},"leaderboard-fixed-4":{"id":"a242f996eb034c799cc324c02988d392","floor":"160"},"mob-square-fixed-5":{"id":"f96beb93dee24ab685f612b0829e374a","floor":"110"},"square-fixed-2":{"id":"7301b8a845254655a4c7a5b8795c4e05","floor":"100"},"leaderboard-fixed-1":{"id":"eeee3fc1a41b48cdbb9e216d93d82741","floor":"135"},"mob-square-fixed-6":{"id":"18ed458de6da445bb0e90a1dd4f52ff9","floor":"100"},"square-fixed-1":{"id":"8da2e8e8bb9a41419b48ed5e7c10a8ea","floor":"90"},"leaderboard-fixed-2":{"id":"e52efa6d2c704b06b5d2c16ccba891d4","floor":"150"},"mob-square-fixed-7":{"id":"8b6243aa759e4dbeb01f7c73805585ce","floor":"110"},"square-fixed-8":{"id":"ae2d1f861b0b412886900ea1a095e792","floor":"90"},"square-fixed-7":{"id":"6b3b72c52afb48cda7710ef154b173b1","floor":"85"},"mob-square-flex-1":{"id":"48378eb6d2d14b3aa0099dd22c2226de","floor":"110"},"square-fixed-6":{"id":"8d334c8ecd38458b9fac3622e6c64a5f","floor":"100"},"leaderboardfooter-flex-2":{"id":"2a62597bf5a2438db9e5cff6502b659e","floor":"550"},"leaderboard-fixed-5":{"id":"5196ffd9946443ee880d815a1afadb70","floor":"145"},"square-fixed-5":{"id":"5286604beab74511aa38eb3a86c95fba","floor":"105"},"leaderboardfooter-flex-1":{"id":"ea90f2698d4a492189286981448aa6ba","floor":"360"},"leaderboard-fixed-0":{"id":"4558f5a430e6480d9f57b94ea797696b","floor":"100"},"mob-square-fixed-1":{"id":"838378d1a6274a9fb47669cd4ad296d1","floor":"85"},"mob-square-fixed-2":{"id":"7e6a2177b0fe48829f13ae280ecbe7be","floor":"5"},"mob-square-fixed-3":{"id":"a7c627eab9c54594b5be4039b170a7da","floor":"130"},"inline":{"id":"f7ca24360cc64657b4e9b602f1eb5940","floor":"5"},"square-fixed":{"id":"f8983b02e0cf4770b11520a16fe60b50","floor":"5"},"mob-squarefooter-fixed-1":{"id":"9564f9c35ccd4b26a56af5c57a1a87ef","floor":"140"},"square-fixed-9":{"id":"98459ab4c2fe45a48c328e52f9217752","floor":"75"},"mob-adhesive-banner-fixed":{"id":"8dcb1e282ca148f7802c90984b66bbbc","floor":"135"}}, utils: { generateSlotId: Southernliving.GPT.generateSlotId }, displayOnScroll: false, displayOnConsent: true, adsToCollapse: ['leaderboard*','square*'] }; if (Mntl.AdMetrics) { Mntl.AdMetrics.init("8430990", "nacdde269489d4191aebd765602cdfcb820", 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=Re0JJYPAmE6s9Hx4AYI9jfintZdYd5EU4R9I', async: true }); window.PushlySDK = window.PushlySDK || []; // eslint-disable-next-line prefer-rest-params function pushly() { window.PushlySDK.push(arguments); } pushly('load', { domainKey: 'Re0JJYPAmE6s9Hx4AYI9jfintZdYd5EU4R9I', 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;j.type="text/javascript";f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-P3X3VT7'); }); window.dataLayer = window.dataLayer || []; window.dataLayer.push({ event: 'ab-proctor', 'abTests-proctor': 1" , "99-6" : "continuousScrollMobSquareFlexOffset }); window.dataLayer.push({ envData: { environment: { environment: "k8s-prod", application: "southernliving", dataCenter: "us-east-1" }, server: { version: "2.59.0", title: "southernliving-launcher" }, client : { browserUA: navigator.userAgent, serverUA: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 Edge/15.15063", deviceType: "pc", usStateCode: "NY" }, mantle: "4.0.466", 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 = ; var scrolledPageData = {}; var scrolledDocOrdinal; var scrolledPage; pageViewDataAsJSON.breakpointName = Southernliving.utilities.getW(); pageViewDataAsJSON.bounceExchangeId = 2548; pageViewDataAsJSON.descriptiveTaxonomy = '13085,11030,16730,14078,11494,11053,17353,16511,11277,11035,12821,16736,17679,16735,16537'; 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') " + (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); }); })();]]> ​
Source

Share this post

Leave a Reply

Your email address will not be published. Required fields are marked *


Related

Posts