---
schema_version: "1"
id: 61fc341d5f7ce7d49398fe57946cff3290267146a8de3bb3dd7ede54b5f3b653
title: Workflow to Configure OmniAnalytics with Google Analytics (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_omnianalytics_with_google_analytics.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_workflow_to_configure_omnianalytics_with_google_analytics.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: dda3bbaefee71bf442e7a9dbb0cacac6fa9460f3ff965fa2bdf0fc9f4888d1ea
description: For the managed package runtime, Vlocity OmniAnalytics can track user interactions with Omniscripts and Flexcards in combination with Google Analytics and Google Tag Manager.
products:
  - Omnistudio
release: "264"
---
# Workflow to Configure OmniAnalytics with Google Analytics (Managed Package)

For the managed package runtime, Vlocity OmniAnalytics can track user interactions with Omniscripts and Flexcards in combination with Google Analytics and Google 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).

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

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

To configure OmniAnalytics to work with an analytics vendor other than Google Analytics, see [Workflow for Configuring OmniAnalytics for a Third-Party Analytics Vendor (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_workflow_for_configuring_omnianalytics_for_a_third_party_analytics_vendor.htm&release=264.0.0&type=5 "For the managed package runtime, Vlocity OmniAnalytics can support other third-party analytics vendors aside from Google Analytics.").

![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:

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

1. If you are following the examples, complete the [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.").
    
    If you are not following the examples, only tasks 1, 3, 4, and 5 of this workflow are required.
2. Complete the [Workflow for Setting Up Google Analytics and Google Tag Manager (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_workflow_for_setting_up_google_analytics_and_google_tag_manager.htm&release=264.0.0&type=5 "For the managed package runtime, you can configure Vlocity OmniAnalytics to send data to Google Analytics with Enhanced Ecommerce. To do so, you must prepare Google Analytics and Google Tag Manager to receive the data. You must configure an account, property, and view in Google Analytics, then configure variables, triggers, and tags in Google Tag Manager.").
3. Add Messaging Framework data to the Omniscripts and/or Flexcards to be tracked. See the [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.").
4. Complete the [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.").
5. [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."), connecting it to the Vlocity Web Tracking Configuration.
6. 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.").
7. [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.").

- **[Workflow for Setting Up Google Analytics and Google Tag Manager (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_workflow_for_setting_up_google_analytics_and_google_tag_manager.htm&release=264.0.0&type=5)**  
    For the managed package runtime, you can configure Vlocity OmniAnalytics to send data to Google Analytics with Enhanced Ecommerce. To do so, you must prepare Google Analytics and Google Tag Manager to receive the data. You must configure an account, property, and view in Google Analytics, then configure variables, triggers, and tags in Google Tag Manager.