# Show a survey based on the shopping cart

An exit survey can ask what stopped a shopper from ordering while their items are still in the cart. Use a separate survey for visitors who are browsing with an empty cart.

## Choose who sees the survey

Open the survey editor’s **Audience** settings. Under **Audience to edit**, choose **Website visitor**. In **Shopify cart**, choose **The cart has items** or **The cart is empty**. Leave **Any cart** selected when the contents do not matter.

For more control, choose **The cart matches custom rules**. For example, choose **Item count**, **Greater than**, and enter **2** to reach shoppers with three or more items. Two units of the same variant count as two items. Add a second rule for **Cart total in store currency**, **Greater than**, **100**. Select **All cart rules** to require both conditions or **Any cart rule** to accept either. The cart must also satisfy the survey’s other audience settings.

## Preview and publish

Open **Preview who qualifies**. Enter an item count and total, then choose **Evaluate sample**. Check a value exactly on the threshold as well as one above it. Save and publish the survey. Enable **Include in automatic website selection** to let the [Shopify theme embed](/docs/installation/activating-shopoll-on-shopify-2-0.md) choose it from your live survey list.

Shopoll checks the live cart again when the survey opens. If more than one survey qualifies, the [workspace’s survey order](/docs/accounts/live-surveys.md) determines which appears first. A shopper who already has a survey open can finish it.

The total includes cart discounts. Total comparisons use the shop's currency. If the shopper is checking out in a different currency, the total comparison cannot match. Item-count rules still work. If Shopify cannot supply the cart, Shopoll skips cart-restricted surveys and can show an eligible unrestricted survey. Cart rules apply to storefront surveys. Order and checkout audiences have their own settings.
