feat(SW-1472): adjustments to destination page tracking

Approved-by: Matilda Landström
This commit is contained in:
Erik Tiekstra
2025-03-18 07:09:40 +00:00
parent da3a7c1865
commit f096b70c45
5 changed files with 14 additions and 9 deletions

View File

@@ -182,7 +182,7 @@ export const destinationCityPageQueryRouter = router({
)
const system = destinationCityPage.system
const pageName = `hotels|${city.country ? `${city.country}|` : ""}${city.name}`
const pageName = `destinations|${city.country}|${city.name}`
const tracking: TrackingSDKPageData = {
pageId: system.uid,

View File

@@ -167,7 +167,7 @@ export const destinationCountryPageQueryRouter = router({
)
const system = destinationCountryPage.system
const pageName = `hotels|${country}`
const pageName = `destinations|${country}`
const tracking: TrackingSDKPageData = {
pageId: system.uid,

View File

@@ -188,8 +188,8 @@ export const destinationOverviewPageQueryRouter = router({
createDate: system.created_at,
channel: TrackingChannelEnum.hotels,
pageType: "destinationoverviewpage",
pageName: "destination|overview",
siteSections: "destination|overview",
pageName: "destinations|overview",
siteSections: "destinations|overview",
siteVersion: "new-web",
}