# Send survey completions to Amplitude

Send an event to Amplitude when someone finishes a survey. The event includes their answers. One connection sends new completed responses from all surveys in your workspace.

## Connect your project

1. In Amplitude, open **Organization settings → Projects** and select the project that should receive survey data. Copy its **API key** and check whether the project uses the US or EU data center.
2. As a Shopoll workspace owner or admin, open **Integrations → Product analytics** and choose **Amplitude**.
3. Select the project region, paste the API key and choose **Connect project**. Shopoll clears the key from the form after saving.
4. Complete a published survey. Open the project's event stream and look for **Survey Completed**. The Shopoll connection shows the most recent accepted event and counts of pending and failed deliveries.

## Read an event

The event properties include `survey_id`, `survey_title` and `answers`. Answers are stored under question IDs. Changing a question’s wording does not change the ID used in your chart. A phone answer from an identified survey sets the `phone` user property in international format. For anonymous surveys Shopoll uses a separate device ID for each event and omits the phone profile property. Information someone enters in an answer is still part of that answer.

Shopoll uses the time of completion and a consistent event ID for retries. Partial submissions and imports do not produce completion events. Connecting a project starts collection with the next completion.

## Manage delivery

Shopoll retries temporary errors automatically. If delivery still fails, check the API key and project region. **Retry failed deliveries** tries failed events from the last four days again for the same project. Choose **Change project** to enter replacement credentials. **Replace project** and **Disconnect** discard the old project's pending deliveries. Events the provider already accepted stay in that project.

**External delivery is held** means Shopoll has saved events but is not sending them to Amplitude. If deliveries stay on hold, contact Shopoll support. See [Amplitude's HTTP API](https://amplitude.com/docs/apis/analytics/http-v2).
