---
title: "One goal's conversions by source, page, country or technology"
method: GET
path: "/projects/{project_id}/analytics/goals/{goal_id}/breakdown"
tags: ["Conversions"]
---

# One goal's conversions by source, page, country or technology

`GET /projects/{project_id}/analytics/goals/{goal_id}/breakdown`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/projects/{project_id}/analytics/goals/{goal_id}/breakdown`
- Auth: HTTP bearer

## Path parameters

- `project_id` integer, required
- `goal_id` integer, required

## Query parameters

- `dimension` 'channel' | 'referrer' | 'utm_source' | 'utm_medium' | 'utm_campaign' | 'page' | 'country' | 'device_type' | 'browser' | 'operating_system', required: What a goal breakdown groups converting visitors by.
- `start_date` string, date-time, required
- `end_date` string, date-time, required
- `environment_id` integer, nullable
- `limit` integer, nullable

## Response `200`

Breakdown

- AnalyticsGoalBreakdownResponse: Response of `GET /projects/{project_id}/analytics/goals/{goal_id}/breakdown`.
  - `dimension` 'channel' | 'referrer' | 'utm_source' | 'utm_medium' | 'utm_campaign' | 'page' | 'country' | 'device_type' | 'browser' | 'operating_system', required: What a goal breakdown groups converting visitors by.
  - `goal_id` integer, required
  - `items` AnalyticsGoalBreakdownRow[], required: Ordered by unique conversions, then total conversions.
    - `conversion_rate` number, double, required: `unique_conversions` as a percentage of `visitors`.
    - `revenue` AnalyticsGoalRevenue, nullable: Revenue a goal's conversions carried.
      - `average` number, double, required: `total` divided by the conversions that carried a number.
      - `currency` string, required
      - `total` number, double, required: Sum of the revenue property over conversions that carried a number.
    - `total_conversions` integer, required
    - `unique_conversions` integer, required
    - `value` string, nullable: `null` when the visitor or event has no value for the dimension.
    - `visitors` integer, required: Distinct non-crawler visitors with that value in the period.

## Other responses

- `400`: Invalid period or limit
- `401`: Unauthorized
- `403`: Insufficient permissions
- `404`: Goal not found
- `500`: Internal server error

## Changes

- **2026-11-20** `1a920722ba7e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/projects/:project_id/analytics/goals/:goal_id/breakdown/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
