Enable OmniAnalytics and Store Tracking Data

To enable OmniAnalytics, configure settings that determine whether OmniAnalytics is enabled and whether OmniAnalytics data is stored in OmniTrackingEvent platform events, Decision Explainer Service stores, or both.

  1. Go to Setup.
    • In Lightning Experience, click the gear icon, Setup menu icon, and select Setup.

    • In Salesforce Classic, click the user menu and select Setup.

  2. From Setup, in the Quick Find box, enter omni.
  3. Expand OmniAnalytics and click Settings.
  4. Select Enabled or Disabled for each setting.

    To follow the examples in the workflow, enable Omnistudio Analytics and Enable Event Internal Writes. You can either enable or disable Enable Event Notifications.

    Name

    Default Value

    Description

    Omnistudio Analytics

    Disabled

    If enabled, OmniAnalytics can track user interaction data for Omniscripts and Flexcards.

    Enable Event Notifications

    Disabled

    If enabled, tracking data is published to OmniTrackingEvent standard platform events.

    Enable Event Internal Writes

    Disabled

    If enabled, tracking data is logged in Decision Explainer Service (DES) stores.

    OmniAnalytics automatically creates DES Business Process Types — their names begin with OA_. You can't edit or delete DES data, but you can retrieve it by using Decision Explainer Business APIs.

    Note
    Note

    To ensure that data for Tracking Groups with a Type of Internal is saved, set Enable Event Internal Writes to true. For Tracking Groups with a Type of External, if you don't need to save data to Salesforce, you can set Enable Event Internal Writes, Enable Event Notifications, or both to false. See Create a Tracking Group and Add Components to Track.

After you have enabled OmniAnalytics, see the Configure Internal OmniAnalytics.