There are four main components to the Analytics system: data collection, configuration, data processing and reporting.
- Collection: You can use Analytics to collect user interaction data from websites,
For mobile apps, you must add extra code to each "activity" you want to track. Note that since mobile devices are not always connected to the internet, data can not always be sent to the collection server in real time. To handle this situation, Analytics can store the “hits” and dispatch them to the server when the device reconnects to the internet.
- Processing: Once the hits from a user have been collected on Google’s servers, the next step is data processing. This is the “transformation” step that turns your raw data to something useful.
- Configuration: In this step, Analytics applies your configuration settings, such as filters, to the raw data. Once your data is processed, the data is stored in a database. Once the data has been processed and inserted into the database, it can’t be changed.
- Reporting: Typically, you will use the web interface at www.google.com/analytics to access your data. However, it is also possibly to systematically retrieve data from your Analytics account using your own application code and the Core Reporting API.