this supplement to discover more about the present conditions and future prospects for fixed POS, mobile POS, POS software and hardware.","alternateLabel":null,"teaserImage":{"id":22260,"url":"https://assets1.risnews.com/styles/secondary_articles_short/s3/POSris0813.jpg?itok=KYyhZ13i","width":150,"alt":null,"height":181},"sponsored":false,"businessTopic":[],"company":[],"contentType":[]},{"title":"Strategies to Maximize the Peak Selling Season","id":3509,"bundle":"whitepaper","url":"/strategies-maximize-peak-selling-season","date":"2013-07-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},"summary":"Download this special report to learn how to make the most of high-traffic sales seasons online, in stores and throughout the omnichannel enterprise. ","body":"Making the most of high-traffic sales seasons is crucial to retailers' year-round success. Download this special report to discover how online optimization, advanced analytics and highly relevant stores can maximize peak selling seasons throughout the omnichannel enterprise.","alternateLabel":null,"teaserImage":{"id":22227,"url":"https://assets1.risnews.com/styles/secondary_articles_short/s3/RISJulySupp0713.jpg?itok=AhVOsneK","width":100,"alt":null,"height":126},"sponsored":false,"businessTopic":[],"company":[],"contentType":[]},{"title":"Billabong Improves Store Experience with POS Upgrade","id":3794,"bundle":"article","summary":"Billabong updated its POS system to improve the in-store experience for its savvy customers. Since the rollout the retailer has seen a 99% improvement on terminal issues.","showSummary":null,"url":"/billabong-improves-store-experience-pos-upgrade","date":"2013-03-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":45660,"url":"https://assets1.risnews.com/styles/secondary_articles_short/s3/Billabong_ris_03-07-13.jpg?itok=XOssFTty","width":150,"height":87,"alt":null},"topics":[{"name":"Point of Sale","url":"/point-sale"},{"name":"Mobile Wallet","url":"/mobile-wallet"},{"name":"Omnichannel","url":"/omnichannel"},{"name":"Digital Transformation","url":"/digital-transformation"},{"name":"Store Operations","url":"/store-operations"},{"name":"Store Systems","url":"/store-systems"},{"name":"Mobile Devices","url":"/mobile-devices"},{"name":"Marketing","url":"/marketing"}],"attachedFiles":[]},{"title":"Mobility Powers Aeropostale's Store","id":3931,"bundle":"article","summary":"Aeropostale joins AirWatch to share the hurdles, triumphs and realizations of deploying and managing mobile devices in-store.","showSummary":null,"url":"/mobility-powers-aeropostales-store","date":"2013-01-03T00: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":45441,"url":"https://assets1.risnews.com/styles/secondary_articles_short/s3/AeropostaleMobile_ris_01-03-13.jpg?itok=juwFalzV","width":150,"height":117,"alt":null},"topics":[{"name":"Point of Sale","url":"/point-sale"},{"name":"Business Intelligence (BI)","url":"/business-intelligence"},{"name":"Cloud Computing","url":"/cloud-computing"},{"name":"Mobile Wallet","url":"/mobile-wallet"},{"name":"Omnichannel","url":"/omnichannel"},{"name":"Customer Relationship Management (CRM)","url":"/customer-relationship-management-crm"},{"name":"Customer Service","url":"/customer-service"},{"name":"E-Commerce","url":"/e-commerce"},{"name":"Workforce Management","url":"/workforce-management"},{"name":"Fulfillment","url":"/fulfillment"},{"name":"Digital Transformation","url":"/digital-transformation"},{"name":"Security","url":"/security"},{"name":"Loyalty Programs","url":"/loyalty-programs"},{"name":"Mobile Commerce","url":"/mobile-commerce"},{"name":"Mobile Apps","url":"/mobile-apps"},{"name":"Mobile Devices","url":"/mobile-devices"},{"name":"Big Data","url":"/big-data"}],"attachedFiles":[]},{"title":"2012 Mobile Product and Solution Guide","id":4011,"bundle":"article","summary":"Mobility's power and potential continue to rise. Download the 2nd annual Mobile Product and Solution Guide for the latest in mobile operations, marketing and m-commerce, plus a listing of leading mobile tech vendors.
\r\n
\r\nVIEW GUIDE","showSummary":null,"url":"/2012-mobile-product-and-solution-guide","date":"2012-11-29T00: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":45326,"url":"https://assets1.risnews.com/styles/secondary_articles_short/s3/MobGuide1212teaser.jpg?itok=Es1CIlWJ","width":100,"height":121,"alt":null},"topics":[{"name":"Network Infrastructure","url":"/network-infrastructure"},{"name":"Wi-Fi","url":"/wi-fi"},{"name":"Mobile Devices","url":"/mobile-devices"},{"name":"Point of Sale","url":"/point-sale"},{"name":"Business Intelligence (BI)","url":"/business-intelligence"},{"name":"Cloud Computing","url":"/cloud-computing"},{"name":"Mobile Wallet","url":"/mobile-wallet"},{"name":"Coupons","url":"/coupons"},{"name":"Customer Relationship Management (CRM)","url":"/customer-relationship-management-crm"},{"name":"Customer Service","url":"/customer-service"},{"name":"Security","url":"/security"},{"name":"E-Commerce","url":"/e-commerce"},{"name":"E-mail","url":"/e-mail"},{"name":"Marketing","url":"/marketing"},{"name":"Workforce Management","url":"/workforce-management"},{"name":"Fulfillment","url":"/fulfillment"},{"name":"Human Resources","url":"/human-resources"},{"name":"Inventory Management","url":"/inventory-management"},{"name":"Location Based Services","url":"/location-based-services"},{"name":"Loyalty Programs","url":"/loyalty-programs"},{"name":"Merchandise Management","url":"/merchandise-management"},{"name":"Mobile Commerce","url":"/mobile-commerce"},{"name":"Mobile Apps","url":"/mobile-apps"},{"name":"Near-Field Communications","url":"/near-field-communications"},{"name":"Order Management","url":"/order-management"},{"name":"Personalization","url":"/personalization"},{"name":"Pricing Management","url":"/pricing-management"},{"name":"Social Networking","url":"/social-networking"},{"name":"Store Operations","url":"/store-operations"},{"name":"Store Systems","url":"/store-systems"},{"name":"Supply Chain Management","url":"/supply-chain-management"},{"name":"Traffic Analysis","url":"/traffic-analysis"},{"name":"Web Analytics","url":"/web-analytics"},{"name":"E-Commerce Platform","url":"/e-commerce-platform"},{"name":"Unified Commerce: RIS Deep Dive","url":"/ris-deep-dive-unified-commerce"},{"name":"Data Management","url":"/data-management"}],"attachedFiles":[]},{"title":"Six Steps Toward Tighter PCI and Data Security","id":4081,"bundle":"whitepaper","url":"/six-steps-toward-tighter-pci-and-data-security","date":"2012-11-02T00: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":"When sensitive data is stolen or payment networks are breached, retail loss prevention executives become the center of attention. Download this Roadmap report to learn six steps designed to keep them out of the spotlight’s uncomfortable glare.","body":" The loss prevention executive’s best day is when no one notices what he or she does. It’s when sensitive data is stolen and networks are breached that they become the center of attention. Download this Roadmap report to learn six steps designed to keep LP executives out of the spotlight’s uncomfortable glare.","alternateLabel":null,"teaserImage":{"id":22005,"url":"https://assets1.risnews.com/styles/secondary_articles_short/s3/RIS_RoadMap_10.jpg?itok=gwwHJLPd","width":100,"alt":null,"height":129},"sponsored":false,"businessTopic":[],"company":[],"contentType":[]}]},"title":"Mobile Wallet"};
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);
}
})();