Analytics V2
Get listing view/conversion analytics
Changed onGet per-listing view → conversion analytics for a shop.
Combines view tracking (listing_views_v2), cart adds (cart_items_v2), and order linkage (order_market_items_v2 → orders) to produce a funnel per listing: views → unique viewers → cart adds → orders → sales, plus a conversion rate (sales ÷ views). Listings are ranked by views descending.
Views are counted from when frontend view tracking began; anonymous views are included in views but not unique_viewers. "Sales" are orders with status 'fulfilled'.
get/analytics/listing-stats
Request
- Base URL: /api/v2 (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/v2/analytics/listing-stats
- Auth: none required
Query parameters
shop_idstring
Shop ID to get per-listing stats for
limitnumber double
Maximum number of listings to return (default 20, max 100)
Response
Per-listing view/conversion metrics with shop-level totals
Changes
- ○
endpoint added
- ○