\r\n \r\n\r\n
To ensure continued delivery of our newsletters to your inbox, please add our sender's email address, domain and IP addresses to your email client's whitelist or safe list:
\r\n\r\n\r\n\tEmail address: info@mail1.canadiangrocer.com \r\n\tDomain: mail1.canadiangrocer.com \r\n\tIP Address 1: 192.28.145.123 \r\n\t \r\n\tEmail address: info@mail2.canadiangrocer.com \r\n\tDomain: mail2.canadiangrocer.com \r\n\tIP Address 2: 192.28.145.124 \r\n \r\n\r\nIn addition, your company likely maintains a corporate whitelist as well. Please forward this information to your corporate IT team to ensure you receive our newsletter.
\r\n\r\nFor more information here is a helpful guide to whitelisting in specific email clients .
\r\n"}]},"metatags":{"title":{"#tag":"meta","#attributes":{"name":"title","content":"Whitelist information | Canadian Grocer"}},"og_site_name":{"#tag":"meta","#attributes":{"property":"og:site_name","content":"Canadian Grocer"}},"og_type":{"#tag":"meta","#attributes":{"property":"og:type","content":"Embed Page"}},"og_url":{"#tag":"meta","#attributes":{"property":"og:url","content":"https://eiqeditor.canadiangrocer.com/whitelist"}},"og_title":{"#tag":"meta","#attributes":{"property":"og:title","content":"Whitelist information"}},"og_updated_time":{"#tag":"meta","#attributes":{"property":"og:updated_time","content":"2023-05-31T10:17:07-0500"}},"twitter_cards_type":{"#tag":"meta","#attributes":{"name":"twitter:card","content":"summary_large_image"}},"twitter_cards_title":{"#tag":"meta","#attributes":{"name":"twitter:title","content":"Whitelist information"}},"schema.org":{"schema_article_type":{"#tag":"meta","#attributes":{"name":"@type","content":"Article","group":"schema_article","schema_metatag":true}},"schema_article_headline":{"#tag":"meta","#attributes":{"name":"headline","content":"Whitelist information","group":"schema_article","schema_metatag":true}},"schema_article_name":{"#tag":"meta","#attributes":{"name":"name","content":"Whitelist information","group":"schema_article","schema_metatag":true}},"schema_article_date_published":{"#tag":"meta","#attributes":{"name":"datePublished","content":"Wed, 05/24/2023 - 19:00","group":"schema_article","schema_metatag":true}},"schema_article_date_modified":{"#tag":"meta","#attributes":{"name":"dateModified","content":"Wed, 05/24/2023 - 19:00","group":"schema_article","schema_metatag":true}}}},"backgroundColor":null,"minimumHeight":null,"responsiveIframe":false,"sponsorship":{"overrideAds":false}};
const country = "US";
const language = "en-US,en;q=0.5";
const SITE_LANGUAGE = "en";
const siteName = "Canadian Grocer";
const userRoles = ["anonymous"];
const userUid = 0;
const indexName = "canadiangrocer";
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 = `${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);
}
})();Whitelist information
Whitelist information
To ensure continued delivery of our newsletters to your inbox, please add our sender's email address, domain and IP addresses to your email client's whitelist or safe list:
Email address: [email protected]
Domain: mail1.canadiangrocer.com
IP Address 1: 192.28.145.123
Email address: [email protected]
Domain: mail2.canadiangrocer.com
IP Address 2: 192.28.145.124
In addition, your company likely maintains a corporate whitelist as well. Please forward this information to your corporate IT team to ensure you receive our newsletter.
For more information here is a helpful guide to whitelisting in specific email clients .
X
This ad will auto-close in 10 seconds