# Track survey completions in Mixpanel

Send **Survey Completed** to Mixpanel when someone finishes a published survey. Compare survey counts in an Insights report or open an event to read its answers.

## Connect a Mixpanel project

1. In Mixpanel, open **Project settings** and copy the **Project token**. Check the project's data residency.
2. In Shopoll, open **Integrations → Product analytics** as a workspace owner or admin. Select **Mixpanel**.
3. Choose **United States**, **European Union** or **India** to match your Mixpanel project. Enter the project token and choose **Connect project**.
4. Submit a response to a published survey and open **Events** in the selected Mixpanel project. Find **Survey Completed** and inspect its properties.

## Event properties

| Property | What you can use it for |
| --- | --- |
| `survey_title` and `survey_id` | Identify the survey behind the event. |
| `answers` | Read the submitted answers by question ID, including write-in text. |
| `phone` | Find the first valid phone answer from an identified survey in international format. |
| `time` and `$insert_id` | Place the completion on a timeline and recognize the same event on a retry. |

Each anonymous completion gets a new ID and leaves out the separate phone field. The answers object still includes the values the person answering submitted. Imports, partial responses and surveys finished before connection are excluded.

## Check delivery

The connection shows pending and failed counts and the last accepted event. Shopoll checks Mixpanel's acceptance response and retries temporary failures. Use **Retry failed deliveries** after resolving an issue in the receiving project. Failures older than four days are excluded from manual retries.

Choose **Refresh status** to check for new receipts. Open **Change project** to replace the token or region. Replacing or disconnecting a project cancels its pending deliveries. Previously delivered events stay in Mixpanel. See [Mixpanel's tracking API](https://docs.mixpanel.com/reference/track-event).
