","showSummary":null,"url":"/consumers-go-c-stores-seeking-coffee-other-dispensed-bevs","date":"2011-07-05T00:00:00","author":{"email":"devteam@ashday.com","uname":"eiq_root","firstName":null,"lastName":null,"bio":null,"title":null,"picture":null,"phone":null,"contactForm":null},"digitalEdition":null,"sponsored":false,"taggedPro":null,"teaserImage":null,"topics":[{"name":"Consumer Insights","url":"/consumer-insights"}],"attachedFiles":[]},{"title":"Who Buys Prepared Food at C-stores?","id":19010,"bundle":"article","summary":"CSNews study shows it's middle-income young males in northern climates","showSummary":null,"url":"/who-buys-prepared-food-c-stores-0","date":"2011-06-27T00:00:00","author":{"email":"devteam@ashday.com","uname":"eiq_root","firstName":null,"lastName":null,"bio":null,"title":null,"picture":null,"phone":null,"contactForm":null},"digitalEdition":null,"sponsored":false,"taggedPro":null,"teaserImage":null,"topics":[{"name":"Consumer Insights","url":"/consumer-insights"}],"attachedFiles":[]},{"title":"New Research Predicts Dramatic Change for C-store Competitive Landscape","id":18776,"bundle":"article","summary":"Companies with diversified portfolios will foray into the U.S. c-store market, according to Research & Markets' "U.S. Convenience Stores Market Outlook to 2013" report.","showSummary":null,"url":"/new-research-predicts-dramatic-change-c-store-competitive-landscape","date":"2011-06-21T00:00:00","author":{"email":"devteam@ashday.com","uname":"eiq_root","firstName":null,"lastName":null,"bio":null,"title":null,"picture":null,"phone":null,"contactForm":null},"digitalEdition":null,"sponsored":false,"taggedPro":null,"teaserImage":null,"topics":[{"name":"Consumer Insights","url":"/consumer-insights"}],"attachedFiles":[]},{"title":"Kwik Trip Among Minnesota's Top Workplaces","id":18778,"bundle":"article","summary":"The c-store chain ranks third on the Star Tribune's annual ranking of the state's top large-company workplaces. ","showSummary":null,"url":"/kwik-trip-among-minnesotas-top-workplaces","date":"2011-06-21T00:00:00","author":{"email":"devteam@ashday.com","uname":"eiq_root","firstName":null,"lastName":null,"bio":null,"title":null,"picture":null,"phone":null,"contactForm":null},"digitalEdition":null,"sponsored":false,"taggedPro":null,"teaserImage":null,"topics":[{"name":"Consumer Insights","url":"/consumer-insights"}],"attachedFiles":[]},{"title":"Consumers Not Willing to Pay More to Weigh Less","id":18682,"bundle":"article","summary":"New NPD Group study shows consumers want healthy restaurant options to match the prices of all other menu items. ","showSummary":null,"url":"/consumers-not-willing-pay-more-weigh-less","date":"2011-06-08T00:00:00","author":{"email":"devteam@ashday.com","uname":"eiq_root","firstName":null,"lastName":null,"bio":null,"title":null,"picture":null,"phone":null,"contactForm":null},"digitalEdition":null,"sponsored":false,"taggedPro":null,"teaserImage":null,"topics":[{"name":"Consumer Insights","url":"/consumer-insights"}],"attachedFiles":[]},{"title":"Hispanic Pizza Restaurant Grows Houston Portfolio","id":18590,"bundle":"article","summary":"Pizza Patròn has also recently opened its 100th location.","showSummary":null,"url":"/hispanic-pizza-restaurant-grows-houston-portfolio","date":"2011-05-26T00:00:00","author":{"email":"devteam@ashday.com","uname":"eiq_root","firstName":null,"lastName":null,"bio":null,"title":null,"picture":null,"phone":null,"contactForm":null},"digitalEdition":null,"sponsored":false,"taggedPro":null,"teaserImage":null,"topics":[{"name":"Consumer Insights","url":"/consumer-insights"}],"attachedFiles":[]},{"title":"Don't Stereotype Male Shoppers","id":18591,"bundle":"article","summary":"New study reveals men are adopting wide range of money-saving rituals and shopping strategies.","showSummary":null,"url":"/dont-stereotype-male-shoppers","date":"2011-05-26T00:00:00","author":{"email":"devteam@ashday.com","uname":"eiq_root","firstName":null,"lastName":null,"bio":null,"title":null,"picture":null,"phone":null,"contactForm":null},"digitalEdition":null,"sponsored":false,"taggedPro":null,"teaserImage":null,"topics":[{"name":"Consumer Insights","url":"/consumer-insights"}],"attachedFiles":[]},{"title":"Mexico's Largest C-Store Chain Looks to Improve Foodservice Offer","id":18493,"bundle":"article","summary":"OXXO retains CBX to address strategic changes.","showSummary":null,"url":"/mexicos-largest-c-store-chain-looks-improve-foodservice-offer","date":"2011-05-11T00:00:00","author":{"email":"devteam@ashday.com","uname":"eiq_root","firstName":null,"lastName":null,"bio":null,"title":null,"picture":null,"phone":null,"contactForm":null},"digitalEdition":null,"sponsored":false,"taggedPro":null,"teaserImage":null,"topics":[{"name":"Consumer Insights","url":"/consumer-insights"}],"attachedFiles":[]},{"title":"Post-Recession Consumers Have Contrasting Mindsets on Spending","id":18481,"bundle":"article","summary":"New NPD report shows the disparity between the two will shape the restaurant industry.","showSummary":null,"url":"/post-recession-consumers-have-contrasting-mindsets-spending","date":"2011-05-10T00:00:00","author":{"email":"devteam@ashday.com","uname":"eiq_root","firstName":null,"lastName":null,"bio":null,"title":null,"picture":null,"phone":null,"contactForm":null},"digitalEdition":null,"sponsored":false,"taggedPro":null,"teaserImage":null,"topics":[{"name":"Consumer Insights","url":"/consumer-insights"}],"attachedFiles":[]},{"title":"Growing Hispanic Market Makes 9.8 Billion Restaurant Visits a Year","id":18290,"bundle":"article","summary":"NPD reports Spanish-speaking Hispanics use restaurants differently than English-speaking Hispanics.","showSummary":null,"url":"/growing-hispanic-market-makes-98-billion-restaurant-visits-year","date":"2011-04-12T00:00:00","author":{"email":"devteam@ashday.com","uname":"eiq_root","firstName":null,"lastName":null,"bio":null,"title":null,"picture":null,"phone":null,"contactForm":null},"digitalEdition":null,"sponsored":false,"taggedPro":null,"teaserImage":null,"topics":[{"name":"Consumer Insights","url":"/consumer-insights"}],"attachedFiles":[]}]},"title":"Research & Data","contentParagraphs":null,"sections":null}; const country = "US"; const language = null; const SITE_LANGUAGE = "en"; const siteName = "Convenience Store News"; const userRoles = ["anonymous"]; const userUid = 0; const indexName = "csnews"; const title = "Research & Data | Convenience Store News"; window.dataLayer = window.dataLayer || []; const data = {}; data.entityTaxonomy = {}; const contentTypes = [ "article", "blog", "bulletin", "embed_page", "landing_page", "event", "image", "page", "product", "whitepaper", "video", "tags", "author_profile", "buyers_guide_listing" ]; if ( routeInfo && "bundle" in routeInfo && contentTypes.includes(routeInfo["bundle"]) ) { data.entityBundle = routeInfo.bundle; data.entityTitle = title || `${routeInfo.title} | ${siteName}`; data.entityId = routeInfo.id; data.entityName = routeInfo.author?.uname; data.entityCreated = routeInfo.created; data.sponsored = routeInfo.sponsored; data.sponsor = routeInfo.sponsoringCompany; data.entityType = "node"; data.entityLangcode = SITE_LANGUAGE; data.siteName = siteName; data.drupalLanguage = language; data.drupalCountry = country; data.userRoles = userRoles; data.userUid = userUid; data.entityTaxonomyKeys = {}; data.entityTaxonomyHierarchies = {}; data.parentNaicsCode = {}; data.isPro = false; data.algoliaIndexName = indexName; // Add taxonomy data const taxonomies = { businessTopic: "business_topic", contentType: "content_type", company: "company", marketSegment: "market_segment", }; const getHierarchy = (term, terms = []) => { terms.push({ id: term.id, name: term.name }); if (term.parentTerm != null) { getHierarchy(term.parentTerm, terms); } return terms; }; const getTerms = (term, useApiId = false) => { return { id: useApiId ? term.apiId : term.id, name: term.name }; }; const getKeys = (term) => { return { id: term.id, name: term.apiId }; }; Object.entries(taxonomies).forEach(([key, item]) => { terms = routeInfo[key]; if (terms && terms.length > 0) { data["entityTaxonomy"][item] = terms.map((term) => getTerms(term, key === "company") ); if (key !== "company") { data["entityTaxonomyKeys"][item] = terms.map(getKeys); termGroups = []; terms.forEach((term, termInd) => { termGroups[termInd] = getHierarchy(term); }); data["entityTaxonomyHierarchies"][item] = termGroups; } } }); data["entityTaxonomy"]["tags"] = routeInfo["topics"] || []; // Primary Topic is either the business topic or the top tag. if (routeInfo["businessTopic"]?.length > 0) { data["entityPrimaryTopic"] = routeInfo["businessTopic"][0]["name"]; } else { if (routeInfo["topics"]?.length > 0) { data["entityPrimaryTopic"] = routeInfo["topics"][0]["name"]; } } // Primary and secondary entityNaicsCodes come from the MarketSegment if (routeInfo.marketSegment?.length > 0) { data.entityNaicsCode = {}; data["entityNaicsCode"]["id"] = routeInfo["marketSegment"][0]["id"]; data["entityNaicsCode"]["name"] = routeInfo["marketSegment"][0]["naicsCode"]; if (routeInfo["marketSegment"][0]["parentTerm"] != null) { data["parentNaicsCode"]["id"] = routeInfo["marketSegment"][0]["parentTerm"]["id"]; data["parentNaicsCode"]["name"] = routeInfo["marketSegment"][0]["parentTerm"]["naicsCode"]; } } else { data.entityNaicsCode = []; } if (routeInfo.taggedPro) { data.isPro = routeInfo.taggedPro; } window.dataLayer.push(data); } else if (routeInfo && "vid" in routeInfo) { data.entityBundle = "tags"; data.entityTitle = routeInfo.name; data.entityId = routeInfo.id; data.entityName = routeInfo.author?.uname; data.entityCreated = routeInfo.created; data.entityType = "taxonomy_term"; data.entityLangcode = SITE_LANGUAGE; data.siteName = siteName; data.sponsored = routeInfo.sponsored; data.sponsor = routeInfo.sponsoringCompany; data.drupalLanguage = language; data.drupalCountry = country; data.userRoles = userRoles; data.userUid = userUid; data.algoliaIndexName = indexName; data["entityTaxonomy"]["tags"] = { id: routeInfo["id"], name: routeInfo["name"], }; window.dataLayer.push(data); } })();