\r\n \r\nRateGain participates in HTNG’s Product Distribution Workgroup which continues to develop and enhance the specifications used across the hospitality distribution space. RateGain is committed to using several HTNG specifications as part of RezGain, the online distribution channel management tool, which provides its users with advanced XML-based two-way integration for update and control of: \r\n \r\nRates Distribution/ Availability \r\nAvailability Distribution/ Rates \r\nReservations Distribution/ Reservations \r\nWeb Services Framework \r\n \r\nRezGain is built around an open XML-based integration platform which uses a web services framework to provide the technology edge which enables RezGain to integrate quickly and easily with other distribution systems. \r\n \r\nRateGain also participates in the Connectivity Working Group of the Hotel Electronic Distribution Network Association (HEDNA ) which is defining a framework to permit the efficient exchange of rich, detailed and timely hotel shopping results while maintaining a high level of accuracy for the consumer."}]}};
const country = "US";
const language = "en-US,en;q=0.5";
const SITE_LANGUAGE = "en";
const siteName = "Hospitality Technology";
const userRoles = ["anonymous"];
const userUid = 0;
const indexName = "HT";
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);
}
})();
RateGain Extends Involvement with Hotel Technology Next Generation (HTNG)
RateGain Extends Involvement with Hotel Technology Next Generation (HTNG) RateGain ’s continuous efforts in providing leading hospitality technology solutions for seamless electronic distribution, revenue management decision support and brand engagement for customers around the world are given additional momentum with the company’s participation in
Hotel Technology Next Generation (HTNG) .
RateGain participates in HTNG’s Product Distribution Workgroup which continues to develop and enhance the specifications used across the hospitality distribution space. RateGain is committed to using several
HTNG specifications as part of RezGain, the online distribution channel management tool, which provides its users with advanced XML-based two-way integration for update and control of:
Rates Distribution/ Availability
Availability Distribution/ Rates
Reservations Distribution/ Reservations
Web Services Framework
RezGain is built around an open
XML-based integration platform which uses a web services framework to provide the technology edge which enables
RezGain to integrate quickly and easily with other distribution systems.
RateGain also participates in the Connectivity Working Group of the Hotel Electronic Distribution Network Association (
HEDNA ) which is defining a framework to permit the efficient exchange of rich, detailed and timely hotel shopping results while maintaining a high level of accuracy for the consumer.
X
This ad will auto-close in 10 seconds