Statistics API

Per Liveblog Statistics APIs

Overview

Request: GET /api/analytics/v7/liveblog/{id}/dashboard/{date}.json

Path Parameters:

  • {id}: The liveblog read ID
  • {date}: The timeframe to look at. Can be a year (2024), a month (2024-11), a day (2024-11-20) or all

Optional Query Parameters:

  • tz: The timezone to use. Can be any valid java timezone name (example tz=Europe/Berlin). Default: UTC
  • origin: Filters the data by origin (example origin=www.tickaroo.com)

Returns: ApiV7LiveblogDashboard

Typescript Definition:

export interface AggregatedStatsFacet {
  // ID of this facet (e.g. device type, date, country)
  id: string
  // Unique Users if available
  uniques: number;
  // Deprecated, do not use
  views: number;
  // Equivalent to "PageViews", Counts initial loads, clicks on load more
  tickerLoads: number;
  // Number of page views, that had unique user tracking enabled
  tickerLoadsWithUniques: number;
  // Number of page views, that had retention tracking enabled
  tickerLoadsWithRetention: number;
  // Total retention time in milliseconds
  retentionMs: number;
}

export interface AggregatedStatsData {
  // Unique Users if available
  uniques: number;
  // Deprecated, do not use
  views: number;
  // Equivalent to "PageViews", Counts initial loads, clicks on load more
  tickerLoads: number;
  // Number of page views, that had unique user tracking enabled
  tickerLoadsWithUniques: number;
  // Number of page views, that had retention tracking enabled
  tickerLoadsWithRetention: number;
  // Total retention time in milliseconds
  retentionMs: number;
  // Unique users that had retention tracking enabled
  retentionUniques: number;
  // Data broken down by countries if available
  country?: AggregatedStatsFacet[]
  // Data broken down by device type if available
  device?: AggregatedStatsFacet[]
  // Data broken down by weekdays and hours if available
  weeklyHours?: (AggregatedStatsFacet|null)[]
  // PageViews per widget type
  widgetType: Record<string, number|undefined>;
  // PageViews per traffic source (keys: TrafficSource ids), from 2026-01-01 on (see "Traffic Sources")
  tickerLoadsBySource?: Record<string, number|undefined>;
}

// Keys of tickerLoadsBySource. Stable ids; new ids may be added. A key appears only when it has page views.
export type TrafficSource =
  | "NEWSLETTER"      // Newsletter & email
  | "PUSH"            // Push notifications
  | "AI_ASSISTANT"    // AI assistants
  | "SOCIAL"          // Social networks and messengers
  | "AGGREGATOR"      // News apps & aggregators
  | "SEARCH"          // Google and other search engines (incl. Discover)
  | "PAID"            // Paid (ad click ids, paid mediums)
  | "OWN_HOMEPAGE"    // Own site: homepage
  | "OWN_OTHER"       // Own site: other pages
  | "OTHER_WEBSITE"   // Other websites
  | "OTHER_CAMPAIGN"  // Tagged links matching no other source, without a referring site
  | "APP"             // In an app, no source passed on
  | "DIRECT"          // Direct or unknown

export interface ApiV7LiveblogDashboard {
  // The Timezone the response uses
  tz: string
  // Aggregated Data for the specified date
  aggregated: AggregatedStatsData
  // Data by origin or, if origin is given, data by url on origin
  aggregatedOrigins: AggregatedStatsFacet[]
  // Data broken down by the next lower time frame (example: date=2024, periodData contains data per month) 
  periodData: AggregatedStatsFacet[]
}

Traffic sources

tickerLoadsBySource counts the page views of the full liveblog embed (tik4) per traffic source. For periods from 2026-01-01 on, the counts add up to tickerLoads, except for the rare page views of older widget versions, which have no source. Page views before 2026-01-01 have no source: periods before that date have no tickerLoadsBySource, and for date=all the counts cover only the page views from 2026 on, so they add up to less than tickerLoads for a liveblog with earlier traffic. How a page view is assigned to a source is described in Traffic Sources.