---
title: "Get UTM source statistics"
method: GET
path: "/dashboard/utm-source-statistics"
tags: ["Dashboard"]
---

# Get UTM source statistics

`GET /dashboard/utm-source-statistics`

Returns `utmSourceByCountry` (orders per country × normalized utmSource), `utmSourceRatio` (share of orders per source — all sources, sorted by count), and `utmSourceBySource` (sales count, net revenue GBP, AOV, multi-document metrics per source). Respects the same date range and excluded order statuses as other dashboard order reports.

## Query parameters

- `startDate` string
- `endDate` string
- `utmSource` string

## Response `200`

UTM source statistics retrieved successfully

- UtmSourceStatisticsResponseDto
  - `utmSourceByCountry` UtmSourceByCountryRowDto[], required
    - `countryId` number, required
    - `countryName` string, required
    - `utmSource` string, required — Normalized UTM source label
    - `orderCount` number, required
  - `utmSourceRatio` UtmSourceRatioDto, required
    - `totalOrders` number, required — Total valid orders in range (denominator for ratio). One row per distinct utmSource, sorted by order count descending.
    - `data` UtmSourceRatioItemDto[], required
      - `utmSource` string, required
      - `orderCount` number, required
      - `ratio` number, required — Share of all valid orders in the range (percent, 2 decimals)
  - `utmSourceBySource` UtmSourceBySourceDto, required
    - `data` UtmSourceBySourceItemDto[], required
      - `utmSource` string, required
      - `salesCount` number, required
      - `totalRevenueGBP` number, required
      - `avgOrderValue` number, required
      - `multiDocumentSales` number, required
      - `multiDocumentRatio` number, required

---

[API](https://skmtc.dev/findmydocument/apis/land-registry-api.md) · [All operations](https://skmtc.dev/findmydocument/apis/land-registry-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/findmydocument/land-registry-api/revisions/b55a990514fb/schema)
