\n ","sponsored":false,"teaserImage":{"url":"https://assets1.csnews.com/files/styles/primary_articles_short/s3/3283_1.jpg?itok=87myvQfO","height":500,"width":1026,"alt":null}},{"title":"QuikTrip Has Big Ambitions for 2014","id":21402,"bundle":"article","summary":"Headquarters expansion will support growth in coming years.","showSummary":null,"url":"/quiktrip-has-big-ambitions-2014","date":"2013-11-22T00: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":"Foodservice","url":"/foodservice"}],"attachedFiles":[]},{"title":"Wawa Installing Lotto Machines in All New Jersey Stores","id":21388,"bundle":"article","summary":"The chain's Jackson location will become the latest to offer the service.","showSummary":null,"url":"/wawa-installing-lotto-machines-all-new-jersey-stores","date":"2013-11-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":"Other Merchandise & Services","url":"/other-merchandise-services"}],"attachedFiles":[]},{"title":"E-LUMINATE YOUR SENSES","id":43285,"bundle":"product","url":"/e-luminate-your-senses","summary":"with our Disposable, Rechargeable and Refillable E-Cigarettes. Change your flavor and set your mood with 45 Exotic blends of E-Liquid.","sponsored":false,"teaserImage":{"url":"https://assets1.csnews.com/files/styles/primary_articles_short/s3/3280_1.jpg?itok=9dDA56eK","height":500,"width":472,"alt":null}},{"title":"Big Dog Air","id":43417,"bundle":"product","url":"/big-dog-air","summary":"Fragramatics’ Big Dog Air is a high-output, continuous-use (HOCU) compressor that produces 90 PSI maximum air pressure and can operate at 30 degrees below zero. ","sponsored":false,"teaserImage":{"url":"https://assets1.csnews.com/files/styles/primary_articles_short/s3/3281_1.jpg?itok=7IPi2T2z","height":500,"width":625,"alt":null}},{"title":"GPM Investments Inks Agreement With Western Union","id":21389,"bundle":"article","summary":"Money order and transfer services will be provided across nine-state chain.","showSummary":null,"url":"/gpm-investments-inks-agreement-western-union","date":"2013-11-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":"Other Merchandise & Services","url":"/other-merchandise-services"}],"attachedFiles":[]}]},"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);
}
})();
Product Categories | Convenience Store News
Zander-Greg Inc. added Cuban Legends Habano, featuring a new Habano wrapper leaf, to its line of Nat Cicco Cuban Legends cigars.
Microsite highlights winners of Foodservice Innovators Awards.
E-LUMINATE YOUR SENSES with our Disposable, Rechargeable and Refillable E-Cigarettes. Change your flavor and set your mood with 45 Exotic blends of E-Liquid.
Big Dog Air Fragramatics’ Big Dog Air is a high-output, continuous-use (HOCU) compressor that produces 90 PSI maximum air pressure and can operate at 30 degrees below zero.
X
This ad will auto-close in 10 seconds