# Route survey completions through RudderStack

Send completed surveys to a RudderStack HTTP source. **Track** events contain the answers. You can also send **Identify** events to update customer profiles.

## Connect your data plane

1. In RudderStack, open **Sources** and select or create an **HTTP** source. Copy its **Write key** and **Data plane URL**.
2. In Shopoll, open **Integrations → Product analytics** as an owner or admin, then select **RudderStack**.
3. Enter the public HTTPS data-plane origin and the source write key. Leave **Update participant profiles** selected to send profile updates alongside completions.
4. Choose **Connect project**. Complete a published survey and inspect the source's incoming events in RudderStack.

![The Update participant profiles option for including contact details and survey answers in RudderStack Identify events.](/media/rudderstack.png)

## Choose what to send

**Track** sends **Survey Completed** with the survey ID, title, answers and response metadata. Answer keys use lowercase words separated by underscores, also called snake case. A question with the handle `deliverySpeed` appears under `delivery_speed`. Questions that would share a key receive numbered suffixes.

**Identify** uses the participant's Shopoll reference as the anonymous ID. It includes available email, phone, handle, answers and participant metadata. Phone numbers use international format. The profile link opens that participant in Shopoll for a signed-in workspace member.

Turn off **Update participant profiles** to send Track alone. The change applies to pending deliveries as well as new ones. Anonymous surveys always send Track alone with a per-completion ID. Values typed into answers still travel in the Track event.

## Follow delivery

Choose **Refresh status** to check pending and failed completions. Shopoll reuses the same message IDs on retries. Check that the event reached the RudderStack source before checking the tools that receive it from there. Changing the data plane or disconnecting cancels pending deliveries for the previous connection. [RudderStack event stream sources](https://www.rudderstack.com/docs/sources/overview/)
