# Analytics Overview

Airkit collects data on the behavior of your applications in the form of logged Events. Some Events are logged automatically; these usually pertain to general information, such as how long users interact with your applications before completing their Journeys, or how many users begin a Journey at all. It is also possible to define Custom Events to keep track of information that pertains specifically to your use case.

Each logged Event falls into one of three categories:

* **Audit Events** - Regarding compliance
* **Session Events** - Regarding individual Journeys within an application
* **Platform Events** - Regarding individual applications

Logged Events can be accessed within the Airkit platform or transferred to external analytics platforms for further analysis.

## Accessing Your Organization's Logged Events

A summary of your [Organization's](../administration/airkit-organizations) data can be found in the Airkit platform directly, but if you want to view or analyze the raw data in depth, we recommend transferring it to Snowflake. You can also stream App Events and Audit logs to AWS S3 buckets; data shared in such cases is less comprehensive than the raw data that is transferred to Snowflake, but might be sufficient based on your use case.

### Activity Explorer

Activity Explorer provides a way to view the logged Events directly within the Airkit Platform. It is found in the [Console](../console/console), under the **Activity** tab.

For a deeper dive into how to utilize the Activity Explorer, see [View Data in Activity Explorer](org-logged-events/view-data-in-activity-explorer).

### Snowflake Secure Data Sharing

> 📘 Enterprise Feature This feature requires an **ENTERPRISE** license. If you would like to enable this feature for your Airkit Organization, please contact your Airkit representative or contact [support@airkit.com](mailto:support@airkit.com).

Data collected in your Airkit Organization can be securely shared using Snowflake's Secure Data Sharing. For more on how this raw data is structured, see [Snowflake Analytics Schema](org-logged-events/snowflake-analytics-schema).

### Streaming Data to Splunk

> 📘 Enterprise Feature This feature requires an **ENTERPRISE** license. If you would like to enable this feature for your Airkit Organization, please contact your Airkit representative or contact [support@airkit.com](mailto:support@airkit.com).

App Events can be streamed from Airkit to the Splunk HTTP Event Connector (or HEC). For more on how to configure this, see [App Events to Splunk](org-logged-events/app-events-to-splunk).

### Streaming Data to AWS S3 Buckets

App Events and Audit logs can be streamed from Airkit to AWS S3 buckets. For more on how to configure this, see [App Events to AWS S3 Buckets](org-logged-events/streaming-app-events-to-aws-s3-buckets) and [Audit Logs to AWS S3 Buckets](https://docs.airkit.ai/?q=app-event-and-audit-logs).

## Custom Session Events

Some Session Events, such as SessionId, ActionRuns, and UserAgent.DeviceClass, are logged automatically. Depending on your use case, however, it is often necessary to declare your own Session Events, so that you can keep track of metrics specific to your application's flow.

Custom Session Events can be logged like any other Event within your Organization. Airkit also provides the option to collect and organize specially-defined Session Events so that they are immediately sent to an integrated analytics platform (like Google Tag Manager or Heap) as part of being fired within a Journey Flow.

### Logging Custom Metrics as Events

Custom metrics can be used to gather unique, use-case-specific data on how users are interacting with an application. For example, custom metrics can be used to capture a CSAT score every session or record how long a user spends on a specific Web Page. Custom metrics are logged just like any other Session Event, and they are fired as Actions throughout a Journey Flow.

The following Actions can be used to log custom metrics:

* [Metric: Count](../actions/the-reporting-metric-count-action)
* [Metric: Field](../actions/the-reporting-metric-field-action)
* [Metric: Statistic](../actions/the-reporting-metric-statistic-action)
* [Metric: Start Timer](../actions/the-reporting-metric-start-timer-action)
* [Metric: Stop Timer](../actions/the-reporting-metric-stop-timer-action)
* [Log Custom Event](../actions/log-custom-event-action)

### Heap and GTM Integrations

In addition to storing and transferring data at the Org-level, Airkit also provides the option to collect and organize specially-defined Session Events so that they are immediately sent to an external analytics platform as part of being fired within a Journey Flow.

The external analytics platforms that support such workflows are:

* Heap
* Google Tag Manager

For more on how to configure Session Events so that they are sent to one of these platforms when they are fired during a Journey, see [Setting up Analytics with Heap](heap-and-gtm-integrations/setting-up-analytics-with-heap) and [Setting up Analytics with GTM](heap-and-gtm-integrations/setting-up-analytics-with-gtm).
