Google Analytics
Google Analytics is a web analytics service offered by Google that tracks and reports website traffic.
Description
Google launched the service in November 2005 after acquiring Urchin.
Google Analytics is now the most widely used web analytics service on the Internet.
Event tracking
Events are user interactions with content that can be tracked independently from a web page or a screen load. Downloads, mobile ad clicks, gadgets, Flash elements, AJAX embedded elements, and video plays are all examples of actions you might want to track as Events.
Event hits can be sent using the send command and specifying a hitType of event. The send command has the following signature for the event hit type:
ga('send', 'event', [eventCategory], [eventAction], [eventLabel], [eventValue], [fieldsObject]);
Example: The following command sends an event to Google Analytics indicating that the fall campaign promotional video was played:
ga('send', 'event', 'Videos', 'play', 'Fall Campaign');
See also
External links
- Google Analytics @ Wikipedia
- Event tracking