---
title: "Prelanding split stats"
method: GET
path: "/api/prelanding/stats"
tags: ["prelanding"]
---

# Prelanding split stats

`GET /api/prelanding/stats`

Unique-session views, clicks and conversion per destination and source.

## Query parameters

- `day` string, date, nullable — Filter to a single day (YYYY-MM-DD); omit for lifetime stats.

## Response `200`

Successful Response

- PrelandingStatsResponse — Prelanding stats response model.
  - `day` string, date, nullable — Day filter applied, None for lifetime stats
  - `destinations` PrelandingDestinationStatsRow[], required — Stats per destination code
    - `code` string, required — Destination code, or 'direct' for landing traffic without a prelanding
    - `url` string, nullable — Destination URL, None when the destination row was deleted
    - `active` boolean, nullable — Whether the destination is active, None when deleted
    - `views` integer, required — Unique sessions landed on the prelanding
    - `clicks` integer, required — Unique sessions that clicked through to the landing
    - `conversion_percent` number, required — clicks / views percentage, 0 when no views
    - `landing_views` integer, required — Unique sessions landed on the landing page
    - `store_clicks` integer, required — Unique sessions that clicked a store button on the landing
    - `store_conversion_percent` number, required — store_clicks / landing_views percentage, 0 when no landing views
    - `by_source` PrelandingSourceStatsRow[], required — Breakdown per traffic source
      - `source` 'meta' | 'google' | 'other', required — Traffic source classification for prelanding events.
      - `views` integer, required — Unique sessions landed on the prelanding
      - `clicks` integer, required — Unique sessions that clicked through to the landing
      - `conversion_percent` number, required — clicks / views percentage, 0 when no views
      - `landing_views` integer, required — Unique sessions landed on the landing page
      - `store_clicks` integer, required — Unique sessions that clicked a store button on the landing
      - `store_conversion_percent` number, required — store_clicks / landing_views percentage, 0 when no landing views

## Other responses

- `422` — Validation Error

---

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