1. Any link click on the page
Use the following snippet if you want your code to be executed upon any link click on the page, regardless of the type (button, text, image) or element ID.
2. A click on a particular element
Use the following snippet if you want your code to be executed upon clicking a specific element, targeted by its unique ID.
Here you will need to replace "123" with the actual ID of your element. The GIF below demonstrates how you can find it: