---
schema_version: "1"
id: 8ba700e9fa2d559f3a8fbdded7a37770c896da80ae8faafaaae647435a1a80e9
title: OmniAnalytics for Managed Packages Overview (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_vlocity_omnianalytics_overview.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_vlocity_omnianalytics_overview.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 58fc3e716559a36dee19081c9162d9cb47e65f0dc2f652f31703815b00e25a00
description: For the managed package runtime, using OmniAnalytics, you can track user interactions to answer questions such as which advertisements get the most responses and how many users who begin a purchasing process complete it. OmniAnalytics can track user interactions with LWC Omniscripts and Flexcards with or without a third-party system such as Google Analytics.
products:
  - Omnistudio
release: "264"
---
# OmniAnalytics for Managed Packages Overview (Managed Package)

For the managed package runtime, using OmniAnalytics, you can track user interactions to answer questions such as which advertisements get the most responses and how many users who begin a purchasing process complete it. OmniAnalytics can track user interactions with LWC Omniscripts and Flexcards with or without a third-party system such as Google Analytics.

![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).

All Industries products, including ​Salesforce Industries Communications, Media, and Energy, Vlocity Insurance, and Vlocity Government, can use OmniAnalytics for Managed Packages.

![Note](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)

Note OmniAnalytics integrates with Google Universal Analytics. It doesn't integrate with Google Analytics 4.

![Note](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)

Note OmniAnalytics is not supported on Omnistudio managed packages that use the standard data model.

## Data Flows

In OmniAnalytics, user interaction data flows from Omniscripts and Flexcards, through tracking components, and into Salesforce reports, either built-in or custom.

![OmniScripts and Cards send data to Tracking Components, which sends data to Salesforce Reports.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/omnistudio_for_managed_packages/images/oainternalflow.png)

User interaction data from OmniAnalytics can also flow from Omniscripts and Flexcards, through tracking components, and into a third-party system such as Google Analytics.

![OmniScripts and Cards send data to Tracking Components, which sends data to Third-Party Analytics.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/omnistudio_for_managed_packages/images/oathirdpartyflow.png)

You can send the same data to Salesforce reports, a third-party system, or both.

Using OmniAnalytics, you can control what data you send, how it’s structured, and where it goes without editing templates or writing a script.

## Types of Data Collected

Vlocity OmniAnalytics collects data that helps answer questions such as:

- Which items presented to users are they most interested in?
- Where are we losing users in the flow?
- Are some steps too slow to load or too hard to understand?

Specifically, OmniAnalytics collects data about:

- Clicks per product, offer, or promotion impression
- Clicks per UI action impression
- Percent of Omniscripts completed
- Percent of Omniscript steps completed
- Load time for Flexcards, Omniscripts, and Omniscript steps
- Viewing time for Flexcards, Omniscripts, and Omniscript steps

## Next Steps

OmniAnalytics has user setup, two standard workflows, and some advanced topics:

- [Edit User Profiles to Enable OmniAnalytics Access (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_edit_user_profiles_to_enable_omnianalytics_access.htm&release=264.0.0&type=5 "For the managed package runtime, in the Salesforce Winter '21 release, a critical update enforces user profile restrictions for Apex classes that Aura and Lightning Web Components use. To configure OmniAnalytics, users must have permission in their profiles or permission sets to access the FetchStaticResourceUrl and OmniAnalyticsController Apex classes.") and [Edit Sharing Settings to Enable OmniAnalytics Access for Guest Users (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_edit_sharing_settings_to_enable_omnianalytics_access_for_guest_users.htm&release=264.0.0&type=5 "For the managed package runtime, to have read-only access to OmniAnalytics, guest users must have sharing settings in their profiles for the Vlocity Tracking Group, Vlocity Web Tracking Configuration, and Omni User Session objects.") — Give users access to OmniAnalytics.
- [Workflow to Configure Internal OmniAnalytics (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_workflow_to_configure_internal_omnianalytics.htm&release=264.0.0&type=5 "For the managed package runtime, Vlocity OmniAnalytics can track user interactions with Omniscripts and Flexcards without the use of a third-party tag manager.") — Track user interactions without a third-party tag manager.
- [Workflow to Configure OmniAnalytics with Google Analytics (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_workflow_to_configure_omnianalytics_with_google_analytics.htm&release=264.0.0&type=5 "For the managed package runtime, Vlocity OmniAnalytics can track user interactions with Omniscripts and Flexcards in combination with Google Analytics and Google Tag Manager.") — Track user interactions in combination with Google Analytics and Google Tag Manager.
- [Additional OmniAnalytics Customizations (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_additional_omnianalytics_customizations.htm&release=264.0.0&type=5 "For the managed package runtime, additional OmniAnalytics customizations include inclusion rules for Vlocity Web Tracking Event Types, configuration of other third-party analytics vendors aside from Google Analytics, and using a static resource instead of a Visualforce page.") — Configure inclusion rules for events, other third-party analytics vendors, and static resources.

If you follow the workflow examples, the first workflow is a prerequisite for the second.

- **[Edit User Profiles to Enable OmniAnalytics Access (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_edit_user_profiles_to_enable_omnianalytics_access.htm&release=264.0.0&type=5)**  
    For the managed package runtime, in the Salesforce Winter '21 release, a critical update enforces user profile restrictions for Apex classes that Aura and Lightning Web Components use. To configure OmniAnalytics, users must have permission in their profiles or permission sets to access the FetchStaticResourceUrl and OmniAnalyticsController Apex classes.
- **[Edit Sharing Settings to Enable OmniAnalytics Access for Guest Users (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_edit_sharing_settings_to_enable_omnianalytics_access_for_guest_users.htm&release=264.0.0&type=5)**  
    For the managed package runtime, to have read-only access to OmniAnalytics, guest users must have sharing settings in their profiles for the Vlocity Tracking Group, Vlocity Web Tracking Configuration, and Omni User Session objects.
- **[Workflow to Configure Internal OmniAnalytics (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_workflow_to_configure_internal_omnianalytics.htm&release=264.0.0&type=5)**  
    For the managed package runtime, Vlocity OmniAnalytics can track user interactions with Omniscripts and Flexcards without the use of a third-party tag manager.
- **[Workflow to Configure OmniAnalytics with Google Analytics (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_workflow_to_configure_omnianalytics_with_google_analytics.htm&release=264.0.0&type=5)**  
    For the managed package runtime, Vlocity OmniAnalytics can track user interactions with Omniscripts and Flexcards in combination with Google Analytics and Google Tag Manager.
- **[Workflow for Adding Ecommerce Data to the Example Omniscript and Card (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_workflow_for_adding_ecommerce_data_to_the_example_omniscript_and_card.htm&release=264.0.0&type=5)**  
    For the managed package runtime, Google Analytics Ecommerce requires specific kinds of data. You must add this data to the Messaging Framework Omniscript properties and the Flexcard Custom Fields. Then when the Omniscript runs and the Flexcard is used, they send this data to Google Analytics.
- **[Workflow for Creating a Tracking Configuration and Adding Event Types (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_workflow_for_creating_a_tracking_configuration_and_adding_event_types.htm&release=264.0.0&type=5)**  
    For the managed package runtime, a Vlocity Web Tracking Configuration specifies a third-party tag manager and account to which to send tracking data. Vlocity Web Tracking Event Types specify data formats for specific events. In the workflow example, Event Types pass Omniscript data to Google Analytics.
- **[Edit the Vlocity Tracking Group for Google Analytics (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_edit_the_vlocity_tracking_group_for_google_analytics.htm&release=264.0.0&type=5)**  
    For the managed package runtime, you can edit a Vlocity Tracking Group to send its data to Google Analytics without changing the components it includes.
- **[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_1.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 Google Analytics (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_view_the_tracking_data_in_google_analytics.htm&release=264.0.0&type=5)**  
    For the managed package runtime, in the Workflow to Configure OmniAnalytics with Google Analytics documentation, after you view the example Omniscript and Card, you can view the data in Google Analytics. This is the final step in the workflow.
- **[Additional OmniAnalytics Customizations (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_additional_omnianalytics_customizations.htm&release=264.0.0&type=5)**  
    For the managed package runtime, additional OmniAnalytics customizations include inclusion rules for Vlocity Web Tracking Event Types, configuration of other third-party analytics vendors aside from Google Analytics, and using a static resource instead of a Visualforce page.