-
Krispy Kreme Shifting Focus From Wholesale to Retail
Doughnut chain plans to make major changes at 157 new U.S. retail locations.
-
Sheetz Honors BandyWorks as VIP IT Vendor
Company helps retailer maintain a strict cost control for operations.
","showSummary":null,"url":"/krispy-kreme-shifting-focus-wholesale-retail","date":"2013-09-13T00: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":"Suppliers & Wholesalers","url":"/suppliers-wholesalers"}],"attachedFiles":[]},{"title":"Sheetz Honors BandyWorks as VIP IT Vendor","id":16448,"bundle":"article","summary":"Company helps retailer maintain a strict cost control for operations. ","showSummary":null,"url":"/sheetz-honors-bandyworks-vip-it-vendor","date":"2013-09-13T00: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":"Technology","url":"/technology"}],"attachedFiles":[]},{"title":"CSNews Parent Stagnito Media Acquires Tesoro Business Media","id":16444,"bundle":"article","summary":"New York-based company produces Store Brands Decisions, Green Retail Decisions.","showSummary":null,"url":"/csnews-parent-stagnito-media-acquires-tesoro-business-media","date":"2013-09-13T00: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":"Mergers and Acquisitions","url":"/mergers-and-acquisitions"}],"attachedFiles":[]},{"title":"Community Service Spotlight","id":16449,"bundle":"article","summary":"BP, C.N. Brown, Maverik and NCASEF are among the most recent industry givers.","showSummary":null,"url":"/community-service-spotlight-3","date":"2013-09-13T00: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":"Corporate Responsibility","url":"/corporate-responsibility"}],"attachedFiles":[]},{"title":"Is Your Store Prepared for Pedal Error?","id":16445,"bundle":"article","summary":"Each day, about 20 stores get hit by customer vehicles.","showSummary":null,"url":"/your-store-prepared-pedal-error","date":"2013-09-13T00: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":43505,"url":"https://assets1.csnews.com/files/styles/secondary_articles_short/s3/64438.jpg?itok=CCq2GI3x","width":300,"height":198,"alt":null},"topics":[{"name":"Expert Viewpoints","url":"/expert-viewpoints"}],"attachedFiles":[]},{"title":"Industry Insiders Testify in Swipe Fee Showdown","id":16443,"bundle":"article","summary":"NACS president says proposed settlement is worse than losing at trial.","showSummary":null,"url":"/industry-insiders-testify-swipe-fee-showdown","date":"2013-09-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":"Legislative, Regulatory & Legal","url":"/legislative-regulatory-legal"}],"attachedFiles":[]},{"title":"Wallis Cos. Develops On the Run Mobile App","id":16439,"bundle":"article","summary":"C-store chain also plans to introduce new website and revamped social media strategy.","showSummary":null,"url":"/wallis-cos-develops-run-mobile-app","date":"2013-09-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":"Technology","url":"/technology"}],"attachedFiles":[]},{"title":"Susser Makes Management & Board Changes","id":16441,"bundle":"article","summary":"Sam L. Susser replaces Bruce W. Krysiak as chairman of the board.","showSummary":null,"url":"/susser-makes-management-board-changes","date":"2013-09-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":"People","url":"/people"}],"attachedFiles":[]},{"title":"Shell Names New Downstream Director","id":16437,"bundle":"article","summary":"John Abbott replaces Ben van Beurden and will be responsible for retail operations.","showSummary":null,"url":"/shell-names-new-downstream-director","date":"2013-09-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":"People","url":"/people"}],"attachedFiles":[]},{"title":"Age Matters","id":10745,"bundle":"article","summary":null,"showSummary":null,"url":"/age-matters","date":"2013-09-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":{"id":48827,"url":"https://assets1.csnews.com/files/styles/secondary_articles_short/s3/1379029140_csns_image001.jpg?itok=jdvs2YgS","width":2085,"height":394,"alt":null},"topics":[{"name":"Special Features","url":"/special-features"}],"attachedFiles":[]}]},"title":"Industry News & Trends","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 = "Industry News & Trends | 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); } })();