# Google Analytics for storefront surveys

See website survey activity in Google Analytics. Shopoll uses the Google tag already on your website. You need to turn on this connection for a new workspace.

## Enable storefront events

1. Install the [website embed](/docs/installation/activating-shopoll-on-shopify-2-0.md) on a page with your Google tag.
2. As a workspace owner or admin, open **Integrations → Google Analytics** in Shopoll.
3. Choose **Send events and question IDs** or **Also include fixed choices and ratings**, then choose **Save analytics setting**.
4. Reload the storefront, grant analytics permission where requested and complete a survey. Look for the events in GA4 Realtime.

## Read the event names

| Event | What to count |
| --- | --- |
| `shopoll_poll_opened` | People opening the survey. |
| `shopoll_poll_closed` | Visitors closing it. |
| `shopoll_poll_submission` | Saved answers, including changed answers after an edit. |
| `shopoll_poll_completed` | People finishing the survey. |

Events identify the survey using `survey_id` and `survey_handle`. Question events also carry `question_handle`, using the question ID if no handle is set.

## Choose which values to send

**Also include fixed choices and ratings** adds `answer_value` for numeric ratings and choices from the options you wrote. Text, contact details, uploaded files, form fields and write-in answers are excluded. **Send events and question IDs** omits all answer values.

Shopoll checks analytics permission on the page. A visitor may be able to answer an embedded survey while analytics remains disabled. To stop forwarding events across the workspace, choose **Off** and save. For checkout and customer-account pages, configure a [GA4 Shopify pixel](/docs/integrations/ga4-shopify-pixel.md).
