feat(SW-392): Added accordion click tracking for hotel amenities
This commit is contained in:
@@ -66,6 +66,17 @@ export function trackHotelMapClick() {
|
||||
pushToDataLayer(event)
|
||||
}
|
||||
|
||||
export function trackAccordionClick(option: string) {
|
||||
const event = {
|
||||
event: "accordionClick",
|
||||
accordion: {
|
||||
action: "accordion open click",
|
||||
option,
|
||||
},
|
||||
}
|
||||
pushToDataLayer(event)
|
||||
}
|
||||
|
||||
export function trackUpdatePaymentMethod(hotelId: string, method: string) {
|
||||
const paymentSelectionEvent = {
|
||||
event: "paymentSelection",
|
||||
|
||||
Reference in New Issue
Block a user