Top companies trust Zapier to automate work that solves their unique business problems—no coding required.
How Zapier works
Zapier makes it easy to integrate Google Analytics 4 with Salesforce - no code necessary. See how you can get setup in minutes.
100%
Help
Google Analytics 4
Google Analytics 4
1. Choose trigger event
Salesforce
Salesforce
2. Choose action
1. Select the event
Setup
Test
Google Analytics 4
Choose a trigger event
Choose a trigger
A trigger is the event that starts your Zap—like a "New Conversion Event" from Google Analytics 4.
Add your action
An action happens after the trigger—such as "Add Contact to Campaign" in Salesforce.
You’re connected!
Zapier seamlessly connects Google Analytics 4 and Salesforce, automating your workflow.
Supported triggers and actions
Zapier helps you create workflows that connect your apps to automate repetitive tasks. A trigger is an event that starts a workflow, and an action is an event a Zap performs.
Create a new record or update an existing record in your app.
Path after /services/apexrest/
Required
HTTP method
Required
Query parameters
Extra headers
Request body
Timeout
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
File
Required
Salesforce Object
Required
Description
Attachment visibility
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Create Contact
Creates a new contact.
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
File
Required
Title
Description
Salesforce Object
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Note Title
Required
Note
Salesforce Object
Required
Note Visibility
Use Assignment Rules
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Salesforce Object
Required
Use Assignment Rules
Allow Duplicates
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Flow
Required
Manual flow input parameters
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
To
Required
CC
BCC
Subject
Required
Email Format
Required
Sender Type
Required
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Lead to Update
Required
Use Assignment Rules
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Salesforce Object
Required
Record to Update
Required
Use Assignment Rules
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Query Type
Required
Include Deleted Records
Action
This is an event a Zap performs.
Search
Find existing data in your app
Parent Object
Required
Action
This is an event a Zap performs.
Search
Find existing data in your app
Salesforce Object
Required
SOQL WHERE clause
Required
Action
This is an event a Zap performs.
Search
Find existing data in your app
Salesforce Object
Required
SOQL WHERE Clause
Required
Sort by
Sort Order
Maximum Number of Records
Action
This is an event a Zap performs.
Search
Find existing data in your app
Salesforce Object
Required
Search Value
Required
Second Field to Search By
Second Search Value
Search Operator
Use Assignment Rules
Allow Duplicates
Action
This is an event a Zap performs.
Search or write
Find existing data in your app, or create a new record if no data is found
For AI agents & developers
Use Google Analytics 4 and Salesforce with AI agents and code
Beyond Zap workflows. Call Google Analytics 4 and Salesforce actions directly from your AI client or your codebase, using the same 9,000+ app integrations Zapier already runs.
No code
Connect via Zapier MCP
Expose Google Analytics 4 and Salesforce actions as tools in any MCP client. Authenticate once, then call them in natural language.
Example actions on this page
Create Conversion Event for a Property
Add Contact to Campaign
Works with
Claude · ChatGPT · Cursor · any MCP-compatible client
There is no Python package yet. SDK is TypeScript-only (@zapier/zapier-sdk). The MCP server URL is personal to your account; get it at zapier.com/mcp.
Zapier is the automation platform of choice for 87% of Forbes Cloud 100 companies in 2023
93%
Customers who say using Zapier has made them better at their job
25m
Customers have created over 25 million Zaps on the platform
6 mins
The average user takes less than 6 minutes to set up a Zap
Practical ways you can use Google Analytics 4 and Salesforce
Send new Salesforce lead details to Google Analytics 4.
When a new lead is created in Salesforce, Zapier captures the lead details and sends them to Google Analytics 4. This process helps marketing teams track and integrate lead data within website analytics, bridging CRM performance with online metrics collaboration.
When a new conversion event occurs in Google Analytics 4, Zapier logs the event details into the corresponding Salesforce record. This automation ensures that project initiatives linked to online conversions are accurately tracked, keeping stakeholders updated on project outcomes.
Learn how to automate Google Analytics 4 on the Zapier blog
Learn how to automate Salesforce on the Zapier blog
Make work flow with AI
Level up your Google Analytics 4 to Salesforce integration with AI. Extract, summarize, and transform your integration data with leading AI models like OpenAI, Anthropic, and more.
Frequently Asked Questions about Google Analytics 4 + Salesforce integrations
New to automation with Zapier? You're not alone. Here are some answers to common questions about how Zapier works with Google Analytics 4 and Salesforce
What are the prerequisites to integrate Google Analytics 4 with Salesforce?
Before integrating Google Analytics 4 with Salesforce, ensure you have admin access to both platforms. You need to create a property in Google Analytics and set up a new data stream. In Salesforce, verify that your account has API access enabled.
Can we trigger Salesforce actions based on Google Analytics 4 events?
Yes, you can trigger specific actions in Salesforce based on events catpured in Google Analytics 4. For example, when a new conversion event is recorded in GA4, it can trigger the creation of a new lead or update an existing contact in Salesforce.
How do we send events from Google Analytics 4 to Salesforce?
To send events from Google Analytics 4 to Salesforce, use our integration tool to map GA4 event parameters to Salesforce fields. This can be configured in the integration settings where you define triggers based on incoming data.
What type of data can be sent from Google Analytics 4 to Salesforce?
You can send various types of data including user interactions like page views, conversion events, and custom dimensions or metrics captured by GA4. This information can then populate relevant fields within your Salesforce entities such as Leads or Opportunities.
Is it possible to update existing records in Salesforce using Google Analytics 4 data?
Yes, existing records in Salesforce can be updated using information from GA4. You may want to set up conditions where if a user completes a specific action tracked by GA4, their corresponding Lead or Contact record is updated in Salesforce.
How often does the integration sync data between Google Analytics 4 and Salesforce?
The sync frequency between Google Analytics 4 and Salesforce depends on the configuration settings chosen during setup. Typically, you could set it either for real-time updates or batch processing at intervals such as hourly or daily.
What should we do if there’s an error during the integration process between GA4 and Salesforce?
If an error occurs during the integration setup between GA4 and Salesforce, check each step ensuring API keys and permissions are correctly configured. Use our troubleshooting guide for common issues or consult our support team for assistance.
About Google Analytics 4
Google Analytics 4 is a powerful web analytics platform that provides businesses with deep insights into user behavior and website performance.