Merged in feat/LOY-490-cleanup-profiling-consent (pull request #3237)

Feat/LOY-490 cleanup profiling consent

* chore(LOY-490): cleanup accordion

* xhore(LOY-490): cleanup signup

* fix(LOY-490): use correct tokens

* fi(LOY-490): change button to correct color

* fix(LOY-490): switch deprecated Link


Approved-by: Chuma Mcphoy (We Ahead)
This commit is contained in:
Matilda Landström
2025-11-27 07:48:34 +00:00
parent 42b039c4ef
commit b122f2ff4f
8 changed files with 39 additions and 338 deletions

View File

@@ -4,11 +4,7 @@ import type { TrackingSDKPageData } from "@scandic-hotels/tracking/types"
interface trackLinkClickProps {
position: "modal" | "banner" | "signup" | "profile"
name:
| "learn more about how we process your data"
| "edit preference in my profile"
| "manage profiling consent"
| "read more about personalization at scandic"
name: string
}
export function trackLinkClick({ position, name }: trackLinkClickProps) {
trackEvent({