---
schema_version: "1"
id: 0c90771c83b3294d4f4ead092303fc12becf59faa94c5236f3cb490e34dc308a
title: Workflow to Configure Internal OmniAnalytics (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_workflow_to_configure_internal_omnianalytics.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_workflow_to_configure_internal_omnianalytics.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 139e6f9dc7e047c8572c910036799d831b943e985f9f52624145683d364e6315
description: For the managed package runtime, Vlocity OmniAnalytics can track user interactions with Omniscripts and Flexcards without the use of a third-party tag manager.
products:
  - Omnistudio
release: "264"
---
# Workflow to Configure Internal OmniAnalytics (Managed Package)

For the managed package runtime, Vlocity OmniAnalytics can track user interactions with Omniscripts and Flexcards without the use of a third-party tag manager.

![Managed Package app icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/resources-global/_corporate/images/managedpackageicon.png) This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see [Omnistudio Help](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_standard.htm&language=en_US).

![example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/images/icon_note.png)

example

Example Omniscript and Flexcard

The tasks in this workflow use two examples throughout:

- An Omniscript that illustrates a simplified purchasing process for one of several smartphones.
- A Flexcard that redirects the user to the Google website.

1. [Enable OmniAnalytics and Store Tracking Data (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_enable_omnianalytics_and_store_tracking_data.htm&release=264.0.0&type=5 "For the managed package runtime, to enable OmniAnalytics, you must first allocate space in the VlocityMetadata partition of the Platform Cache. Then you must configure custom settings that determine whether OmniAnalytics is enabled and whether OmniAnalytics data is stored in VlocityTrackingEntry__c object records, VlocityTrackingEvent__e platform events, or both.").
2. Prepare the Omniscripts and/or Flexcards to be tracked.
3. [Create a Tracking Group and Add Components to Track (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_create_a_tracking_group_and_add_components_to_track.htm&release=264.0.0&type=5 "For the managed package runtime, to specify a group of components to be tracked together, you create a Vlocity Tracking Group and add Omniscript and Flexcard components to it."). Specify the example Omniscript and Card as components to be tracked.
4. [Create a Lightning App Page with a Tracking Manager (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_create_a_lightning_app_page_with_a_tracking_manager.htm&release=264.0.0&type=5 "For the managed package runtime, the Vlocity Tracking Manager is a Lightning Web Component that must be included in any Lightning page that includes components tracked with OmniAnalytics. It listens for user interaction events and sends data for those events to VlocityTrackingEntry__c objects, VlocityTrackingEvent__e Platform Events, or both."). This page includes the example Omniscript and Card and the Vlocity Tracking Manager component.
5. Test the tracking. See [Interact with the Example Omniscript and Card (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_interact_with_the_example_omniscript_and_card.htm&release=264.0.0&type=5 "For the managed package runtime, to generate tracking data, you must interact with the example Omniscript and Flexcard as if you were an end user.").
6. [View the Tracking Data in the Vlocity Tracking Group Page (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_view_the_tracking_data_in_the_vlocity_tracking_group_page.htm&release=264.0.0&type=5 "For the managed package runtime, after you have interacted with the example Omniscript and Flexcard, tabs for these components are added to the Vlocity Tracking Group page. On these tabs, you can generate reports of the interaction data being tracked.").
7. [View the Vlocity Tracking Entry Records (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_view_the_vlocity_tracking_entry_records.htm&release=264.0.0&type=5 "For the managed package runtime, you can view tracking data in Vlocity Tracking Entry records by creating a custom tab, filtering the list of records, then copying the Data field contents into a JSON formatter.").
8. [Create a Report Using Vlocity Tracking Entry Data (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_create_a_report_using_vlocity_tracking_entry_data.htm&release=264.0.0&type=5 "For the managed package runtime, you can create a report of Vlocity Tracking Entry record data and filter it by Vlocity Tracking Group.").

- **[Enable OmniAnalytics and Store Tracking Data (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_enable_omnianalytics_and_store_tracking_data.htm&release=264.0.0&type=5)**  
    For the managed package runtime, to enable OmniAnalytics, you must first allocate space in the VlocityMetadata partition of the Platform Cache. Then you must configure custom settings that determine whether OmniAnalytics is enabled and whether OmniAnalytics data is stored in VlocityTrackingEntry\_\_c object records, VlocityTrackingEvent\_\_e platform events, or both.
- **[Create a Tracking Group and Add Components to Track (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_create_a_tracking_group_and_add_components_to_track.htm&release=264.0.0&type=5)**  
    For the managed package runtime, to specify a group of components to be tracked together, you create a Vlocity Tracking Group and add Omniscript and Flexcard components to it.
- **[Create a Lightning App Page with a Tracking Manager (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_create_a_lightning_app_page_with_a_tracking_manager.htm&release=264.0.0&type=5)**  
    For the managed package runtime, the Vlocity Tracking Manager is a Lightning Web Component that must be included in any Lightning page that includes components tracked with OmniAnalytics. It listens for user interaction events and sends data for those events to VlocityTrackingEntry\_\_c objects, VlocityTrackingEvent\_\_e Platform Events, or both.
- **[Interact with the Example Omniscript and Card (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_interact_with_the_example_omniscript_and_card.htm&release=264.0.0&type=5)**  
    For the managed package runtime, to generate tracking data, you must interact with the example Omniscript and Flexcard as if you were an end user.
- **[View the Tracking Data in the Vlocity Tracking Group Page (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_view_the_tracking_data_in_the_vlocity_tracking_group_page.htm&release=264.0.0&type=5)**  
    For the managed package runtime, after you have interacted with the example Omniscript and Flexcard, tabs for these components are added to the Vlocity Tracking Group page. On these tabs, you can generate reports of the interaction data being tracked.
- **[View the Vlocity Tracking Entry Records (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_view_the_vlocity_tracking_entry_records.htm&release=264.0.0&type=5)**  
    For the managed package runtime, you can view tracking data in Vlocity Tracking Entry records by creating a custom tab, filtering the list of records, then copying the Data field contents into a JSON formatter.
- **[Create a Report Using Vlocity Tracking Entry Data (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_create_a_report_using_vlocity_tracking_entry_data.htm&release=264.0.0&type=5)**  
    For the managed package runtime, you can create a report of Vlocity Tracking Entry record data and filter it by Vlocity Tracking Group.