-
NATC Wants Financial Risk Mitigation for U.S. Exporters to Canada
Protections should be similar to those of the PACA Trust. -
FMI Offers Discounts for Future Connect Sign-ups
Program encourages wholesalers and independents to attend May event
","showSummary":null,"url":"/fmi-offers-discounts-future-connect-sign-ups","date":"2011-02-16T00: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":"Wholesalers & Distributors","url":"/wholesalers-distributors"}],"attachedFiles":[]},{"title":"Supervalu Feels Heat from Target DC","id":41962,"bundle":"article","summary":"Grocer offers buyouts as discounter expands Midwest operations
","showSummary":null,"url":"/supervalu-feels-heat-target-dc","date":"2011-02-04T00: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":"Wholesalers & Distributors","url":"/wholesalers-distributors"}],"attachedFiles":[]},{"title":"Town Responds to C&S Plan to Close N.J. Warehouse","id":41939,"bundle":"article","summary":"A report points to devastating consequences for the state’s economy.","showSummary":null,"url":"/town-responds-cs-plan-close-nj-warehouse","date":"2011-02-02T00: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":"Wholesalers & Distributors","url":"/wholesalers-distributors"},{"name":"Special Reports","url":"/special-reports"}],"attachedFiles":[]},{"title":"Sobeys Building Automated DC","id":41920,"bundle":"article","summary":"The state-of-the-art facility will be the first of its kind in Quebec.","showSummary":null,"url":"/sobeys-building-automated-dc","date":"2011-01-31T00: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":"Wholesalers & Distributors","url":"/wholesalers-distributors"},{"name":"Supermarket & Grocery Industry News","url":"/supermarket-grocery-industry-news"}],"attachedFiles":[]},{"title":"Wholesaler, Stores Sue Egg Industry","id":41782,"bundle":"article","summary":"More grocers allege collusion to artificially inflate prices","showSummary":null,"url":"/wholesaler-stores-sue-egg-industry","date":"2011-01-12T00: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":"Wholesalers & Distributors","url":"/wholesalers-distributors"},{"name":"Market Trends","url":"/market-trends"},{"name":"Dairy / Refrigerated","url":"/dairy-refrigerated"}],"attachedFiles":[]},{"title":"TopSource, AmeriQuest Form Business Partnership","id":41341,"bundle":"article","summary":"Retailers, wholesalers and manufacturers stand to realize greater savings.","showSummary":null,"url":"/topsource-ameriquest-form-business-partnership","date":"2010-11-15T00: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":"Wholesalers & Distributors","url":"/wholesalers-distributors"},{"name":"Trading Partners","url":"/trading-partners"},{"name":"Equipment & Design","url":"/equipment-design"},{"name":"Supermarket & Grocery Industry News","url":"/supermarket-grocery-industry-news"},{"name":"Research & Analysis","url":"/research-analysis"},{"name":"Market Trends","url":"/market-trends"},{"name":"Nonfoods","url":"/nonfoods"},{"name":"Produce / Floral","url":"/produce-floral"}],"attachedFiles":[]},{"title":"C&S Grocers Steps Up to the Plate for the Hungry","id":41269,"bundle":"article","summary":"Its efforts extend well beyond Hunger Action Month in September.","showSummary":null,"url":"/cs-grocers-steps-plate-hungry","date":"2010-11-04T00: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":"Wholesalers & Distributors","url":"/wholesalers-distributors"},{"name":"Market Trends","url":"/market-trends"},{"name":"New Products & Promotions","url":"/new-products-promotions"}],"attachedFiles":[]},{"title":"United Opens Dallas-area Distribution Center","id":41246,"bundle":"article","summary":"Texas supermarket chain’s 2nd DC will service 16 stores, bring 74 jobs to DFW.","showSummary":null,"url":"/united-opens-dallas-area-distribution-center","date":"2010-11-01T00: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":"Wholesalers & Distributors","url":"/wholesalers-distributors"},{"name":"Market Trends","url":"/market-trends"},{"name":"Frozen Foods","url":"/frozen-foods"}],"attachedFiles":[]},{"title":"N.J. Grocery Loaders Stage 1-day Strike","id":41230,"bundle":"article","summary":"Teamsters members also protested outside A&P HQ.","showSummary":null,"url":"/nj-grocery-loaders-stage-1-day-strike","date":"2010-10-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":"Food Retailers","url":"/food-retailers"},{"name":"Wholesalers & Distributors","url":"/wholesalers-distributors"}],"attachedFiles":[]}]},"title":"Wholesalers & Distributors","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 = "Wholesalers & Distributors | 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);
}
})();