---
schema_version: "1"
id: 012dcc451a9ad5694efa55b5750e26640fd99ae2366b980f34dc1cff65465fd5
title: Create Inclusion Rules for 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_inclusion_rule_std.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_omnianalytics_inclusion_rule_std.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: b680557ddd01829857537277dae48c8367955fc0e4610ef136217703d4d5e164
description: Add an Inclusion Rule to an External Tracking Event Type to determine whether the event is sent to a third-party analytics vendor.
products:
  - Omnistudio
release: "264"
---
# Create Inclusion Rules for Event Types

Add an Inclusion Rule to an External Tracking Event Type to determine whether the event is sent to a third-party analytics vendor.

If the Inclusion Rule text area is blank, all events of the specified type are tracked.

1. From Setup, in the Quick Find box, enter omni.
2. Expand **OmniAnalytics** and click **External Tracking Event Types**.
3. Click **New**, or click an existing External Tracking Event Type and click **Edit**.
4. In Inclusion Rule, type a condition that evaluates to true or false.
    
    You can use the Field Name, Math Operators, and Logical Operators dropdowns to construct the condition. You can also use Omniscript functions and merge fields.
    
    Here are some examples of possible inclusion rules:
    
    ```
    %StepSequence% > 1
    %LoadDuration% > 1000 || %StepWaitTime% > 2000
    CONTAINS(%DeviceName%, “Apple iPhone X”)
    ```
5. Save your changes.
6. If you edited an existing External Tracking Event Type, refresh the browser.

After you create Inclusion Rules, [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.").