-
Signature Meats, Seafood to Headline New Big Y Location
Convenience products will play lead role in new store's offerings. -
Registration Open for Annual Meat Conference
The event features an impressive slate of speakers, workshops.
","showSummary":null,"url":"/senate-passes-food-safety-modernization-act","date":"2010-11-30T00: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":"Supermarket & Grocery Industry News","url":"/supermarket-grocery-industry-news"},{"name":"Nonfoods","url":"/nonfoods"},{"name":"Market Trends","url":"/market-trends"},{"name":"Produce / Floral","url":"/produce-floral"},{"name":"Meat / Seafood","url":"/meat-seafood"}],"attachedFiles":[]},{"title":"Beef, Sutter Home Team for Holiday Promotion","id":41453,"bundle":"article","summary":"Beef Checkoff, national winery partner for holiday promo & sweepstakes","showSummary":null,"url":"/beef-sutter-home-team-holiday-promotion","date":"2010-11-30T00: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":"Nonfoods","url":"/nonfoods"},{"name":"Meat / Seafood","url":"/meat-seafood"}],"attachedFiles":[]},{"title":"Cost of Classic Thanksgiving Dinner Up Slightly in 2010","id":41455,"bundle":"article","summary":"Prices increased about 1.3 percent this year.","showSummary":null,"url":"/cost-classic-thanksgiving-dinner-slightly-2010","date":"2010-11-30T00: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":"Research & Analysis","url":"/research-analysis"},{"name":"Nonfoods","url":"/nonfoods"},{"name":"Produce / Floral","url":"/produce-floral"},{"name":"Meat / Seafood","url":"/meat-seafood"}],"attachedFiles":[]},{"title":"Butterball Offers Holiday Savings","id":41440,"bundle":"article","summary":"Turkey stalwart teams with trusted brands.","showSummary":null,"url":"/butterball-offers-holiday-savings","date":"2010-11-29T00: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":"Food Retailers","url":"/food-retailers"},{"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":"Produce / Floral","url":"/produce-floral"},{"name":"Meat / Seafood","url":"/meat-seafood"},{"name":"Equipment & Design","url":"/equipment-design"}],"attachedFiles":[]},{"title":"Butterball Offers Thanksgiving Savings","id":41429,"bundle":"article","summary":"The turkey stalwart has teamed with trusted brands.","showSummary":null,"url":"/butterball-offers-thanksgiving-savings","date":"2010-11-28T00: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":"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":"Produce / Floral","url":"/produce-floral"},{"name":"Meat / Seafood","url":"/meat-seafood"},{"name":"Equipment & Design","url":"/equipment-design"}],"attachedFiles":[]},{"title":"Summer Grilling Beef Promo Added Sizzle to Sales","id":41413,"bundle":"article","summary":"Relatively underused cuts took the spotlight.","showSummary":null,"url":"/summer-grilling-beef-promo-added-sizzle-sales","date":"2010-11-23T00: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":"Turkey Prices May Gobble Up Holiday Budget","id":41383,"bundle":"article","summary":"Cost of this year’s Thanksgiving dinner expected to be higher than in 2009
","showSummary":null,"url":"/turkey-prices-may-gobble-holiday-budget","date":"2010-11-21T00: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":"Research & Analysis","url":"/research-analysis"},{"name":"Market Trends","url":"/market-trends"},{"name":"Nonfoods","url":"/nonfoods"},{"name":"Produce / Floral","url":"/produce-floral"},{"name":"Meat / Seafood","url":"/meat-seafood"}],"attachedFiles":[]},{"title":"Old Birds, New Sides","id":41333,"bundle":"article","summary":"Allrecipes.com releases Thanksgiving Trends survey
","showSummary":null,"url":"/old-birds-new-sides","date":"2010-11-14T00: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":"Nonfoods","url":"/nonfoods"},{"name":"Meat / Seafood","url":"/meat-seafood"}],"attachedFiles":[]}]},"title":"Meat / Seafood","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 = "Meat / Seafood | 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);
}
})();