","showSummary":null,"url":"/starwood-abolishes-check-inout-times-preferred-guest-members","date":"2012-02-07T00:00:00","author":{"email":"devteam@ashday.com","uname":"ht_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":"Check-in/out (hotel)","url":"/check-inout-hotel"},{"name":"Customer Experience/Service","url":"/customer-experience-service"},{"name":"Loyalty","url":"/loyalty"},{"name":"Lodging","url":"/lodging"},{"name":"Hotel Brand -- Major","url":"/hotel-brand-major"},{"name":"Hotels","url":"/hotels"}],"attachedFiles":[]},{"title":"Buca Di Beppo Gets Cloud-Based Digital Gifting Solution","id":4409,"bundle":"article","summary":"Buca di Beppo has chosen Transaction Wireless to provide a cloud-based digital gift card platform, enabling restaurants to create marketing promotions and campaigns for the gift cards over e-mail, mobile and Facebook.","showSummary":null,"url":"/buca-di-beppo-gets-cloud-based-digital-gifting-solution","date":"2011-11-02T00:00:00","author":{"email":"devteam@ashday.com","uname":"ht_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":"Cloud Computing","url":"/cloud-computing"},{"name":"Gift Card","url":"/gift-card"},{"name":"Loyalty","url":"/loyalty"},{"name":"Mobile Devices & Apps","url":"/mobile-devices-apps"},{"name":"Social Networking","url":"/social-networking"},{"name":"Restaurants","url":"/restaurants"},{"name":"Family Casual Dining","url":"/family-casual-dining"}],"attachedFiles":[]},{"title":"Majority of Consumers See No Benefit in Sharing Personal Data","id":4452,"bundle":"article","summary":"Among other findings, LoyaltyOne research shows 74% of U.S. and Canadian consumers don’t see benefit of sharing personal information with marketers.","showSummary":null,"url":"/majority-consumers-see-no-benefit-sharing-personal-data","date":"2011-10-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},"digitalEdition":null,"sponsored":false,"taggedPro":null,"teaserImage":null,"topics":[{"name":"Customer Experience/Service","url":"/customer-experience-service"},{"name":"Loyalty","url":"/loyalty"},{"name":"Restaurants","url":"/restaurants"},{"name":"Lodging","url":"/lodging"},{"name":"Hotels","url":"/hotels"}],"attachedFiles":[]}]},"title":"Loyalty","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 = "Loyalty | 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);
}
})();
Loyalty | Hospitality Technology
SEO solutions from Appnostic show hotels how to gain the most from social search results.
Trump Hotel Collection has partnered with Micros to provide cross-property quality and superior service.
POS Saves Restaurant from Tax Man The Smokehouse, a casual restaurant in Ann Arbor, MI, was losing money due to an inefficient POS. With a custom-designed POS, the establishment was able to stop overpaying taxes and saw a boost in its customer loyalty program.
X
This ad will auto-close in 10 seconds