\n ","alternateLabel":null,"teaserImage":{"id":2373,"url":"https://assets1.hospitalitytech.com/styles/secondary_articles_short/s3/csInforht0916.jpg?itok=PXAuvNJv","width":196,"alt":null,"height":216},"sponsored":false,"businessTopic":[],"company":[],"contentType":[]},{"title":"Customized & Customer-Driven Loyalty Sweetens Biz for Sprinkles","id":847,"bundle":"whitepaper","url":"/customized-customer-driven-loyalty-sweetens-biz-sprinkles","date":"2016-06-13T00:00:00","author":{"email":"devteam@ashday.com","uname":"ht_root","firstName":null,"lastName":null,"bio":null,"title":null,"picture":null,"phone":null,"contactForm":null},"summary":"Famed cupcakery amplifies loyal guest experience with Paytronix rewards program. Sponsored.","body":"With customers clamoring for a rewards program for more than a decade, Sprinkles teams with Paytronix to roll out a highly anticipated loyalty program. Combining data-driven customized messaging and rewards has helped the cupcakery succeed in enrolling more than 100,000 people in the program in the first month it was deployed. Sponsored.","alternateLabel":null,"teaserImage":{"id":2347,"url":"https://assets1.hospitalitytech.com/styles/secondary_articles_short/s3/CasePaytronix0616.jpg?itok=6xKrXzLP","width":196,"alt":null,"height":219},"sponsored":false,"businessTopic":[],"company":[],"contentType":[]},{"title":"Integrated POS & PMS Yields Efficiency & Guest Satisfaction","id":867,"bundle":"whitepaper","url":"/integrated-pos-pms-yields-efficiency-guest-satisfaction","date":"2016-06-06T00:00:00","author":{"email":"devteam@ashday.com","uname":"ht_root","firstName":null,"lastName":null,"bio":null,"title":null,"picture":null,"phone":null,"contactForm":null},"summary":"How Agilysys helps Spooky Nook Sports streamline ops across muli-purpose complex. Sponsored. \r\n","body":"With numerous business models under one roof, Spooky Nook Sports was seeking a way to make sure guests had access to all components of the business from its 135-room hotel to foodservice and activities and be able to charge everything back to its rooms. The company teamed with Agilysys to achieve its vision for an integrated cross-property solution. Sponsored.","alternateLabel":null,"teaserImage":{"id":2336,"url":"https://assets1.hospitalitytech.com/styles/secondary_articles_short/s3/CaseStudy0616.jpg?itok=KQCZzL_X","width":196,"alt":null,"height":219},"sponsored":false,"businessTopic":[],"company":[],"contentType":[]},{"title":"Integrated POS Yields Double Digit Sales Growth for Fast Casual Chain","id":1054,"bundle":"whitepaper","url":"/integrated-pos-yields-double-digit-sales-growth-fast-casual-chain","date":"2016-03-04T00:00:00","author":{"email":"devteam@ashday.com","uname":"ht_root","firstName":null,"lastName":null,"bio":null,"title":null,"picture":null,"phone":null,"contactForm":null},"summary":"Comprehensive POS platform from Maitre'D increases sales and efficiencies for Buona Companies. Sponsored. \r\n ","body":"When The Buona fast casual restaurant chain realized its POS system couldn’t support its customer service focus nor position it for growth, it turned the Maitre’D POS system from Posera. Deploying mobile strategies for both customer-facing and back-office operations has contributed to the company’s double digit sales growth. Sponsored.","alternateLabel":null,"teaserImage":null,"sponsored":false,"businessTopic":[],"company":[],"contentType":[]},{"title":"Strong Data Equals Strong Promotions","id":1098,"bundle":"whitepaper","url":"/strong-data-equals-strong-promotions","date":"2016-02-16T00:00:00","author":{"email":"devteam@ashday.com","uname":"ht_root","firstName":null,"lastName":null,"bio":null,"title":null,"picture":null,"phone":null,"contactForm":null},"summary":"Pizza Ranch customizes rewards with detailed analytics from Paytronix. Sponsored. \r\n","body":"Pizza Ranch hadn’t had much in place in the way of a rewards program, but that changed when the company teamed with Paytronix. The relationship has grown, evolving into a true customer retention management program through the Data Insights product Paytronix offers. Sponsored.","alternateLabel":null,"teaserImage":{"id":2123,"url":"https://assets1.hospitalitytech.com/styles/secondary_articles_short/s3/cs0316_0.jpg?itok=-8b81B3N","width":196,"alt":null,"height":219},"sponsored":false,"businessTopic":[],"company":[],"contentType":[]},{"title":"Predictive Analytics Drives Loyalty Program for QSR","id":1228,"bundle":"whitepaper","url":"/predictive-analytics-drives-loyalty-program-qsr","date":"2015-12-17T00:00:00","author":{"email":"devteam@ashday.com","uname":"ht_root","firstName":null,"lastName":null,"bio":null,"title":null,"picture":null,"phone":null,"contactForm":null},"summary":"Paytronix system enables Which Wich to deliver more meaningful and relevant messages. Sponsored. \r\n \r\n","body":"Which Wich had grown weary of its loyalty and rewards program's manual system with its high probability of theft and fraud. Even more frustrating, however, was the inability to track guest behavior or the programs’ efficacy. To address these issues, the quick service sandwich chain turned to Paytronix for its analytics and reporting. Sponsored.","alternateLabel":null,"teaserImage":{"id":2104,"url":"https://assets1.hospitalitytech.com/styles/secondary_articles_short/s3/WhichWichPaytronix1215.jpg?itok=MrKI81LW","width":196,"alt":null,"height":216},"sponsored":false,"businessTopic":[],"company":[],"contentType":[]}]},"title":"Sponsored Case Study","contentParagraphs":null,"sections":null};
const country = "US";
const language = null;
const SITE_LANGUAGE = "en";
const siteName = "Hospitality Technology";
const userRoles = ["anonymous"];
const userUid = 0;
const indexName = "HT";
const title = "Sponsored Case Study | Hospitality Technology";
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 = title || `${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);
}
})();