diff --git a/apps/scandic-web/server/routers/contentstack/startPage/query.ts b/apps/scandic-web/server/routers/contentstack/startPage/query.ts index 5ce2c5ace..2462584cc 100644 --- a/apps/scandic-web/server/routers/contentstack/startPage/query.ts +++ b/apps/scandic-web/server/routers/contentstack/startPage/query.ts @@ -172,14 +172,14 @@ export const startPageQueryRouter = router({ const system = startPage.data.start_page.system const tracking: TrackingSDKPageData = { + pageName: "startpage", + pageType: "startpage", pageId: system.uid, + channel: TrackingChannelEnum["homepage"], domainLanguage: lang, - publishDate: system.updated_at, createDate: system.created_at, - channel: TrackingChannelEnum["start-page"], - pageType: "start-page", - pageName: startPage.data.trackingProps.url, - siteSections: startPage.data.trackingProps.url, + publishDate: system.updated_at, + siteSections: "startpage", siteVersion: "new-web", } diff --git a/apps/scandic-web/types/components/tracking.ts b/apps/scandic-web/types/components/tracking.ts index df5d87a5b..83ac7eca1 100644 --- a/apps/scandic-web/types/components/tracking.ts +++ b/apps/scandic-web/types/components/tracking.ts @@ -7,7 +7,7 @@ export enum TrackingChannelEnum { "hotelreservation" = "hotelreservation", "collection-page" = "collection-page", "hotels" = "hotels", - "start-page" = "start-page", + "homepage" = "homepage", } export type TrackingChannel = keyof typeof TrackingChannelEnum