PhoenixKitWebAnalytics.Schemas.DailyDim (PhoenixKitWebAnalytics v0.5.0)

Copy Markdown View Source

One day of one breakdown value per site — "/pricing had 812 views from 640 visitors on 2026-09-30", "Google sent 212 views".

Written by PhoenixKitWebAnalytics.Retention for finished days, read by PhoenixKitWebAnalytics.Reports, so a breakdown over a month reads a few thousand rows instead of every raw event. Like DailyStat, the visitors of different days add up exactly, because the visitor ID changes daily.

dimension is one of PhoenixKitWebAnalytics.Dimensions.names/0. detail is a second key where the value alone isn't enough (an interaction's target); it is "" otherwise. For the page dimension the engagement columns carry that page's exits, time on page, scroll depth and server response times.

Summary

Types

t()

@type t() :: %PhoenixKitWebAnalytics.Schemas.DailyDim{
  __meta__: term(),
  date: term(),
  detail: term(),
  dimension: term(),
  duration_count: term(),
  duration_max: term(),
  duration_ms_sum: term(),
  engaged_count: term(),
  engaged_ms_sum: term(),
  exit_visitors: term(),
  exits: term(),
  hits: term(),
  inserted_at: term(),
  scroll_count: term(),
  scroll_sum: term(),
  site: term(),
  uuid: term(),
  value: term(),
  visitors: term()
}