---
title: "Product analytics: purchase journey funnel"
method: GET
path: "/admin/analytics/product/purchase-journey"
tags: ["Admin"]
---

# Product analytics: purchase journey funnel

`GET /admin/analytics/product/purchase-journey`

## Request

- Base URL: `https://api.presscart.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.presscart.com/admin/analytics/product/purchase-journey`
- Auth: HTTP bearer

Browse-to-paid funnel (unique persons per ordered step, 7-day window), checkout funnel (1-day window) and checkout payment failures by error code, from PostHog events in this environment.

## Query parameters

- `from` string
- `to` string

## Response `200`

Purchase journey payload (available:false when PostHog is unreachable)

- object
  - `generated_at` string, required
  - `filters` object, required
    - `from` string, required
    - `to` string, required
  - `available` boolean, required
  - `message` string, nullable, required
  - `browse_funnel` object[], required
    - `key` string, required
    - `label` string, required
    - `count` number, required
    - `conversion_from_first` number, required
    - `conversion_from_previous` number, required
  - `checkout_funnel` object[], required
    - `key` string, required
    - `label` string, required
    - `count` number, required
    - `conversion_from_first` number, required
    - `conversion_from_previous` number, required
  - `payment_failures` object[], required
    - `error_code` string, required
    - `count` number, required

---

[API](https://skmtc.dev/presscart/apis/presscart-prod-api.md) · [All operations](https://skmtc.dev/presscart/apis/presscart-prod-api/llms.txt) · [OpenAPI document](https://skmtc.dev/presscart/apis/presscart-prod-api/revisions/2154581d845e?raw)
