Get product performance summary

Use the productPerformanceSummary query to retrieve aggregated KPI metrics for the entire subscription — total revenue, purchases, views, and cart abandonment, plus trends.

query ProductPerformanceSummary {
  productPerformanceSummary {
    metrics {
      totalObservedRevenue
      totalObservedPurchases
      totalProductViews
      totalCartAbandonment
    }
    trends {
      totalObservedRevenue
      totalObservedPurchases
      totalProductViews
      totalCartAbandonment
    }
  }
}

Date ranges

Date range inputs are optional. If omitted, the query defaults to the last 30 days.

Validation rules:

  • Start must be on or before end
  • No future dates
  • Max range: 60 days, matching the Connect UI
  • Start and end must be supplied together

The Connect UI splits the 60-day window into two parts: days 1–30 are the current performance period, and days 31–60 are the comparison baseline used to calculate trend percentages. To get results that match what users see in the UI, use the same 60-day window.

Authentication

This API uses API Key authentication. See Using the Connect API for instructions on how to get and use your API key.