---
schema_version: "1"
id: 0b8ae357b53fec8ce9fe3b6e633f24790185cc865994cc443bb9319c617a20b8
title: Setting Up Third-Party Tracking and Event Types
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_omnianalytics_workflow_configure_external_std.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_omnianalytics_workflow_configure_external_std.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: b96035e029c1a1d0bba4b24eb770e259aa7305587bfd560c52f714d81b038531
description: An External Tracking Definition specifies a third-party analytics account and tag manager that the OmniAnalytics tracking data is sent to. External Tracking Event Types specify data formats for specific events.
products:
  - Omnistudio
release: "264"
---
# Setting Up Third-Party Tracking and Event Types

An External Tracking Definition specifies a third-party analytics account and tag manager that the OmniAnalytics tracking data is sent to. External Tracking Event Types specify data formats for specific events.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio-264-0-0-production-enus/f526eaa8-ae05-487a-8944-4bb99b0b78ac/images/icon_note.png)

Note

You can export and import External Tracking Configuration and External Tracking Event Type objects as DataPacks. The corresponding Omniscripts and Flexcards aren’t included.

Before You Begin

- Complete the [Configure Internal OmniAnalytics](https://help.salesforce.com/s/articleView?id=xcloud.os_omnianalytics_workflow_configure_internal_std.htm&release=264.0.0&type=5 "OmniAnalytics can track user interactions with Omniscripts and Flexcards without the use of a third-party analytics provider.").
- Configure the third-party analytics account and tag manager. See the [Google Analytics](https://developers.google.com/analytics) and [Google Tag Manager](https://developers.google.com/tag-platform/tag-manager) documentation.
- See the [Adding Ecommerce Data to the Example Omniscript for OmniAnalytics](https://help.salesforce.com/s/articleView?id=xcloud.os_omnianalytics_workflow_google_data_example_omniscript_and_flexcard_std.htm&release=264.0.0&type=5 "Google Tag Manager Ecommerce requires specific kinds of data. You must add this data to the Messaging Framework Omniscript properties. When the Omniscript runs, it sends this data to Google Analytics.").

1. **[Create an External Tracking Configuration](https://help.salesforce.com/s/articleView?id=xcloud.os_omnianalytics_create_external_tracking_config_std.htm&release=264.0.0&type=5)**  
    Third-party analytics vendors require an External Tracking Configuration in addition to a Tracking Group. The steps in this task are for Google Analytics.
2. **[Create Omniscript Event Types](https://help.salesforce.com/s/articleView?id=xcloud.os_omnianalytics_create_omniscript_ext_event_types_std.htm&release=264.0.0&type=5)**  
    External Tracking Event Types arrange Omniscript data in the format that a third-party analytics provider expects. The steps in this task are for Google Analytics and Google Tag Manager Ecommerce.
3. **[Create Flexcard Event Types](https://help.salesforce.com/s/articleView?id=xcloud.os_omnianalytics_create_flexcard_ext_event_types_std.htm&release=264.0.0&type=5)**  
    External Tracking Event Types arrange Flexcard data in the format that a third-party analytics provider expects. The steps in this task are for Google Analytics Ecommerce.
4. **[Create Inclusion Rules for Event Types](https://help.salesforce.com/s/articleView?id=xcloud.os_omnianalytics_inclusion_rule_std.htm&release=264.0.0&type=5)**  
    Add an Inclusion Rule to an External Tracking Event Type to determine whether the event is sent to a third-party analytics vendor.
5. **[Connect the Tracking Group and External Tracking Configuration](https://help.salesforce.com/s/articleView?id=xcloud.os_omnianalytics_tracking_group_external_analytics_std.htm&release=264.0.0&type=5)**  
    You can edit a Tracking Group to send its data to a third-party analytics provider without changing the components that the group includes.