ÃÛ¶¹ÊÓÆµ

Shared metrics & dimensions overview

Shared metrics & dimensions provide a central location to manage dimensions and metrics that can be used across any number of data views. These components are especially valuable to organizations that use multiple data views, especially if those data views share common component settings. Changes made to shared metrics and dimensions instantly apply across every data view that it is shared to. When editing an individual data view, shared dimensions and metrics can be identified by a Shared component icon icon next to the component name.

While shared dimensions and metrics allow common components to be used across many data views, they cannot be shared across connections.

Workflow

Most organizations use the following overarching workflow to deduplicate and maintain dimensions and metrics over time:

  1. Import components from each data view that might be shared across multiple data views. If the same dimension or metric exists in multiple data views, ÃÛ¶¹ÊÓÆµ recommends importing all instances of that component. While this best practice imports duplicates, they are imported so that they can be deduplicated and retain their respective references to Workspace projects.
  2. Review all components that use the same component ID but have different component settings. For each group of duplicate components, select the desired component settings to be applied to all other components that share that component ID.
  3. Review all components that use the same component ID and also have the same component settings. These dimensions or metrics can easily and safely be merged.

Shared Metrics & Dimensions manager

Customer Journey Analytics > Data views > Shared Metrics & Dimensions

Navigating to this UI shows all current dimensions and metrics that are available to be shared across multiple data views. The top right contains two buttons to add components to this interface:

  • Import: Opens a modal window that lets you select a data view, then lets you select components to make available for sharing.
  • Create new: Opens the Shared component editor.

Directly below these two buttons, four overview cards are visible:

Overview cards preview

  • Metrics: The total number of metrics available to share across data views for this connection. Each connection can contain up to 10,000 shared metrics.
  • Dimensions: The total number of dimensions available to share across data views for this connection. Each connection can contain up to 10,000 shared dimensions.
  • Duplicate components to review: When importing components across multiple data views, some dimensions or metrics might share the same component ID. The number in this overview card shows the total number of components that have the same component ID but different component settings. Selecting Review enables a filter that allows you to select the desired component to act as a source of truth for all other components with the same ID.
  • Components available to merge: If a dimension or metric shares the same component ID and the same component settings, then they are effectively identical and are ready to deduplicate. Selecting Review enables a filter that allows you to merge all components with the same component ID into a single shared dimension or metric.

All shared dimensions and metrics are displayed below the four overview cards.

Available dimensions and metrics preview

  • Filter: Select the Filter icon icon to show or hide available filters. The following filters are available:

    • Component type: View only dimensions or only metrics.
    • Dataset: View only components where the dataset is included in the data views that a component is shared to.
    • Data view: View only components shared to that data view.
    • Created by: View only components created by a given user.
    • Duplicates: View only components that have the same component ID as another component. These filters are identical to reviewing components through the overview cards.
  • Search: Use the Search icon icon to search for a component by name.

  • Connection: A dropdown that changes the connection. Shared dimensions and metrics are always specific to a single connection.

  • Customize table: Select the Customize table icon icon to show or hide columns in the table. Available options include:

    • Field name: The name of the shared dimension or metric. This field is always visible.
    • Type: Indicates if the component is a dimension or a metric. This field is always visible.
    • Dataset type: The type of dataset. Most datasets are event datasets.
    • Shared to data view: All data views that this component is shared to. This field is always visible. Select the link to open a modal that lists all data views that this component is available in.
    • Datasets: All datasets that are included in each data view that this component is shared to. Select the link to open a modal that lists all datasets for the component.
    • Created by: The name of the individual who created or imported the component into the shared metrics & dimensions interface.
    • Schema type: The format that data is stored in. Examples include string, double, or boolean.
    • Component ID: The component ID of the dimension or metric. Any components that share the same component ID in this interface must be reviewed and deduplicated.
    • Schema: The schema path for the dimension or metric. For example, web.webPageDetails.URL.
    • Description: The description of the component.
    • Context labels: The context labels for the component.
    • Include/Exclude values: Lists the number of rules as specified under Include/exclude values.
    • Data usage labels: The data usage labels for the schema field.
    • Deprecated: Indicates if the deprecated flag is set.
    • Format: The format that values appear in. Booleans typically appear as True | False, metrics typically appear as Decimal, etc.
    • Metric deduplication: The component’s Metric deduplication settings.
    • Behavior: The component’s Behavior settings.
    • Attribution: The component’s Attribution settings.
    • No value option: The component’s No value options.
    • Value bucketing: The component’s Value bucketing settings.
    • Persistence: The component’s Persistence settings.
    • Lowercase: Indicates if the component is lowercase enabled based on the component’s Behavior settings.
    • Substring: The component’s Substring settings.
    • Summary data group: The component’s Summary data group settings.
    • Date created: The date that the component was created or imported.
    • Last modified: If the component has been modified after it was created, the date that it was last modified.
  • Job history: Select the History icon icon to open a modal window that shows all instances of importing dimensions and metrics from individual data views.

Edit components or share components to data views

Use the check box next to a component to reveal all available actions that you can take. Multiple selections are supported.

Preview of available actions

  • Pencil icon Edit: Open the selected dimensions and metrics in the shared component editor, which lets you adjust their component settings. When you select multiple components to edit, they are all opened in the component editor. You can shift + click components in the component editor to edit the same field for multiple components.
  • Share icon Share to data view(s): Opens a window that shows all data views available within the selected connection. Select the check box for each data view that you want to make this component available in, then select Share.
  • Unshare icon Unshare from data view(s): Opens a window that shows all data views that this component is currently shared with. Select the check box for each data view that you want to remove this component’s availability from, then select Unshare.
  • Duplicate icon Duplicate: Creates a copy of the selected component(s). A new component ID is generated for duplicated components.
  • Delete icon Delete: Removes the selected components from the interface. If the selected components are shared with any data views, they are unshared.
recommendation-more-help
080e5213-7aa2-40d6-9dba-18945e892f79