Events are user interactions with content that can be tracked independently from a web page or a screen load. Event Tracking is one of the best ways to understand the user actions on your website such as how many times a button was clicked, a form was submitted, or documents were downloaded.
- Button Click
- Link Click
- Form submit
- and more like Video play/pause/stop, Scrolling, newsletter submission, outbound link click, tab click, etc.
Component of Events:
Category (required) – The name you supply for the group of objects you want to track.
Action (required) – A string that is uniquely paired with each category, and commonly used to define the type of user interaction for the web object.
Label (optional) – An optional string to provide additional dimensions/information to the event data.
Value (optional) – An integer that you can use to provide numerical data about the user event.
Non-Interaction (optional) – A Boolean that when set to true, indicates that the event hit will not be used in bounce-rate calculation.
Category: “Form”, Action: “submit”, Label: “Query”, Value: 2
Category: “Form”, Action: “submit”, Label: “Register”, Value: 10
Just Links – You should use Just Links when the target is any type of anchor tag <a> (e.g. <a href=”#”>Link</a>).
All Elements – You should use All Elements when the click target is any HTML element, such as <div>, <button>, or <img> tags.
We can set event as our goal in Google Analytics and can also import that event(goal) in AdWords.