-
GPM Southeast Makes Debut Following VPS Purchase
The retailer's portfolio grows by more than 260 stores, effective today. -
How High (or Low) Have You Set the Bar?
It's time to raise the job performance expectations for your employees.
","showSummary":null,"url":"/how-high-or-low-have-you-set-bar","date":"2013-08-06T00: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":42984,"url":"https://assets1.csnews.com/files/styles/secondary_articles_short/s3/64209.jpg?itok=tJjitrQ8","width":240,"height":300,"alt":null},"topics":[{"name":"Expert Viewpoints","url":"/expert-viewpoints"}],"attachedFiles":[]},{"title":"New App Pushes Deals From Distributors to C-store Chains","id":37812,"bundle":"article","summary":"VERGE Promote keeps clients and customers connected in real-time.","showSummary":null,"url":"/new-app-pushes-deals-distributors-c-store-chains","date":"2013-08-06T00: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":"Shell Brings Back 'Ultimate Enthusiast' Contest","id":38733,"bundle":"article","summary":"Grand-prize winner will receive free fuel and a trip to Ferrari's hometown of Maranello, Italy.","showSummary":null,"url":"/shell-brings-back-ultimate-enthusiast-contest","date":"2013-08-06T00: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":"Marketing","url":"/marketing"}],"attachedFiles":[]},{"title":"CHS Stays on Steady Path of Retail Growth","id":37807,"bundle":"article","summary":"Proven programs, image updates support Cenex and Zip Trip stores.","showSummary":null,"url":"/chs-stays-steady-path-retail-growth","date":"2013-08-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":"Special Features","url":"/special-features"}],"attachedFiles":[]},{"title":"Combined Oil Sells Business to U.S. Oil","id":37804,"bundle":"article","summary":"The branded wholesale fuel supplier services more than 160 Midwest c-stores.","showSummary":null,"url":"/combined-oil-sells-business-us-oil","date":"2013-08-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":"Mergers and Acquisitions","url":"/mergers-and-acquisitions"}],"attachedFiles":[]},{"title":"NACS Lays Out Possible Swipe Fee Reform Scenarios","id":37805,"bundle":"article","summary":"A Federal Reserve decision to appeal the ruling will determine the next step. ","showSummary":null,"url":"/nacs-lays-out-possible-swipe-fee-reform-scenarios","date":"2013-08-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":"Legislative, Regulatory & Legal","url":"/legislative-regulatory-legal"}],"attachedFiles":[]},{"title":"Not Much Change Seen in U.S. Restaurant Count","id":37799,"bundle":"article","summary":"NPD Group data shows QSRs increase total units, but full-service location count is flat.","showSummary":null,"url":"/not-much-change-seen-us-restaurant-count","date":"2013-08-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":"Competitive Watch","url":"/competitive-watch"}],"attachedFiles":[]},{"title":"Mastering the Medium of Digital Signage","id":37806,"bundle":"article","summary":"C-stores can take advantage of the flexibility and powerful imagery.","showSummary":null,"url":"/mastering-medium-digital-signage","date":"2013-08-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":{"id":42986,"url":"https://assets1.csnews.com/files/styles/secondary_articles_short/s3/64207.jpg?itok=qGiLf3CF","width":252,"height":300,"alt":null},"topics":[{"name":"Technology","url":"/technology"}],"attachedFiles":[]},{"title":"Drugstores Going After Baby Boomers' Dollars","id":37800,"bundle":"article","summary":"Rite Aid and Walgreens launch campaigns to attract aging customers.","showSummary":null,"url":"/drugstores-going-after-baby-boomers-dollars","date":"2013-08-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":"Competitive Watch","url":"/competitive-watch"}],"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); } })();