Google Analytics · Schema

SegmentFilterClause

Filter Clause to be used in a segment definition, can be wither a metric or a dimension filter.

AnalyticsDataGoogleMetricsReportingWeb AnalyticsMachine LearningAttribution

Properties

Name Type Description
dimensionFilter object Dimension Filter for the segment definition.
metricFilter object Metric Filter for the segment definition.
not boolean Matches the complement (`!`) of the filter.
View JSON Schema on GitHub

JSON Schema

google-analytics-segmentfilterclause-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SegmentFilterClause",
  "title": "SegmentFilterClause",
  "description": "Filter Clause to be used in a segment definition, can be wither a metric or a dimension filter.",
  "properties": {
    "dimensionFilter": {
      "$ref": "#/components/schemas/SegmentDimensionFilter",
      "description": "Dimension Filter for the segment definition."
    },
    "metricFilter": {
      "$ref": "#/components/schemas/SegmentMetricFilter",
      "description": "Metric Filter for the segment definition."
    },
    "not": {
      "description": "Matches the complement (`!`) of the filter.",
      "type": "boolean"
    }
  },
  "type": "object"
}