Salesforce
Send identified visitors, chat transcripts and lead details from an agent into Salesforce.
Connect
Open Integrations, find Salesforce on the agent you want, and click Connect. Choose Production or Sandbox, then sign in to Salesforce and approve access. If the connection fails, check that your Salesforce admin has approved the GTM Clarity app for your user, then try again.
Person Accounts orgs are not supported yet. On one, the connection reports an error and nothing is written.
What syncs
- Identified visitor: a Contact is upserted, matched by email. If Salesforce rejects the Contact upsert (for example, Email is not set up as an upsert key in your org), GTM Clarity creates or updates a Lead instead. A new Lead gets
Unknownas its Company when none is known; an existing Lead's Company is never overwritten. - Chat ended: the transcript is logged as a Task on that Contact or Lead.
- Conversion: the Contact is upserted again by email, with your mapped fields.
- Outcome marked: when a reviewer marks the chat's outcome and you have mapped
gtmc_chat_category, the existing Contact or Lead is updated with it. A visitor never synced before is not created by a mark.
Writes send Salesforce's allowSave duplicate-rule header, so your duplicate rules do not block them. Nothing is written for a visitor without an email address.
Field mapping
The field map appears below the connection once it is connected. By default, first and last name map to FirstName and LastName, and company maps to Company on a Lead (a Contact's company lives on its Account, which GTM Clarity does not manage). Everything else is sent only once you map it: phone, external id, tags, the chat lead fields (summary, transcript, duration, start URL, referrer, location, chat category, campaign attribution) and the visitor's answers to your qualifying questions.
The chat lead fields go in a write of their own onto the existing record, so a value your field rejects loses only those fields, never the identity, Task or conversion. Send test sends one sample contact using the saved mapping; save your changes first.
Checking a delivery
On a prospect's page under Prospects, the Destinations tab shows whether the prospect synced to Salesforce, with a Re-push button.