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.
When you define an ID stitcher model in profiles.yaml, you must also reference it from the corresponding entity in pb_project.yaml.
Set id_stitcher: models/<model_name> on the entity (for example, id_stitcher: models/user_id_stitcher for the user entity). If this is missing, the intended ID stitcher is not used and you may get unintended results.
Model type - set this parameter to id_stitcher to implement an ID stitcher.
model_spec
Defines the model configuration.
entity_key
Specifies the entity to stitch.
run_type
Run type - set this parameter to discrete or incremental. (Default is incremental).
incremental_timedelta
In incremental ID stitching, only events from the last run are typically processed to update the ID graph. However, since events can arrive in the warehouse with delays, this parameter adds a buffer period to ensure completeness. The ID stitcher will process events starting from incremental_timedelta before the last run timestamp, creating an overlap window to capture any delayed events. Default value: 4 days (96 hours).
Two optional model spec flags control metadata logging for nodes and direct edges in the resulting Identity Graph. Both flags are supported for Snowflake and BigQuery.
Flag
Default value
Description
log_direct_edge_info
false
Populates direct_edge_info.edges_by_type on the per-row METADATA column with connected node IDs, their first_seen_at timestamps, and a per-source provenance array.
log_node_metadata
false
Populates node_info on the per-row METADATA column with one entry per input model that contributed the node.
For the metadata column structure, per-source contract, and incremental-run behavior, see Metadata and observability.
When cardinality rules are enabled on the entity, the metadata column also carries cardinality_info on capped edges, and the <material>_<entity>_CARDINALITY_AUDIT table records every dropped edge along with the input model that contributed it.
Questions? We're here to help.
Join the RudderStack Slack community or email us for support
This site uses cookies to improve your experience while you navigate through the website. Out of
these
cookies, the cookies that are categorized as necessary are stored on your browser as they are as
essential
for the working of basic functionalities of the website. We also use third-party cookies that
help
us
analyze and understand how you use this website. These cookies will be stored in your browser
only
with
your
consent. You also have the option to opt-out of these cookies. But opting out of some of these
cookies
may
have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This
category only includes cookies that ensures basic functionalities and security
features of the website. These cookies do not store any personal information.
This site uses cookies to improve your experience. If you want to
learn more about cookies and why we use them, visit our cookie
policy. We'll assume you're ok with this, but you can opt-out if you wish Cookie Settings.