\r\n","showSummary":null,"url":"/topical-current-trends","date":"2016-02-01T00:00:00","author":{"email":"devteam@ashday.com","uname":"ash_root","firstName":null,"lastName":null,"bio":null,"title":null,"picture":null,"phone":null,"contactForm":null},"digitalEdition":null,"sponsored":false,"taggedPro":null,"teaserImage":{"id":42870,"url":"https://assets1.risnews.com/styles/secondary_articles_short/s3/Screenshot-%2820%29_4.png?itok=6eOMQwTv","width":320,"height":180,"alt":""},"topics":[{"name":"Video","url":"/video"}],"attachedFiles":[]},{"title":"High Cost of Orders","id":5701,"bundle":"article","summary":"EKN reveals route to dynamic order management by addressing the deficiencies in the current Omnichannel order management processes across online, stores, catalog and other channels. Doing so will increase order accuracy and margin per order. \r\n","showSummary":null,"url":"/high-cost-orders","date":"2016-02-01T00:00:00","author":{"email":"devteam@ashday.com","uname":"ash_root","firstName":null,"lastName":null,"bio":null,"title":null,"picture":null,"phone":null,"contactForm":null},"digitalEdition":null,"sponsored":false,"taggedPro":null,"teaserImage":{"id":42875,"url":"https://assets1.risnews.com/styles/secondary_articles_short/s3/Screenshot-%2820%29_1.png?itok=Abjl5Lb5","width":320,"height":180,"alt":""},"topics":[{"name":"Order Management","url":"/order-management"},{"name":"Video","url":"/video"}],"attachedFiles":[]},{"title":"Strategies to Improve Omnichannel Order Costs and Visibility","id":5705,"bundle":"article","summary":"EKN reveals route to dynamic order management by addressing the deficiencies in the current Omnichannel order management processes across online, stores, catalog and other channels. Doing so will increase order accuracy and margin per order. \r\n","showSummary":null,"url":"/strategies-improve-omnichannel-order-costs-and-visibility","date":"2016-02-01T00:00:00","author":{"email":"devteam@ashday.com","uname":"ash_root","firstName":null,"lastName":null,"bio":null,"title":null,"picture":null,"phone":null,"contactForm":null},"digitalEdition":null,"sponsored":false,"taggedPro":null,"teaserImage":{"id":42868,"url":"https://assets1.risnews.com/styles/secondary_articles_short/s3/Screenshot-%2820%29_5.png?itok=Myzr2Jwz","width":320,"height":180,"alt":""},"topics":[{"name":"Order Management","url":"/order-management"},{"name":"Video","url":"/video"}],"attachedFiles":[]},{"title":"Changing Order Types","id":5702,"bundle":"article","summary":"EKN reveals route to dynamic order management by addressing the deficiencies in the current Omnichannel order management processes across online, stores, catalog and other channels. Doing so will increase order accuracy and margin per order. \r\n","showSummary":null,"url":"/changing-order-types","date":"2016-02-01T00:00:00","author":{"email":"devteam@ashday.com","uname":"ash_root","firstName":null,"lastName":null,"bio":null,"title":null,"picture":null,"phone":null,"contactForm":null},"digitalEdition":null,"sponsored":false,"taggedPro":null,"teaserImage":{"id":42873,"url":"https://assets1.risnews.com/styles/secondary_articles_short/s3/Screenshot-%2820%29_2.png?itok=Tt9xLqRY","width":320,"height":180,"alt":""},"topics":[{"name":"Order Management","url":"/order-management"},{"name":"Video","url":"/video"}],"attachedFiles":[]},{"title":"2016 Priorities","id":5699,"bundle":"article","summary":"EKN reveals route to dynamic order management by addressing the deficiencies in the current Omnichannel order management processes across online, stores, catalog and other channels. Doing so will increase order accuracy and margin per order. \r\n \r\n","showSummary":null,"url":"/2016-priorities","date":"2016-02-01T00:00:00","author":{"email":"devteam@ashday.com","uname":"ash_root","firstName":null,"lastName":null,"bio":null,"title":null,"picture":null,"phone":null,"contactForm":null},"digitalEdition":null,"sponsored":false,"taggedPro":null,"teaserImage":{"id":42878,"url":"https://assets1.risnews.com/styles/secondary_articles_short/s3/Screenshot-%2820%29.png?itok=KZlFan3J","width":320,"height":180,"alt":""},"topics":[{"name":"Order Management","url":"/order-management"},{"name":"Video","url":"/video"}],"attachedFiles":[]},{"title":"Holiday Pains","id":5703,"bundle":"article","summary":"EKN reveals route to dynamic order management by addressing the deficiencies in the current Omnichannel order management processes across online, stores, catalog and other channels. Doing so will increase order accuracy and margin per order. ","showSummary":null,"url":"/holiday-pains","date":"2016-02-01T00:00:00","author":{"email":"devteam@ashday.com","uname":"ash_root","firstName":null,"lastName":null,"bio":null,"title":null,"picture":null,"phone":null,"contactForm":null},"digitalEdition":null,"sponsored":false,"taggedPro":null,"teaserImage":{"id":42871,"url":"https://assets1.risnews.com/styles/secondary_articles_short/s3/Screenshot-%2820%29_3.png?itok=JtT6A0Jt","width":320,"height":180,"alt":""},"topics":[{"name":"Order Management","url":"/order-management"},{"name":"Video","url":"/video"}],"attachedFiles":[]},{"title":"Key Features for Mid-Market Retailers","id":5700,"bundle":"article","summary":"EKN reveals route to dynamic order management by addressing the deficiencies in the current Omnichannel order management processes across online, stores, catalog and other channels. Doing so will increase order accuracy and margin per order. \r\n","showSummary":null,"url":"/key-features-mid-market-retailers","date":"2016-02-01T00:00:00","author":{"email":"devteam@ashday.com","uname":"ash_root","firstName":null,"lastName":null,"bio":null,"title":null,"picture":null,"phone":null,"contactForm":null},"digitalEdition":null,"sponsored":false,"taggedPro":null,"teaserImage":{"id":42876,"url":"https://assets1.risnews.com/styles/secondary_articles_short/s3/Screenshot-%2820%29_0.png?itok=LLFy41E-","width":320,"height":180,"alt":""},"topics":[{"name":"Order Management","url":"/order-management"},{"name":"Video","url":"/video"}],"attachedFiles":[]}]},"title":"Video"};
const country = "HK";
const language = "en, *";
const SITE_LANGUAGE = "en";
const siteName = "RIS News";
const userRoles = ["anonymous"];
const userUid = 0;
const indexName = "risnews";
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);
}
})();
EKN reveals route to dynamic order management by addressing the deficiencies in the current Omnichannel order management processes across online, stores, catalog and other channels. Doing so will increase order accuracy and margin per order.
EKN reveals route to dynamic order management by addressing the deficiencies in the current Omnichannel order management processes across online, stores, catalog and other channels. Doing so will increase order accuracy and margin per order.
EKN reveals route to dynamic order management by addressing the deficiencies in the current Omnichannel order management processes across online, stores, catalog and other channels. Doing so will increase order accuracy and margin per order.
EKN reveals route to dynamic order management by addressing the deficiencies in the current Omnichannel order management processes across online, stores, catalog and other channels. Doing so will increase order accuracy and margin per order.
EKN reveals route to dynamic order management by addressing the deficiencies in the current Omnichannel order management processes across online, stores, catalog and other channels. Doing so will increase order accuracy and margin per order.
EKN reveals route to dynamic order management by addressing the deficiencies in the current Omnichannel order management processes across online, stores, catalog and other channels. Doing so will increase order accuracy and margin per order.
EKN reveals route to dynamic order management by addressing the deficiencies in the current Omnichannel order management processes across online, stores, catalog and other channels. Doing so will increase order accuracy and margin per order.