feat(SW-392): Added tab navigation click tracking
This commit is contained in:
@@ -77,6 +77,16 @@ export function trackAccordionClick(option: string) {
|
||||
pushToDataLayer(event)
|
||||
}
|
||||
|
||||
export function trackHotelTabClick(name: string) {
|
||||
pushToDataLayer({
|
||||
event: "linkClick",
|
||||
link: {
|
||||
action: "hotel menu click",
|
||||
option: `hotel menu:${name}`,
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
export function trackUpdatePaymentMethod(hotelId: string, method: string) {
|
||||
const paymentSelectionEvent = {
|
||||
event: "paymentSelection",
|
||||
|
||||
Reference in New Issue
Block a user