-
Deeming Regulations: ‘The 800-Pound Gorilla’
The uncertainty of what these rules will entail hangs over the tobacco industry. -
Lykins Changes Name to Reflect Expanded Offering
The energy products supplier represents six major fuel brands.
","showSummary":null,"url":"/7-eleven-going-after-piece-super-bowl-pie","date":"2014-01-29T00: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":{"id":43580,"url":"https://assets1.csnews.com/files/styles/secondary_articles_short/s3/711Logo20140205_3.jpg?itok=Cn84aqGi","width":728,"height":400,"alt":null},"topics":[{"name":"Marketing","url":"/marketing"},{"name":"Foodservice","url":"/foodservice"}],"attachedFiles":[]},{"title":"QSRs Look to Beat Fast-Casual Brands by Joining Them","id":13257,"bundle":"article","summary":"New service styles, customization are among the innovations at test locations.","showSummary":null,"url":"/qsrs-look-beat-fast-casual-brands-joining-them","date":"2014-01-29T00: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":{"id":43618,"url":"https://assets1.csnews.com/files/styles/secondary_articles_short/s3/5efabc8a-c512-4b6f-bcf5-dfcea6ca61f3.jpg?itok=COUmcrDP","width":728,"height":400,"alt":null},"topics":[{"name":"Competitive Watch","url":"/competitive-watch"},{"name":"Foodservice","url":"/foodservice"}],"attachedFiles":[]},{"title":"Opportunities Abound for Tobacco Retailing in 2014","id":13258,"bundle":"article","summary":"Convenience stores could see success with e-cigars, e-hookahs and e-liquids.","showSummary":null,"url":"/opportunities-abound-tobacco-retailing-2014","date":"2014-01-29T00: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":{"id":43616,"url":"https://assets1.csnews.com/files/styles/secondary_articles_short/s3/127395040.jpg?itok=2LAdgW8J","width":728,"height":400,"alt":null},"topics":[{"name":"Tobacco","url":"/tobacco"}],"attachedFiles":[]},{"title":"Heineken Slim Can","id":42687,"bundle":"product","url":"/heineken-slim-can","summary":"Heineken USA will debut an 8.5-ounce Slim Can on March 1, just in time to capitalize on the spring and summer on-the-go outdoor occasions. ","sponsored":false,"teaserImage":{"url":"https://assets1.csnews.com/files/styles/primary_articles_short/s3/3422_1.jpg?itok=5ADoCuFO","height":500,"width":714,"alt":null}},{"title":"Energy Drinks, Tea Stir Up Q4 Beverage Sales","id":13276,"bundle":"article","summary":"Carbonated soft drinks continue to struggle with volume declines.","showSummary":null,"url":"/energy-drinks-tea-stir-q4-beverage-sales","date":"2014-01-28T00: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":{"id":43585,"url":"https://assets1.csnews.com/files/styles/secondary_articles_short/s3/MonsterLogo3.jpg?itok=4frr8324","width":2421,"height":1002,"alt":null},"topics":[{"name":"Beverages","url":"/beverages"}],"attachedFiles":[]},{"title":"Americans Cutting Back on Domestic Beer for Many Reasons","id":13250,"bundle":"article","summary":"Thirst for more variety and caloric concerns among top factors cited.","showSummary":null,"url":"/americans-cutting-back-domestic-beer-many-reasons","date":"2014-01-28T00: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":{"id":43630,"url":"https://assets1.csnews.com/files/styles/secondary_articles_short/s3/o-CRAFT-BEER-facebook.jpg?itok=U2cDxJhs","width":1536,"height":1017,"alt":null},"topics":[{"name":"Beverages","url":"/beverages"},{"name":"Consumer Insights","url":"/consumer-insights"}],"attachedFiles":[]},{"title":"Yumz Express Frozen Yogurt Kiosk","id":42683,"bundle":"product","url":"/yumz-express-frozen-yogurt-kiosk","summary":"Yumz Express is a kiosk-sized version of the full-sized Yumz Gourmet Frozen Yogurt store. ","sponsored":false,"teaserImage":{"url":"https://assets1.csnews.com/files/styles/primary_articles_short/s3/3420_1.jpg?itok=YfOiPxhN","height":500,"width":625,"alt":null}}]},"title":"Product Categories","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 = "Product Categories | 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", ]; 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 toxonomy 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); } })();