scope property

String? scope
getter/setter pair

Scope for a metric defines the level at which that metric is defined.

The specified metric scope must be equal to or greater than its primary scope as defined in the data model. The primary scope is defined by if the segment is selecting users or sessions. Possible string values are:

  • "UNSPECIFIED_SCOPE" : If the scope is unspecified, it defaults to the condition scope, USER or SESSION depending on if the segment is trying to choose users or sessions.
  • "PRODUCT" : Product scope.
  • "HIT" : Hit scope.
  • "SESSION" : Session scope.
  • "USER" : User scope.

Implementation

core.String? scope;