Version:

ID Stitcher

Learn about the ID stitcher model in Profiles.

The ID stitcher model maps and unifies all the specified identifiers across inputs. It tracks the user journey uniquely across all the data sources and stitches them together to a rudder_id.

You can define an ID stitcher in the pb_project.yaml file:

models:
    - name: model_name
      model_type: `id_stitcher`
      model_spec:
          entity_key: entity_name
          materialization:
              run_type: discrete/incremental
          incremental_timedelta: 12h
          edge_sources:
              - from: path/to_inputs_table
              - from: path/to_inputs_table
FieldDescription
nameModel name.
model_typeModel type - set this parameter to id_stitcher to implement an ID stitcher.
model_specDefines the model configuration.
entity_keySpecifies the entity to stitch.
run_typeRun type - set this parameter to discrete or incremental (default).
incremental_timedeltaSets the time lack when run_type is set to incremental.
edge_sourcesList of inputs from inputs.yaml and sql-models.yaml used for identity stitching.

Example

models:
    - name: user_id_stitcher
      model_type: id_stitcher
      model_spec:
          entity_key: user
          materialization:
              run_type: incremental
          incremental_timedelta: 12h
          edge_sources:
              - from: inputs/rsIdentifies
              - from: inputs/rsTracks

Questions? Contact us by email or on Slack