# Mixpanel

<div align="left"><figure><img src="/files/3kBYA6yDoXjbhuUV2kQy" alt=""><figcaption></figcaption></figure></div>

## Set up

### Navigate to the Integration settings view

1. Select an app in the top left corner from the Switcher
2. Navigate to **App Settings** by clicking the gear icon (⚙️) at the top of the Timeline sidebar
3. Click on **Integrations** in the sidebar

### **Connect Mixpanel**

1. Find the **Mixpanel** integration module under the **Observability & analytics** section
2. Click the **Connect** button
3. Enter your **Service Account Username** and **Service Account Secret.** You can create Service Accounts by visiting **Project Settings > Service Accounts** in Mixpanel. :link: [**Mixpanel Documentation: Service Accounts**](https://developer.mixpanel.com/reference/service-accounts)**.**

### **Configure the Mixpanel integration**

1. Enter your project ID, which can be found by visiting **Project Settings > Overview**
2. Select key events from your Mixpanel project to monitor from Runway. For each given event, you can use the Property field to specify an event property (e.g. `amount`) to track property value-related metrics such as averages, medians, and percentiles. Alternatively, you can also use the Property field to filter events using basic query string syntax: for example, if you have a `page_load` event and want to measure unsuccessful loads on a "checkout" screen, you might enter `name=checkout&success=false` for the Property value.&#x20;
   1. Some legacy automatically tracked events are aliased to a different name in the dashboard. If you plan to track any of these events, please refer to the [iOS](https://docs.mixpanel.com/docs/tracking-methods/sdks/swift#legacy-automatically-tracked-events) or [Android](https://docs.mixpanel.com/docs/tracking-methods/sdks/android#legacy-automatically-tracked-events) page in the Mixpanel docs and use the `Raw Name` that maps to their `Display Name`.

{% hint style="info" %}
The events you select as part of the integration setup will be surfaced in the [**Rollout**](/using-runway/rollout.md) view of each release. You can also configure [health metrics](/using-runway/app-settings/health-metrics-settings.md) that define acceptable thresholds for any of these events, associate metrics with [rollout automations](/automations/types-of-automations.md#halt-unstable-phased-releases) and more!
{% endhint %}

For a complete list of available metric types that Runway generates from your selected events, visit the [Metric Types documentation](/using-runway/app-settings/health-metrics-settings.md#metric-types).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.runway.team/integrations/observability-and-analytics/mixpanel.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
