Connect a Website with Google Analytics 4

Ingest event data from your Google Analytics 4 (GA4) websites into Data 360. This connector uses the Data 360 Web Software Development Kit (SDK) to track and send GA4 events to Data 360. When the data is in Data 360, you can use it to understand your customers and make business decisions by generating insights, creating marketing campaigns, and scoring leads.

As of October 14, 2025, Data 360 has been rebranded to Data 360. During this transition, you may see references to Data 360 in our application and documentation. While the name is new, the functionality and content remain unchanged.

When you create the connection between Data 360 and your website with GA4, Data 360 automatically sets:

  • Default event definitions for most recommended and automatically collected engagement events documented by GA4
  • The refresh mode for profile events to partial refresh
  • Default data capture rules with basic Web SDK initialization configuration
  • Your website must be using GA4. The connector doesn't work with previous versions of Google Analytics.
  • To enable web data collection, you have to integrate Data 360 Web SDK with your website. You have the option of using Google Tag Manager (GTM) or manual integration.
  • Whether you’re using GTM or manual integration, you must be pushing the events you want Data 360 to track to your GTM data layer.
  1. In Salesforce, click Setup, and then select Data Cloud Setup.
  2. Click Website & Mobile Apps, and then click New Connection or Set Up Your First Connection.
  3. Enter the connection name, and select A Website with Google Analytics, and then click Next and Start Automated Setup.
  1. Data 360 creates most recommended and automatically collected event definitions for Google Analytics Events that you’re pushing to your data layer in Google Tag Manager. To review what each event does, click View Definitions.

  2. To optionally set any custom events not specific to Google Analytics, click Add Definitions.

  3. To select a refresh mode for Profile events, click Change Refresh Mode.

    ChoiceDescription
    Partial (default)After initial data ingestion, replace only the fields for which new data is received.
    IncrementalAfter initial data ingestion, replace the entire record when new data is received. Existing values may be replaced by blank values.
  • If you added custom events and want to send/ingest data for new events, click Set Data Capture Rules and update a data capture rules file.

    Changing data capture rules, changes the data you collect or can cause no data to be ingested into Data 360. You must select the acknowledgment to do so.

  1. Select a data space to ingest the web engagement data, and then click Next.
  1. To configure Data 360, click Let’s Get Started.
  2. Data 360 automatically creates a data stream and data mappings. You can also choose to create an identity resolution ruleset for your web connection.
  3. If you added custom events and have custom fields to map between your data stream and the data lake object, click Map Custom Fields. This takes you to the Data Streams page where you can select the desired data stream and proceed with the required mapping manually.
  1. From the Collect Web Engagement section, click Select Tag Publication Type.
  2. Select Push a Tag using Google Tag Manager, and click Next.
  3. To authenticate to Google Tag Manager, click Sign in with Google, and then follow the Google authentication prompts.
  4. When prompted that Salesforce wants to access your Google account, click Allow.
  5. Configure Google Tag Manager. Select an Account, Container, and Workspace where you want to add the tag, and then click Save. This creates a new custom HTML Data Cloud tag assigned to all pages in the corresponding workspace.
  6. Ask your Google Tag Manager admin to log into Google Tag Manager, and then review and publish the tag.
  7. Ask your admin to configure the consent agreement.
  8. After the consent agreement is configured, your GA4 website starts sending data to Data 360.
  1. Click Select Publication Type.
  2. Select Manually add a snippet and click Save.
  3. Copy the snippet.
  4. Ask your web admin to embed the snippet at the end of the <body> tag on the website pages from which you want to collect data.
  5. After your web admin adds the snippet tag, your GA4 website starts sending data to Data 360.

See Also