PostHog · Schema

WeeklyDigestResponse

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
visitors object Unique visitors.
pageviews object Total pageviews.
sessions object Total sessions.
bounce_rate object Bounce rate (0–100).
avg_session_duration object Average session duration.
top_pages array Top 5 pages by unique visitors.
top_sources array Top 5 traffic sources by unique visitors.
goals array Goal conversions.
dashboard_url string Link to the Web analytics dashboard for this project.
View JSON Schema on GitHub

JSON Schema

posthog-weeklydigestresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/WeeklyDigestResponse",
  "title": "WeeklyDigestResponse",
  "type": "object",
  "properties": {
    "visitors": {
      "allOf": [
        {
          "$ref": "#/components/schemas/NumericMetric"
        }
      ],
      "description": "Unique visitors."
    },
    "pageviews": {
      "allOf": [
        {
          "$ref": "#/components/schemas/NumericMetric"
        }
      ],
      "description": "Total pageviews."
    },
    "sessions": {
      "allOf": [
        {
          "$ref": "#/components/schemas/NumericMetric"
        }
      ],
      "description": "Total sessions."
    },
    "bounce_rate": {
      "allOf": [
        {
          "$ref": "#/components/schemas/NumericMetric"
        }
      ],
      "description": "Bounce rate (0\u2013100)."
    },
    "avg_session_duration": {
      "allOf": [
        {
          "$ref": "#/components/schemas/DurationMetric"
        }
      ],
      "description": "Average session duration."
    },
    "top_pages": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/TopPage"
      },
      "description": "Top 5 pages by unique visitors."
    },
    "top_sources": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/TopSource"
      },
      "description": "Top 5 traffic sources by unique visitors."
    },
    "goals": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Goal"
      },
      "description": "Goal conversions."
    },
    "dashboard_url": {
      "type": "string",
      "format": "uri",
      "description": "Link to the Web analytics dashboard for this project."
    }
  },
  "required": [
    "avg_session_duration",
    "bounce_rate",
    "dashboard_url",
    "goals",
    "pageviews",
    "sessions",
    "top_pages",
    "top_sources",
    "visitors"
  ]
}