---
schema_version: "1"
id: 7d8bade8939ddd50cba35eafd0dff7eaaba086de133e1a1c3ea646a96e7a5d92
title: Create Google Analytics Trusted URLs
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_omnianalytics_create_google_analytics_trusted_sites_std.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_omnianalytics_create_google_analytics_trusted_sites_std.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 82da376e473abf80ff68d180b8d08e43ccee4fdf8510f4fdd43b0aff2967a895
description: For OmniAnalytics and Google Analytics to communicate, your Salesforce org must trust the Google Analytics websites.
products:
  - Omnistudio
release: "264"
---
# Create Google Analytics Trusted URLs

For OmniAnalytics and Google Analytics to communicate, your Salesforce org must trust the Google Analytics websites.

1. From Setup, in the Quick Find box, enter trust, then click **Trusted URLs**.
2. Click **New Trusted URL**.
    
    The Trusted URL page opens.
3. In API Name, enter GoogleAnalytics1.
4. In URL, enter https://www.google-analytics.com.
5. In the CSP Directives section, select every box.
6. Click **Save & New**.
7. Create another trusted URL. Specify an API Name of GoogleAnalytics2 and a URL of https://www.analytics.google.com.
8. Create another trusted URL. Specify an API Name of GoogleTagManager and a URL of https://tagmanager.google.com/.
9. Save your changes.

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