Difference between revisions of "Google Analytics"
Karl Jones (Talk | contribs) (→External links) |
Karl Jones (Talk | contribs) |
||
Line 6: | Line 6: | ||
Google Analytics is now the most widely used web analytics service on the Internet. | 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: | ||
+ | |||
+ | <code>ga('send', 'event', [eventCategory], [eventAction], [eventLabel], [eventValue], [fieldsObject]);</code> | ||
+ | |||
+ | Example: The following command sends an event to Google Analytics indicating that the fall campaign promotional video was played: | ||
+ | |||
+ | <code>ga('send', 'event', 'Videos', 'play', 'Fall Campaign');</code> | ||
== See also == | == See also == | ||
Line 16: | Line 28: | ||
* [https://en.wikipedia.org/wiki/Google_Analytics Google Analytics] @ Wikipedia | * [https://en.wikipedia.org/wiki/Google_Analytics Google Analytics] @ Wikipedia | ||
+ | * [https://developers.google.com/analytics/devguides/collection/analyticsjs/events Event tracking] | ||
[[Category:Computing]] | [[Category:Computing]] | ||
[[Category:Web design and development]] | [[Category:Web design and development]] |
Latest revision as of 13:57, 20 June 2017
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