Client-side analytics collection

Use the Google Analytics APIs and SDKs to measure how users interact with your
content and marketing initiatives. You can view user-interaction data in the
Google Analytics user interface or use the Reporting APIs to fetch the data.
For more details on client-side analytics collection, select the link below
based on the type of your client:

Server-side analytics collection

Although App Engine provides a mechanism for
logging events in your application,
you can use Google Analytics to track specific server-side events in Google
Analytics so that you can:

Analyze historical data - App Engine allows you to configure the maximum
number of days, or size, of your log file. After that limit has been passed, you
no longer have access to those log files. Tracking events in Google Analytics
provides you a much longer lifespan into the visibility of past events.

Track key events - Log files can be verbose with various components of
your application writing data to them. By using event tracking, you can pinpoint
key events and track them, along with some metadata.

Work in the user interface - Take advantage of the rich user interface
that Google Analytics provides to visualize, report, and export these
server-side events.