feat(SW-392): Added map click tracking
This commit is contained in:
@@ -52,6 +52,16 @@ export function trackFooterClick(group: string, name: string) {
|
||||
pushToDataLayer(event)
|
||||
}
|
||||
|
||||
export function trackHotelMapClick() {
|
||||
const event = {
|
||||
event: "map click",
|
||||
map: {
|
||||
action: "map click – open/explore mearby",
|
||||
},
|
||||
}
|
||||
pushToDataLayer(event)
|
||||
}
|
||||
|
||||
export function trackUpdatePaymentMethod(hotelId: string, method: string) {
|
||||
const paymentSelectionEvent = {
|
||||
event: "paymentSelection",
|
||||
|
||||
Reference in New Issue
Block a user