danger

You are viewing documentation for an older version.

Click here to view the latest documentation.

ID Types

Learn about the Entity ID types in your Profiles project.

You can use id_types to list the type of identifiers used in an ID stitcher. You can also use this parameter for creating entity_var and input_var.

id_types:
    - name: id_type_name
      filters:
          - type: include/exclude
            value: "value"
          - type: include/exclude
            regex: "regex expression"
FieldDescription
name
Required
Name of the ID type.
filtersFilter(s) the ID types to include/exclude specific values. The filters are processed in the listed order.
typeFilter type - accepted values are include or exclude.
valueSpecify the value that should be matched exactly.
regexRegular expression to match.

Example

entities:
    - name: user
      id_column_name: user_rud_id
      id_types:
          - user_id
          - anonymous_id
          - email
id_types:
    - name: user_id
    - name: anonymous_id
      extends: user_id
      filters:
          - type: exclude
            value: "unknown"
          - type: exclude
            value: "NaN"
    - name: email
      filters:
          - type: include
            regex: "[A-Za-z0-9+_.-]+@(.+)"

Questions? Contact us by email or on Slack