# Where shoppers drop out of checkout

> Build a GA4 funnel from product view to purchase and see how many users reach each step and where they leave, by device or channel.

See how many shoppers make it from looking at a product to buying it, and at which step most of them give up.

## What you'll get

- A funnel of your steps, for example product view, add to cart, begin checkout and purchase.
- For each step: users who reached it, the completion rate to the next step and the drop-off.
- The same funnel split by device or channel, if you ask.
- Your AI's view on the weakest step and what to check.

## What you need

- [Google Analytics 4](https://docs.plugsight.app/connectors/google-analytics-4.md) connected, on the **Pro** or **Agency** plan.
- The events for each step tracked in GA4. Online stores often send view_item, add_to_cart, begin_checkout and purchase. A step can also be a page visit, such as any page whose address contains /checkout.

## Ask this

```text
Using Plugsight, build a GA4 funnel for the last 28 days: view_item, add_to_cart, begin_checkout, purchase. Show how many users reach each step and the drop-off between steps, split by device. Where do mobile users drop out most compared with desktop?
```

## Variations

- **Page steps:** "Build a funnel: pages containing /pricing, then /signup, then /welcome."
- **By channel:** "Split the funnel by channel instead of device."
- **Open funnel:** "Let users enter at any step." By default users must start at step 1.
- **Another period:** "…for last month."
- **Check the events exist first:** "Which events does this GA4 property record?"

## What your AI does behind the scenes

1. Lists your GA4 properties (`list_marketing_accounts`).
2. If it isn't sure of your event names, checks what the property offers (`analytics_metadata`) or which events count as key events (`analytics_key_events`).
3. Builds the funnel (`analytics_funnel`) with 2 to 10 steps, each an event or a page visit, closed unless you ask for an open funnel, and with the breakdown you asked for. The period is the last 28 days unless you give another.

Rates come back as fractions (0.25 means 25%); your AI turns them into percentages.

## Does it change anything?

No. Google Analytics is read-only in Plugsight.

## Related articles

- [What counts as a conversion](https://docs.plugsight.app/recipes/key-events-check.md)
- [Google Analytics 4](https://docs.plugsight.app/connectors/google-analytics-4.md)

---

Web version: https://docs.plugsight.app/recipes/checkout-funnel
