-
Dipping Chips in Your Easy Chair
Whatever the Super Bowl snacks, most eat them at home -
Colorado Food Banks to Receive 16,000 Pounds of Beef
Processor, farmers, ranchers team to make largest-ever beef donation
","showSummary":null,"url":"/v-day-victuals-sweet-rewards","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":"New Products & Promotions","url":"/new-products-promotions"},{"name":"Nonfoods","url":"/nonfoods"}],"attachedFiles":[]},{"title":"Sedano’s Helps Fight Autism","id":41905,"bundle":"article","summary":"A partnership with cookware company IMUSA USA will help raise awareness and funds.","showSummary":null,"url":"/sedanos-helps-fight-autism","date":"2011-01-27T00: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":"New Products & Promotions","url":"/new-products-promotions"}],"attachedFiles":[]},{"title":"Guess Bud Light’s Super Bowl Spots","id":41891,"bundle":"article","summary":"A-B invites Facebook fans to unlock secrets of game-day commercials","showSummary":null,"url":"/guess-bud-lights-super-bowl-spots","date":"2011-01-26T00: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":"New Products & Promotions","url":"/new-products-promotions"}],"attachedFiles":[]},{"title":"Lowes Foods, Sunkist Host Regional Heart-healthy Promo","id":41893,"bundle":"article","summary":""Healthy New You" features in-store displays and a chance to win a free spa weekend.","showSummary":null,"url":"/lowes-foods-sunkist-host-regional-heart-healthy-promo","date":"2011-01-26T00: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":"Equipment & Design","url":"/equipment-design"},{"name":"Nonfoods","url":"/nonfoods"},{"name":"New Products & Promotions","url":"/new-products-promotions"}],"attachedFiles":[]},{"title":"Walmart Launches Affordable Healthy Food Initiative","id":41863,"bundle":"article","summary":"Michelle Obama is on hand for the rollout.","showSummary":null,"url":"/walmart-launches-affordable-healthy-food-initiative","date":"2011-01-20T00: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":"Special Reports","url":"/special-reports"},{"name":"Nonfoods","url":"/nonfoods"},{"name":"Supermarket & Grocery Industry News","url":"/supermarket-grocery-industry-news"},{"name":"Market Trends","url":"/market-trends"},{"name":"New Products & Promotions","url":"/new-products-promotions"},{"name":"Produce / Floral","url":"/produce-floral"}],"attachedFiles":[]},{"title":"Pie, Haute Dogs Are New in the Mix","id":41839,"bundle":"article","summary":"A rundown of hot foodservice menu trends","showSummary":null,"url":"/pie-haute-dogs-are-new-mix","date":"2011-01-18T00: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":"New Products & Promotions","url":"/new-products-promotions"}],"attachedFiles":[]},{"title":"Food Lion, Bottom Dollar Collect Record Amount of Food","id":41791,"bundle":"article","summary":"Local Feeding America food banks received a total of 1.5 million pounds. ","showSummary":null,"url":"/food-lion-bottom-dollar-collect-record-amount-food","date":"2011-01-13T00: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"}],"attachedFiles":[]},{"title":"Avocados from Mexico Whips Up ‘Super’ Promo","id":41761,"bundle":"article","summary":"'Guac Rocks' spices up efforts to build demand","showSummary":null,"url":"/avocados-mexico-whips-super-promo","date":"2011-01-10T00: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":"Dairy / Refrigerated","url":"/dairy-refrigerated"},{"name":"Nonfoods","url":"/nonfoods"}],"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", "author_profile", "buyers_guide_listing" ]; 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 taxonomy 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); } })();