On-click Events for Menus/Calendar Clicks

Following This Instructions:

I’ve imported the Wixwindow code, and wired an event code ‘on-click’ with a ‘Trackevent ()function’
Final code is attached

My question is - How can I wire a ‘on-click’ to a Menu button, or even more, How can I wire an ‘on-click’ event to a Wix-hotels Calendar Click?

Thank You!