You are here:
Workflow for Setting Up Google Analytics and Google Tag Manager (Managed Package)
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.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
If you are following the parent workflow example, all of the following tasks are required. Your analytics project will probably require very similar steps.
- Create an Account and Property in Google Analytics (Managed Package).
- Create a View in Google Analytics (Managed Package).
- Create an Account in Google Tag Manager (Managed Package).
- Create a Google Analytics Tracking ID Variable in Google Tag Manager (Managed Package).
- Create Data Layer Variables in Google Tag Manager (Managed Package).
- Create Triggers in Google Tag Manager (Managed Package).
- Create the Page View Tag in Google Tag Manager (Managed Package).
- Create the Event Tag in Google Tag Manager (Managed Package).
What’s next: After you have set up Google Analytics and Google Tag Manager, the next step in the parent workflow is to Workflow for Adding Ecommerce Data to the Example Omniscript and Card (Managed Package).
- Create an Account and Property in Google Analytics (Managed Package)
For the managed package runtime, the first step when you set up Google Analytics is to create an account and a property. The property contains metadata for the account. - Create a View in Google Analytics (Managed Package)
For the managed package runtime, creating a view lets you enable Ecommerce settings and define checkout steps for the example Omniscript. - Create an Account in Google Tag Manager (Managed Package)
For the managed package runtime, though related to Google Analytics, Google Tag Manager is a separate application that requires a separate account. - Create a Google Analytics Tracking ID Variable in Google Tag Manager (Managed Package)
For the managed package runtime, creating this variable lets you specify the Tracking ID once and then reference it in multiple places. - Create Data Layer Variables in Google Tag Manager (Managed Package)
For the managed package runtime, creating data layer variables lets you create fewer and more versatile event tags. - Create Triggers in Google Tag Manager (Managed Package)
For the managed package runtime, triggers define when tags are invoked. - Create the Page View Tag in Google Tag Manager (Managed Package)
For the managed package runtime, the Page View Tag is invoked every time a tracked page is loaded. - Create the Event Tag in Google Tag Manager (Managed Package)
For the managed package runtime, the Event Tag is invoked every time an event occurs in a tracked page.

