PostHog · Schema

TaggerCondition

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
id string Stable identifier for this condition
rollout_percentage integer Percentage of matching events to apply this condition to
properties array Property filters that scope when this condition fires
View JSON Schema on GitHub

JSON Schema

posthog-taggercondition-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TaggerCondition",
  "title": "TaggerCondition",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Stable identifier for this condition",
      "maxLength": 100
    },
    "rollout_percentage": {
      "type": "integer",
      "maximum": 100,
      "minimum": 0,
      "default": 100,
      "description": "Percentage of matching events to apply this condition to"
    },
    "properties": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      },
      "description": "Property filters that scope when this condition fires"
    }
  },
  "required": [
    "id"
  ]
}