> For the complete documentation index, see [llms.txt](https://help.littledata.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.littledata.io/integrations/shopify-to-google-analytics/checkout-funnel-steps.md).

# Tracking Shopify checkout steps in Google Analytics

A guide to the tracking checkout funnel events - including Shopify checkout extensibility - into Google Analytics 4

### Which checkouts are tracked

Littledata [tracks the Shopify checkout automatically](https://help.littledata.io/sources/shopify/shopify-checkout-extensibility), so you can use the GA4 checkout funnel report right away. Checkout steps are tracked for:

* The Shopify checkout, including Checkout Extensibility. This covers both the [one-page checkout](https://help.shopify.com/en/manual/checkout-settings/one-page-checkout) and the older three-page checkout.
* Accelerated checkouts, such as Shop Pay.

Checkout apps for subscriptions and upsells run inside the Shopify checkout. The checkout steps are the same for these journeys, but the [resulting order is tracked differently](https://help.littledata.io/sources/shopify/tracking-subscription-orders-in-the-shopify-checkout).

### Checkout events and triggers

The checkout journey starts when a shopper clicks the checkout button and Shopify creates a checkout for their cart. Littledata then sends these GA4 events:

| Step     | GA4 event name      | Shopper action            | When Littledata sends it                            |
| -------- | ------------------- | ------------------------- | --------------------------------------------------- |
| 1        | `begin_checkout`    | Starts the checkout       | A checkout is created in Shopify for the cart       |
| 2        | `add_shipping_info` | Chooses a shipping method | The checkout has a shipping method (shipping lines) |
| 3        | `add_payment_info`  | Chooses a payment method  | The checkout has a payment gateway                  |
| Purchase | `purchase`          | Completes the order       | The order is created in Shopify                     |

Each step is sent once per checkout. If a checkout jumps ahead (for example, straight to payment), Littledata also sends the earlier steps that were skipped, so your funnel stays complete.

See the full list of [events Littledata supports](https://help.littledata.io/advanced/developer/gtm-and-google-analytics-data-layer-for-shopify) in its GTM and Google Analytics data layer.

#### Accelerated checkouts

Littledata tracks purchases from accelerated checkouts like Shop Pay and sends them to your destinations.

These checkouts skip parts of the standard checkout, so you may see fewer checkout step events for them.

### How the report looks in GA4

After you install Littledata, data shows up in the GA4 [Checkout journey report](https://support.google.com/analytics/answer/14000977) with your checkout steps:

![Screengrab of the Checkout Journey UI in Google Analytics.](https://3956158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QhTbrMraNWciQeDvu1b%2Fuploads%2Fgit-blob-d17f79770afd5bdca91183bf416ea92f1d0212c3%2Fscreenshot-2023-10-10-at-20.31.20.png?alt=media\&token=325f29ea-ceb1-4e29-94f4-4772223647a5)

### Build a custom checkout funnel in GA4

You can't edit the Checkout journey report. But you can rebuild it as a funnel exploration with the checkout events Littledata sends, and then customize it.

{% stepper %}
{% step %}

### Create a funnel exploration

In GA4, go to **Explore** and start a new exploration. Under **Technique**, select **Funnel exploration**. Name the exploration, for example **Checkout funnel**.
{% endstep %}

{% step %}

### Edit the funnel steps

In the **Steps** section, click the pencil icon to edit your funnel steps.
{% endstep %}

{% step %}

### Add the first step

Name the step **Contact information**. Add a condition and search for the `begin_checkout` event.

![](https://3956158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QhTbrMraNWciQeDvu1b%2Fuploads%2Fgit-blob-5f652e5cc2b265c176d2a6ecb38633c77f47764b%2Fscreenshot-2023-01-12-at-14.03.08.png?alt=media\&token=956418fe-7d61-4a57-afa6-fb52c340a51a)
{% endstep %}

{% step %}

### Add the shipping and payment steps

Click **Add step** and name it **Shipping info**. Select the `add_shipping_info` event.

Click **Add step** again, name it **Payment info**, and select the `add_payment_info` event.
{% endstep %}

{% step %}

### Add the purchase step

Click **Add step**, name it **Purchase**, and search for **purchase**. Pick the event called exactly `purchase`, not similar events like `in_app_purchase`.

![](https://3956158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QhTbrMraNWciQeDvu1b%2Fuploads%2Fgit-blob-1122431f2ddea4c4709c7a8aea9e6bb9b31bcb29%2Fscreenshot-2023-01-12-at-14.04.22.png?alt=media\&token=2d1fcf79-ca22-420e-9119-8a531e5adf4d)
{% endstep %}

{% step %}

### Apply and review

Click **Apply**. You now have a checkout funnel that shows how many shoppers reach each step, and where they drop off.

![](https://3956158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QhTbrMraNWciQeDvu1b%2Fuploads%2Fgit-blob-3aedd3f0f571c1d482c746aa95760d251e2ada91%2Fscreenshot-2023-01-12-at-14.04.44.png?alt=media\&token=8cfa0b4c-c3b4-4a4a-98aa-6ead97c00d11)
{% endstep %}
{% endstepper %}

### Related articles

* [Tracking the Shopify checkout](https://help.littledata.io/sources/shopify/shopify-checkout-extensibility)
* [How it works: Shopify to Google Analytics](https://help.littledata.io/integrations/shopify-to-google-analytics/how-it-works-shopify-to-ga4)
* [Tracking subscription orders in the Shopify checkout](https://help.littledata.io/sources/shopify/tracking-subscription-orders-in-the-shopify-checkout)
* [Tracking post-purchase upsells on Shopify](https://help.littledata.io/sources/shopify/tracking-post-purchase-upsells-in-the-shopify-checkout)
