> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pagamerican.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Sales Funnel overview

> Offer upsells and downsells right after a purchase, accepted with one click and shipped in the same order.

The Sales Funnel shows the buyer one or more extra offers right after they pay at checkout. The buyer accepts with one click, without typing their card again, and everything they buy ships in the same order as the main purchase.

You build the funnel in the dashboard and host each offer page on your own domain. One script connects those pages to the platform, which charges the buyer and moves them to the next step.

## How a funnel flows

```mermaid theme={null}
flowchart LR
  A[Checkout purchase] --> B[Upsell]
  B -->|Accept| D[Thank-you page]
  B -->|Decline| C[Downsell]
  C -->|Accept or decline| D
```

* **Upsell:** the first offer, shown right after the checkout purchase is approved.
* **Downsell:** a second chance, usually a smaller or cheaper offer, shown when the buyer declines the upsell.
* **Thank-you page:** where the funnel ends.

Accepting a step charges the card the buyer used at checkout and takes them to the next step. Declining takes them to the next step without a charge. A funnel can have more steps than this example, and a Traffic Split step can send buyers down different paths to compare offers.

Every purchase the buyer accepts joins the order of the checkout purchase, so the supplier ships the whole order together. See [Orders and fulfillment](https://docs.pagamerican.app/sales-funnel/how-it-works.md#orders-and-fulfillment).

## Which setup is yours

The funnel works the same way for the buyer in both setups. What changes is what each step sells and what starts the funnel.

| | Your own checkout | Shopify store |
| - | - | - |
| **Who it is for** | You sell offers you created in **Products** | Your store is connected to Shopify and buyers pay for their cart on the PagAmerican checkout |
| **What each step sells** | An offer | Products from your Shopify catalog, with the variants you choose |
| **What starts the funnel** | Attaching it to the offer the buyer pays for | Publishing it to your store, where it runs after every paid cart |
| **What goes on your pages** | The script and two attributes on your buttons | The script and one offer tag per product |

## Before you start

### Your own checkout

* **An offer for the main purchase**, created in **Products**. This is the offer the funnel is attached to.
* **An offer for each upsell and downsell.** Each step sells its own offer.
* **Your upsell and downsell pages**, published on your own domain.
* **A payment that can be charged again.** The funnel runs after card purchases and most digital wallet purchases. When the payment cannot be charged again with one click, the buyer goes straight to your product's thank-you page instead.

### Shopify store

* **Your store connected, with its products imported.** See [Shopify](https://docs.pagamerican.app/integrations/shopify.md).
* **Your upsell and downsell pages**, published on your own domain.
* **A payment that can be charged again.** The same rule as above: when the payment cannot be charged again with one click, the buyer goes straight to the thank-you page.

## Set it up

> [card] [Build your funnel](https://docs.pagamerican.app/sales-funnel/build-your-funnel.md)
>
> Create the funnel, add its steps, publish it and attach it to your offer.

> [card] [Connect your pages](https://docs.pagamerican.app/sales-funnel/connect-your-pages.md)
>
> Add the script and the button attributes to your upsell and downsell pages.

> [card] [Build your store funnel](https://docs.pagamerican.app/sales-funnel/build-your-store-funnel.md)
>
> For a Shopify store: add products to the steps and publish the funnel to your store.

> [card] [Connect your store pages](https://docs.pagamerican.app/sales-funnel/connect-your-store-pages.md)
>
> For a Shopify store: add the script and the offer tag to your pages.

> [card] [How it works](https://docs.pagamerican.app/sales-funnel/how-it-works.md)
>
> What the buyer sees, how funnel purchases are charged and how they reach the order.

> [card] [Troubleshooting and FAQ](https://docs.pagamerican.app/sales-funnel/troubleshooting-and-faq.md)
>
> Messages the buyer may see and answers to frequent questions.

> [card] [Ship funnel purchases with a supplier](https://docs.pagamerican.app/suppliers/overview.md)
>
> Funnel purchases travel with the main purchase to the supplier of the main product.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.