Almost everyone uses Google Analytics. It is an amazing tool that has revolutionized web statistics. The Code provided by Google when we sign up is enough to track all standard sites.
- Label (Optional)
- Value (Optional and Integer)
- non-interaction (Optional)
In order to trigger an event on the click event on Images, we need to add the following code.
Here the category name is Images, the event Action is Click and the optional Label is BirthDay Picture. Or in case you want to track how many AJAX request has been processed with specific parameters.
There are few considerations to keep in mind when implementing the Event Tracker like How this will impact our bounce rate and 500 Events per session limit imposed by Google Analytics.