2. Using Event Listeners
There are four different types of event
listeners you can create:
- Click listener
- Link Click listener
- Timer listener
- Form Submit listener
3. What is a Listener?
A listener is a function which operates in the
background. When creating the listener, you tell
what operations it should wait for, and once
these operations take place, the listener
activates and fires any code within.
In this case it generates the code:
gtm.linkClick