types of data and there are bigger internal audiences for business intelligence insights within the retail enterprise. Download this Retail Solutions Brief to discover how retailers are reassessing their approaches to BI to handle the demands of today's omni-channel environment.
","alternateLabel":null,"teaserImage":{"id":21592,"url":"https://assets1.risnews.com/styles/secondary_articles_short/s3/rsb0811t.jpg?itok=1wRGkD_8","width":150,"alt":null,"height":100},"sponsored":false,"businessTopic":[],"company":[],"contentType":[]},{"title":"Canadian Tire Tests Personalized Mobile Shopping, Interactive Kiosks","id":5124,"bundle":"article","summary":"Canadian Tire, the 1,200 store general merchandise chain, is testing a personalized location-based mobile shopping app and an interactive product locator kiosk at two of its Toronto-area stores.","showSummary":null,"url":"/canadian-tire-tests-personalized-mobile-shopping-interactive-kiosks","date":"2011-07-04T00: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":43552,"url":"https://assets1.risnews.com/styles/secondary_articles_short/s3/CanadianTire_RIS_7-4-11_0.jpg?itok=Hly_FCXd","width":150,"height":116,"alt":""},"topics":[{"name":"Customer Service","url":"/customer-service"},{"name":"Digital Transformation","url":"/digital-transformation"},{"name":"Interactive Digital Services","url":"/interactive-digital-services"},{"name":"Location Based Services","url":"/location-based-services"},{"name":"Mobile Commerce","url":"/mobile-commerce"},{"name":"Mobile Apps","url":"/mobile-apps"},{"name":"Personalization","url":"/personalization"},{"name":"Marketing","url":"/marketing"},{"name":"Point of Sale","url":"/point-sale"},{"name":"Mobile Devices","url":"/mobile-devices"},{"name":"Store Systems","url":"/store-systems"},{"name":"Supply Chain Management","url":"/supply-chain-management"},{"name":"Data Management","url":"/data-management"}],"attachedFiles":[]},{"title":"Tablets Reshape Retail","id":5151,"bundle":"whitepaper","url":"/tablets-reshape-retail","date":"2011-06-16T00:00:00","author":{"email":"devteam@ashday.com","uname":"ash_root","firstName":null,"lastName":null,"bio":null,"title":null,"picture":null,"phone":null,"contactForm":null},"summary":"With their larger screen sizes and expanding customer engagement capabilities, tablets are being fast-tracked for retail rollouts. Download this special supplement, produced by RIS News and Mobile Enterprise, to discover how providing tablets to store associates can level the playing field for retailers while boosting productivity enterprise-wide.","body":" With larger screen sizes than other smart mobile devices, tablets offer an array of customer engagement capabilities. Tablets are being fast-tracked for rollouts as retailers discover that providing them to store associates can level the playing field while also boosting productivity throughout the enterprise. Download this special supplement, produced by RIS News and Mobile Enterprise, for the latest deployments, tips on choosing a retail-hardened device and mastering tablet management.","alternateLabel":null,"teaserImage":{"id":21574,"url":"https://assets1.risnews.com/styles/secondary_articles_short/s3/TabletsInRetail_0611_teaser.jpg?itok=GSfIgVgB","width":100,"alt":null,"height":129},"sponsored":false,"businessTopic":[],"company":[],"contentType":[]},{"title":"Adapting to M-Commerce Growth","id":5172,"bundle":"article","summary":"Retailers look to the future with mobile-commerce solutions.","showSummary":null,"url":"/adapting-m-commerce-growth","date":"2011-06-07T00: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":null,"topics":[{"name":"Point of Sale","url":"/point-sale"},{"name":"Customer Relationship Management (CRM)","url":"/customer-relationship-management-crm"},{"name":"E-Commerce","url":"/e-commerce"},{"name":"Inventory Management","url":"/inventory-management"},{"name":"Mobile Devices","url":"/mobile-devices"},{"name":"Loyalty Programs","url":"/loyalty-programs"},{"name":"Mobile Commerce","url":"/mobile-commerce"},{"name":"Marketing","url":"/marketing"},{"name":"Mobile Apps","url":"/mobile-apps"},{"name":"Pricing Management","url":"/pricing-management"},{"name":"Social Networking","url":"/social-networking"},{"name":"Data Management","url":"/data-management"}],"attachedFiles":[]},{"title":"Home Depot Enables Mobile Purchases with QR Codes","id":5176,"bundle":"article","summary":"Home Depot launched an in-store service and ad campaign using QR code-scanning technology.","showSummary":null,"url":"/home-depot-enables-mobile-purchases-qr-codes","date":"2011-06-07T00: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":43468,"url":"https://assets1.risnews.com/styles/secondary_articles_short/s3/sf06114T.jpg?itok=nVwRCWe8","width":150,"height":100,"alt":null},"topics":[{"name":"Point of Sale","url":"/point-sale"},{"name":"Customer Relationship Management (CRM)","url":"/customer-relationship-management-crm"},{"name":"Mobile Commerce","url":"/mobile-commerce"},{"name":"Marketing","url":"/marketing"},{"name":"Mobile Apps","url":"/mobile-apps"},{"name":"Mobile Devices","url":"/mobile-devices"},{"name":"Data Management","url":"/data-management"}],"attachedFiles":[]},{"title":"Building Integrated Multi-Channel Operations in Retail","id":5187,"bundle":"article","summary":"Today, multi-channel retailing encompasses the latest in social networking and mobile applications. Learn the tools retailers need to engage with customers on their own turf in new and innovative ways.
","showSummary":null,"url":"/building-integrated-multi-channel-operations-retail","date":"2011-06-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":null,"topics":[{"name":"Business Intelligence (BI)","url":"/business-intelligence"},{"name":"Omnichannel","url":"/omnichannel"},{"name":"E-Commerce","url":"/e-commerce"},{"name":"Mobile Devices","url":"/mobile-devices"},{"name":"Data Management","url":"/data-management"},{"name":"Interactive Digital Services","url":"/interactive-digital-services"},{"name":"Mobile Commerce","url":"/mobile-commerce"},{"name":"Point of Sale","url":"/point-sale"},{"name":"Security","url":"/security"},{"name":"Marketing","url":"/marketing"},{"name":"Social Networking","url":"/social-networking"},{"name":"Web Analytics","url":"/web-analytics"},{"name":"Unified Commerce: RIS Deep Dive","url":"/ris-deep-dive-unified-commerce"},{"name":"Multi-Channel Analytics","url":"/multi-channel-analytics"}],"attachedFiles":[]},{"title":"Supervalu Tests Item-Level Tools to Battle Out-of-Stocks","id":5278,"bundle":"article","summary":"To gain new weapons in the long-running battle against out-of-stocks, Supervalu is piloting tools that track shelf in-stock positions by item and time of day. The supermarket retailer is also boosting store-level control of key merchandising displays and product assortments.","showSummary":null,"url":"/supervalu-tests-item-level-tools-battle-out-stocks","date":"2011-04-18T00: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":43344,"url":"https://assets1.risnews.com/styles/secondary_articles_short/s3/Supervalu_RIS_10-23-10.jpg?itok=D82SJbIE","width":300,"height":226,"alt":null},"topics":[{"name":"Assortment Planning","url":"/assortment-planning"},{"name":"Fulfillment","url":"/fulfillment"},{"name":"Data Management","url":"/data-management"},{"name":"Workforce Management","url":"/workforce-management"},{"name":"Merchandise Management","url":"/merchandise-management"},{"name":"Inventory Management","url":"/inventory-management"},{"name":"Store Systems","url":"/store-systems"},{"name":"Supply Chain Management","url":"/supply-chain-management"},{"name":"Point of Sale","url":"/point-sale"}],"attachedFiles":[]}]},"title":"Data Management"};
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);
}
})();