Merged in feat/SW-1472-destination-tracking (pull request #1474)

Feat/SW-1472 destination tracking

* feat(SW-1472): Added default tracking for destination overview page

* feat(SW-1472): Added default tracking for destination country/city page

* feat(SW-1472): moved tracking functions to different files for better overview

* feat(SW-1472): added destination page tracking


Approved-by: Fredrik Thorsson
Approved-by: Matilda Landström
This commit is contained in:
Erik Tiekstra
2025-03-06 10:15:33 +00:00
parent 47785aa07a
commit 230b56b3bd
25 changed files with 502 additions and 373 deletions
@@ -6,8 +6,6 @@ export enum TrackingChannelEnum {
"static-content-page" = "static-content-page",
"hotelreservation" = "hotelreservation",
"collection-page" = "collection-page",
"destination-overview-page" = "destination-overview-page",
"destination-page" = "destination-page",
"hotels" = "hotels",
"start-page" = "start-page",
}
@@ -13,7 +13,8 @@ export interface GetDestinationCityPageData
extends z.input<typeof destinationCityPageSchema> {}
export interface DestinationCityPage
extends z.output<typeof destinationCityPageSchema> {}
export type DestinationCityPageData = DestinationCityPage["destinationCityPage"]
export type DestinationCityPageData =
DestinationCityPage["destination_city_page"]
export interface GetDestinationCityListDataResponse
extends z.input<typeof destinationCityListDataSchema> {}
@@ -12,7 +12,7 @@ export interface GetDestinationCountryPageData
interface DestinationCountryPage
extends z.output<typeof destinationCountryPageSchema> {}
export type DestinationCountryPageData =
DestinationCountryPage["destinationCountryPage"]
DestinationCountryPage["destination_country_page"]
export type Block = z.output<typeof blocksSchema>
export interface GetDestinationCountryPageRefsSchema