","showSummary":null,"url":"/kroger-delivers-free-flu-shots","date":"2010-12-09T00:00:00","author":{"email":"info@progressivegrocer.com","uname":"pg_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":"Food Retailers","url":"/food-retailers"},{"name":"Market Trends","url":"/market-trends"},{"name":"New Products & Promotions","url":"/new-products-promotions"},{"name":"Nonfoods","url":"/nonfoods"}],"attachedFiles":[]},{"title":"Was the MVP at Your Tailgating Party This Fall?","id":41560,"bundle":"article","summary":"Northeast promo awards prizes, spurs beef sales","showSummary":null,"url":"/was-mvp-your-tailgating-party-fall","date":"2010-12-09T00:00:00","author":{"email":"info@progressivegrocer.com","uname":"pg_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":"Market Trends","url":"/market-trends"},{"name":"New Products & Promotions","url":"/new-products-promotions"},{"name":"Nonfoods","url":"/nonfoods"},{"name":"Meat / Seafood","url":"/meat-seafood"}],"attachedFiles":[]},{"title":"NFL Stars Endorse Detour Protein Bars","id":41543,"bundle":"article","summary":"Football players say snacks help fuel their elite performance
","showSummary":null,"url":"/nfl-stars-endorse-detour-protein-bars","date":"2010-12-09T00:00:00","author":{"email":"info@progressivegrocer.com","uname":"pg_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":"Market Trends","url":"/market-trends"},{"name":"New Products & Promotions","url":"/new-products-promotions"}],"attachedFiles":[]},{"title":"Big Y, Bi-Lo Continue to Grow","id":41553,"bundle":"article","summary":"Staying competitive means expanding or revamping stores, offering improved amenities.","showSummary":null,"url":"/big-y-bi-lo-continue-grow","date":"2010-12-09T00:00:00","author":{"email":"info@progressivegrocer.com","uname":"pg_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":"Food Retailers","url":"/food-retailers"},{"name":"Special Reports","url":"/special-reports"},{"name":"Equipment & Design","url":"/equipment-design"},{"name":"Research & Analysis","url":"/research-analysis"},{"name":"Market Trends","url":"/market-trends"},{"name":"New Products & Promotions","url":"/new-products-promotions"},{"name":"Dairy / Refrigerated","url":"/dairy-refrigerated"},{"name":"Nonfoods","url":"/nonfoods"},{"name":"Deli / Prepared Foods","url":"/deli-prepared-foods"}],"attachedFiles":[]},{"title":"Bowling for Dollars","id":41508,"bundle":"article","summary":"Suppliers and retailers alike are gearing up for winning Super Bowl sales.","showSummary":null,"url":"/bowling-dollars-0","date":"2010-12-06T00:00:00","author":{"email":"info@progressivegrocer.com","uname":"pg_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":"Trading Partners","url":"/trading-partners"},{"name":"Nonfoods","url":"/nonfoods"},{"name":"Market Trends","url":"/market-trends"},{"name":"New Products & Promotions","url":"/new-products-promotions"},{"name":"Deli / Prepared Foods","url":"/deli-prepared-foods"},{"name":"Pharmacy","url":"/pharmacy"}],"attachedFiles":[]},{"title":"Winn-Dixie Brand Water Sales Aid 'Toys for Tots'","id":41496,"bundle":"article","summary":"The 24-packs sport appropriate seasonal imagery.","showSummary":null,"url":"/winn-dixie-brand-water-sales-aid-toys-tots","date":"2010-12-05T00:00:00","author":{"email":"info@progressivegrocer.com","uname":"pg_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":"Food Retailers","url":"/food-retailers"},{"name":"Trading Partners","url":"/trading-partners"},{"name":"Nonfoods","url":"/nonfoods"},{"name":"Market Trends","url":"/market-trends"},{"name":"New Products & Promotions","url":"/new-products-promotions"}],"attachedFiles":[]}]},"title":"Departments","contentParagraphs":null,"sections":null};
const country = "US";
const language = null;
const SITE_LANGUAGE = "en";
const siteName = "Progressive Grocer";
const userRoles = ["anonymous"];
const userUid = 0;
const indexName = "pg";
const title = "Departments | Progressive Grocer";
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);
}
})();
Departments | Progressive Grocer
-
This year’s program tally came to more than $688,000.
-
America’s pork producers doing their part to spread cheer with a 3,500 pound pork donation to Texas food bank.
X
This ad will auto-close in 10 seconds