System Analysis guide

Introduction

Core Journey performs analyses of event data. An analysis may apply to past, present, or future events. System analyses are performed automatically by the system. n analysis consists of runtime processes that compute a result and a database relation that persists the result. Once persisted, analysis results can be queried for inspection and reporting.

Note on terminology: Analyses typically apply to aggregations. An aggregation corresponds to a stage in a journey, or a data point in a dataset. For historical reasons, the terms journey and stage are used predominantly in discussions and in schema identifiers associated with aggregations. Accordingly, the terms journey and stage are used to describe aggregations. These terms can be interpreted more generally to refer to a dataset and a data point, respectively.

Core Journey performs the following general-purpose analyses automatically:

  • Aggregation Event Counts
  • Dataset Metadata

Aggregation event counts

Core Journey automatically tracks the number of events in each aggregation. Historically referred to as journey stage counts, this analysis also applies to more general dataset aggregations.

Schema: otec_bd_stagecounts

Field Name Field Type Description
journeyid text Journey (data set) ID. Ensure there are no underscores in field names.
stageid text Stage (data point) ID. Ensure there are no underscores in field names.
stage text Stage (data point) name
ordinal int Stage (data point) order
stagecount counter Stage (data point) event count

Dataset metadata

Core Journey automatically tracks metadata associated with aggregations. This analysis is a specialized case of a value details analysis used to normalize metadata to an auxiliary schema. It allows mutable metadata, such as names or labels, to change upon aggregation reset and avoids potential issues with associated counter tables. The analysis query provides a way to join these details with other aggregation analyses.

Schema: otec_bd_journey_stage_details

Field Name Field Type Description
journey_id text Journey (data set) ID
journey_name text Journey (data set) name
stage_id text Stage (data point) ID
stage_name text Stage (data point) name
stage_ordinal int Stage (data point) order
stage_labels set<text> Stage (data point) labels