Anton Gunnarsson
630e89c845
Merged in feat/sw-3473-remove-tracking-context (pull request #2843 )
...
feat(SW-3473): Rework booking-flow tracking provider
* Remove tracking context and import instead
* Remove unused file
Approved-by: Joakim Jäderberg
2025-09-22 13:08:10 +00:00
Joakim Jäderberg
7dee6d5083
Merged in chore/move-enter-details (pull request #2778 )
...
Chore/move enter details
Approved-by: Anton Gunnarsson
2025-09-11 07:16:24 +00:00
Anton Gunnarsson
e4a66499e5
Merged in feat/sw-3322-move-base-tracking-to-common (pull request #2713 )
...
feat(SW-3322): Move base tracking to common package
* Move base tracking to common package
* Update lock file
Approved-by: Joakim Jäderberg
2025-08-27 12:29:46 +00:00
Bianca Widstam
ef40d16a2f
Merged in fix/SW-2418-tracking-booking-cancellations (pull request #2500 )
...
fix(SW-2418): add duration and price to booking cancellations tracking
* fix(SW-2418): add duration and price to booking cancellations tracking
* fix(SW-2418): move sessionId and siteVersion inside the pageInfo object
Approved-by: Matilda Landström
2025-07-07 06:02:12 +00:00
Anton Gunnarsson
e572d9e7e9
Merged in feat/sw-2862-move-booking-router-to-trpc-package (pull request #2421 )
...
feat(SW-2861): Move booking router to trpc package
* Use direct imports from trpc package
* Add lint-staged config to trpc
* Move lang enum to common
* Restructure trpc package folder structure
* WIP first step
* update internal imports in trpc
* Fix most errors in scandic-web
Just 100 left...
* Move Props type out of trpc
* Fix CategorizedFilters types
* Move more schemas in hotel router
* Fix deps
* fix getNonContentstackUrls
* Fix import error
* Fix entry error handling
* Fix generateMetadata metrics
* Fix alertType enum
* Fix duplicated types
* lint:fix
* Merge branch 'master' into feat/sw-2863-move-contentstack-router-to-trpc-package
* Fix broken imports
* Move booking router to trpc package
* Move partners router to trpc package
* Move autocomplete router to trpc package
* Move booking router to trpc package
* Merge branch 'master' into feat/sw-2862-move-booking-router-to-trpc-package
Approved-by: Linus Flood
2025-06-26 13:21:16 +00:00
Anton Gunnarsson
bbcabfa0ba
Merged in feat/sw-2864-move-hotels-router-to-trpc-package (pull request #2410 )
...
feat (SW-2864): Move booking router to trpc package
* Add env to trpc package
* Add eslint to trpc package
* Apply lint rules
* Use direct imports from trpc package
* Add lint-staged config to trpc
* Move lang enum to common
* Restructure trpc package folder structure
* WIP first step
* update internal imports in trpc
* Fix most errors in scandic-web
Just 100 left...
* Move Props type out of trpc
* Fix CategorizedFilters types
* Move more schemas in hotel router
* Fix deps
* fix getNonContentstackUrls
* Fix import error
* Fix entry error handling
* Fix generateMetadata metrics
* Fix alertType enum
* Fix duplicated types
* lint:fix
* Merge branch 'master' into feat/sw-2863-move-contentstack-router-to-trpc-package
* Fix broken imports
* Move booking router to trpc package
* Merge branch 'master' into feat/sw-2864-move-hotels-router-to-trpc-package
Approved-by: Linus Flood
2025-06-26 09:02:59 +00:00
Anton Gunnarsson
002d093af4
Merged in feat/sw-2863-move-contentstack-router-to-trpc-package (pull request #2389 )
...
feat(SW-2863): Move contentstack router to trpc package
* Add exports to packages and lint rule to prevent relative imports
* Add env to trpc package
* Add eslint to trpc package
* Apply lint rules
* Use direct imports from trpc package
* Add lint-staged config to trpc
* Move lang enum to common
* Restructure trpc package folder structure
* WIP first step
* update internal imports in trpc
* Fix most errors in scandic-web
Just 100 left...
* Move Props type out of trpc
* Fix CategorizedFilters types
* Move more schemas in hotel router
* Fix deps
* fix getNonContentstackUrls
* Fix import error
* Fix entry error handling
* Fix generateMetadata metrics
* Fix alertType enum
* Fix duplicated types
* lint:fix
* Merge branch 'master' into feat/sw-2863-move-contentstack-router-to-trpc-package
* Fix broken imports
* Merge branch 'master' into feat/sw-2863-move-contentstack-router-to-trpc-package
Approved-by: Linus Flood
2025-06-26 07:53:01 +00:00
Bianca Widstam
5c3b30ea93
Merged in fix/SW-3020-paymentInfo-tracking (pull request #2403 )
...
fix(SW-3020): add correct paymentInfo in booking flow and ancillary flow
* fix(SW-3020): add correct paymentInfo in booking flow and ancillary flow
* fix(SW-3020): fix pr comments
Approved-by: Tobias Johansson
2025-06-24 13:38:30 +00:00
Bianca Widstam
c4229c2dd2
Merged in fix/SW-2853-tracking-breakfast-ancillaries (pull request #2188 )
...
fix(SW-2853): tracking for breakfast ancillaries
* fix(SW-2853): tracking for breakfast ancillaries
* fix(SW-2853): viewAncillary event fix for breakfast
* fix(SW-2853): pr comment spread room facilities
Approved-by: Tobias Johansson
2025-05-22 10:05:54 +00:00
Simon Emanuelsson
e082bf2e50
feat: make sure correct data is sent to tracking
2025-05-14 15:10:18 +00:00
Bianca Widstam
972d530be8
Merged in fix/SW-1997-tracking-ancillaries-adjust-total (pull request #1893 )
...
fix(SW-1997): productPoints and productPrice should be the total
* fix(SW-1997): productPoints and productPrice should be the total
Approved-by: Matilda Landström
2025-04-29 09:01:02 +00:00
Bianca Widstam
416a95d592
Merged in fix/SW-1997-tracking-correct-price-or-points (pull request #1869 )
...
fix(SW-1997): only add points or card if payed with
* fix(SW-1997): only add points or card if payed with
* fix(SW-1997): use buildAncillaries function
Approved-by: Michael Zetterberg
2025-04-28 09:05:55 +00:00
Bianca Widstam
77eff2b49c
Merged in fix/SW-1997-gla-tracking (pull request #1852 )
...
fix(SW-1997): add price and currency
* fix(SW-1997): add price and currency
* fix(SW-1997): wrap lateArrivalGuaranteee and guaranteedProduct in hotelInfo
Approved-by: Niclas Edenvin
2025-04-24 13:41:29 +00:00
Bianca Widstam
77c03905e4
Merged in fix/hide-payment-if-only-points (pull request #1741 )
...
Feat(SW-1943): add new design for pay ancillaries with points
* fix: hide card and payment info if only quantity with points is selected
* feat(SW-1943): add new design for pay ancillaries with points
* feat(SW-1943): add missing translation
* feat(SW-1943): fix rebase
* feat(SW-1943): remove console log
Approved-by: Linus Flood
Approved-by: Matilda Landström
2025-04-10 06:18:02 +00:00
Bianca Widstam
c41dea4118
Merged in feat/SW-1414-guarantee-enter-details-tracking (pull request #1744 )
...
Feat/SW-1414 guarantee enter details tracking
* feat(SW-1414): add tracking for gla enter details
* feat(SW-1414): add tracking for gla
* feat(SW-1414): add tracking for gla in enter details
* feat(SW-1414): fix pr comments
* feat(SW-1414): fix pr comment client only
* feat(SW-1414): fix pr comments
* feat(SW-1414): add tracking on load
Approved-by: Christian Andolf
2025-04-09 06:26:19 +00:00
Bianca Widstam
35c1724afb
Merged in feat/SW-1997-tracking-gla-my-stay-ancillaries (pull request #1657 )
...
Feat/SW-1997 tracking gla my stay ancillaries
* feat(SW-1996): tracking gla my stay
* feat(SW-1996): update gla tracking
* feat(SW-1996): fix comment
* feat(SW-1997): add tracking for gla my stay and ancillaries
* feat(SW-1997): rebase master
* feat(SW-1997): fix duplicate import
* feat(SW-1997): add hotelId and category for ancillaries, and add more tracking
* feat(SW-1997): remove commments and fix spelling mistake
* feat(SW-1997): if addAncillary failed, but guarantee is successful, default to card in booking
Approved-by: Niclas Edenvin
2025-04-01 09:38:36 +00:00
Bianca Widstam
a28fa67195
Merged in feat/SW-1996-tracking-gla-my-stay (pull request #1625 )
...
Feat/SW-1996 tracking gla my stay
* feat(SW-1996): tracking gla my stay
* feat(SW-1996): update gla tracking
* feat(SW-1996): update gla tracking
* feat(SW-1996): fix comment
* feat(SW-1996): fix camelCase
Approved-by: Niclas Edenvin
Approved-by: Erik Tiekstra
2025-03-27 14:09:39 +00:00
Pontus Dreij
2bc14a6eeb
Merged in feat(SW-1993)-tracking-mystay-cancellation (pull request #1588 )
...
Feat(SW-1993) tracking mystay
* feat(SW-1993) added trackEvent for cancelStay and mypagelink
* feat(SW-1993) implement trackCancelStay and trackMyStayPageLink
Approved-by: Linus Flood
2025-03-21 07:24:01 +00:00