","alternateLabel":null,"teaserImage":{"id":24027,"url":"https://assets1.risnews.com/styles/secondary_articles_short/s3/ris_DirectSource_0516_teaser.jpg?itok=4jgkCX8h","width":196,"alt":null,"height":216},"sponsored":false,"businessTopic":[],"company":[],"contentType":[]},{"title":"3 Things Standing in the Way of the Future of the Store","id":1856,"bundle":"article","summary":"As retailers stockpile their stores with innovation after innovation they must be sure to solve these three key below-the-surface issues before entering execution mode.","showSummary":null,"url":"/3-things-standing-way-future-store","date":"2015-11-10T00: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":"Omnichannel","url":"/omnichannel"},{"name":"Fulfillment","url":"/fulfillment"},{"name":"Digital Transformation","url":"/digital-transformation"},{"name":"Location Based Services","url":"/location-based-services"},{"name":"Near-Field Communications","url":"/near-field-communications"},{"name":"Social Networking","url":"/social-networking"},{"name":"Unified Commerce: RIS Deep Dive","url":"/ris-deep-dive-unified-commerce"},{"name":"Internet of Things (IoT)","url":"/internet-of-things"}],"attachedFiles":[]},{"title":"RetailNext Acquisition Transforms Targeted Mobile Marketing ","id":1909,"bundle":"article","summary":"Analytics company RetailNext Inc. has acquired Pikato, a Chicago-based company whose cloud-based software transforms retail mobile marketing channels into personal interactions between retailers and shoppers.","showSummary":null,"url":"/retailnext-acquisition-transforms-targeted-mobile-marketing","date":"2015-10-14T00: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":"Cloud Computing","url":"/cloud-computing"},{"name":"Mobile Wallet","url":"/mobile-wallet"},{"name":"Coupons","url":"/coupons"},{"name":"Omnichannel","url":"/omnichannel"},{"name":"Customer Relationship Management (CRM)","url":"/customer-relationship-management-crm"},{"name":"Customer Service","url":"/customer-service"},{"name":"Data Warehousing","url":"/data-warehousing"},{"name":"E-Commerce","url":"/e-commerce"},{"name":"Network Infrastructure","url":"/network-infrastructure"},{"name":"Loyalty Programs","url":"/loyalty-programs"},{"name":"Mobile Commerce","url":"/mobile-commerce"},{"name":"Mobile Devices","url":"/mobile-devices"},{"name":"Marketing","url":"/marketing"},{"name":"Mobile Apps","url":"/mobile-apps"},{"name":"Near-Field Communications","url":"/near-field-communications"},{"name":"E-Commerce Platform","url":"/e-commerce-platform"},{"name":"Web Analytics","url":"/web-analytics"},{"name":"Location Based Services","url":"/location-based-services"},{"name":"Big Data","url":"/big-data"},{"name":"Mobile Strategy","url":"/mobile-strategy"},{"name":"Customer Experience","url":"/customer-experience"}],"attachedFiles":[]},{"title":"Five Things Retailers Should Know About Proximity Solutions","id":1984,"bundle":"article","summary":"Proximity solutions, such as geo-fencing and iBeacons, sense when customers are within a certain location or area and enable interactions between the retailer and the customer via the customer’s smartphone. The following are five things retailers need to know about proximity-based solutions.","showSummary":null,"url":"/five-things-retailers-should-know-about-proximity-solutions","date":"2015-08-25T00: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":"Mobile Wallet","url":"/mobile-wallet"},{"name":"Customer Relationship Management (CRM)","url":"/customer-relationship-management-crm"},{"name":"Customer Service","url":"/customer-service"},{"name":"Security","url":"/security"},{"name":"Location Based Services","url":"/location-based-services"},{"name":"Mobile Devices","url":"/mobile-devices"},{"name":"IT Services","url":"/it-services"},{"name":"Mobile Commerce","url":"/mobile-commerce"},{"name":"Marketing","url":"/marketing"},{"name":"Mobile Apps","url":"/mobile-apps"},{"name":"Near-Field Communications","url":"/near-field-communications"},{"name":"Big Data","url":"/big-data"},{"name":"Mobile Strategy","url":"/mobile-strategy"},{"name":"Customer Experience","url":"/customer-experience"}],"attachedFiles":[]},{"title":"Supporting the Five Omnichannel R’s with RFID ","id":2222,"bundle":"article","summary":"Relevance, replenishment, responsiveness, responsibility and returns are pillars of the ominichannel experience. Discover how RFID can help retailers supercharge their efforts.","showSummary":null,"url":"/supporting-five-omnichannel-rs-rfid","date":"2015-03-23T00: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":"Point of Sale","url":"/point-sale"},{"name":"Omnichannel","url":"/omnichannel"},{"name":"Warehouse Management","url":"/warehouse-management"},{"name":"E-Commerce","url":"/e-commerce"},{"name":"Fulfillment","url":"/fulfillment"},{"name":"Digital Transformation","url":"/digital-transformation"},{"name":"Inventory Management","url":"/inventory-management"},{"name":"Machine Learning","url":"/machine-learning"},{"name":"Mobile Devices","url":"/mobile-devices"},{"name":"Near-Field Communications","url":"/near-field-communications"},{"name":"Radio Frequency Identification (RFID)","url":"/radio-frequency-identification-rfid"}],"attachedFiles":[]},{"title":"Saving Time and Money with a Single-Vendor Software Solution","id":2284,"bundle":"whitepaper","url":"/saving-time-and-money-single-vendor-software-solution","date":"2015-02-15T00: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":"This whitepaper explores how a single-vendor ERP software solution provides users with a unified platform, strong communication, data centralization, business intelligence, and reporting.","body":"Organizations working with several different software vendors almost inevitably experience redundant costs and inefficiencies in their business processes. This whitepaper explores how a single-vendor ERP software solution provides users with a unified and fully-integrated platform, strong communication, data centralization, business intelligence, and action-oriented reporting.
","alternateLabel":null,"teaserImage":{"id":23325,"url":"https://assets1.risnews.com/styles/secondary_articles_short/s3/ris_Jsta_ewp_teaser_0215.jpg?itok=wxjSWeUL","width":196,"alt":null,"height":216},"sponsored":false,"businessTopic":[],"company":[],"contentType":[]},{"title":"Tackling Next-Gen Payment","id":2349,"bundle":"whitepaper","url":"/tackling-next-gen-payment","date":"2015-01-05T00: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":"Having a POS that can accept mobile payment options and tackle the EMV migration is top of mind for many retailers. Find out what to do now to be prepared for the payment evolution in 2015.","body":"Having a POS that can enable the organization to accept mobile payment options and tackle the EMV migration is top of mind for many retailers. Download this technology solutions guide to find out how retailers can benefit from planning now for payments in 2015.","alternateLabel":null,"teaserImage":{"id":23292,"url":"https://assets1.risnews.com/styles/secondary_articles_short/s3/TSG0115.jpg?itok=GtnGrNl6","width":196,"alt":null,"height":216},"sponsored":false,"businessTopic":[],"company":[],"contentType":[]},{"title":"Reshaping Retail Through Engagement","id":2406,"bundle":"article","summary":"Retailers push the innovation envelope to deliver the personalized experiences that customers expect ","showSummary":null,"url":"/reshaping-retail-through-engagement","date":"2014-12-08T00: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":"Customer Relationship Management (CRM)","url":"/customer-relationship-management-crm"},{"name":"Digital Transformation","url":"/digital-transformation"},{"name":"Location Based Services","url":"/location-based-services"},{"name":"Loyalty Programs","url":"/loyalty-programs"},{"name":"Mobile Apps","url":"/mobile-apps"},{"name":"Near-Field Communications","url":"/near-field-communications"},{"name":"Personalization","url":"/personalization"},{"name":"Unified Commerce: RIS Deep Dive","url":"/ris-deep-dive-unified-commerce"},{"name":"Customer Experience","url":"/customer-experience"},{"name":"ENGAGE 2014","url":"/engage-2014"}],"attachedFiles":[]},{"title":"Automated Cash Handling – Getting A Handle on Cash","id":2430,"bundle":"article","summary":"Built on global case studies, the latest research from Planet Retail focuses on helping retailers select the right products to address their specific business issues.
\r\n
\r\nDownload Now","showSummary":null,"url":"/automated-cash-handling-getting-handle-cash","date":"2014-11-30T00: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":"Enterprise Resource Management","url":"/enterprise-resource-management"},{"name":"Mobile Devices","url":"/mobile-devices"},{"name":"Security","url":"/security"},{"name":"Mobile Apps","url":"/mobile-apps"},{"name":"Near-Field Communications","url":"/near-field-communications"},{"name":"Store Systems","url":"/store-systems"},{"name":"Logistics","url":"/logistics"}],"attachedFiles":[]}]},"title":"Near-Field Communications"};
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);
}
})();