PostHog · Schema

Goal

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
name string Goal name (action name).
conversions integer Total conversions in the period.
change object Period-over-period change in conversions, null when not meaningful.
View JSON Schema on GitHub

JSON Schema

posthog-goal-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Goal",
  "title": "Goal",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Goal name (action name)."
    },
    "conversions": {
      "type": "integer",
      "description": "Total conversions in the period."
    },
    "change": {
      "allOf": [
        {
          "$ref": "#/components/schemas/WoWChange"
        }
      ],
      "nullable": true,
      "description": "Period-over-period change in conversions, null when not meaningful."
    }
  },
  "required": [
    "change",
    "conversions",
    "name"
  ]
}