Overview
Salesforce Service Cloud provides customer support infrastructure that integrates with websites through embedded chat widgets, case management forms, and knowledge base components. It enables businesses to offer live agent support, AI-powered chatbots, and self-service support portals directly within their web properties. The platform connects customer interactions to Salesforce CRM records for unified case management.
What This Script Does
Service Cloud's web-facing components typically load through Salesforce's Embedded Service SDK or the newer Messaging for Web channel:
- Chat widget scripts — a JavaScript bundle loads the chat widget UI, handling the real-time WebSocket connection for live agent conversations. The script is loaded from Salesforce CDN domains (e.g.,
service.force.com,salesforce-scrt2.comfor the newer Messaging runtime). - Session cookies — cookies are set to maintain the chat session state, so if a visitor navigates between pages, the conversation persists. These are typically session-scoped or short-lived (hours). Cookie names vary by implementation but commonly include Salesforce session identifiers.
- Pre-chat form data — when visitors fill out pre-chat forms (name, email, issue description), this data is transmitted to Salesforce and may create or update CRM contact records.
- Knowledge base components — embedded knowledge article widgets make API calls to Salesforce to retrieve and display help content. These do not set additional cookies beyond the platform session.
- Case deflection tracking — the widget may track whether visitors found answers through self-service before initiating a live chat, feeding this data back to Salesforce for service analytics.
Service Cloud does not perform cross-session behavioral profiling or set long-lived marketing cookies. Its data collection is scoped to the support interaction context.
Consent & Compliance
Service Cloud is classified as functional. Its scripts provide customer support features that visitors actively choose to use — initiating a chat, searching a knowledge base, or submitting a support case. Under GDPR, the processing of data necessary to provide requested support services can be justified under Article 6(1)(b) (contractual necessity) when the visitor initiates a support interaction.
Under the ePrivacy Directive, session cookies required to maintain an active chat conversation qualify as strictly necessary for the service explicitly requested by the user when they click the chat button. However, if the chat widget sets cookies on page load before the visitor initiates any interaction, those cookies occupy a grayer area and may require consent depending on the supervisory authority's interpretation.
Under CCPA/CPRA, data collected during support interactions falls within the service provider relationship and is generally exempt from opt-out requirements, provided it is used solely for providing the support service.
Should You Block This Without Consent?
Conditional. The core chat and support functionality is functional and user-initiated, which typically does not require prior consent. However, if the chat widget loads scripts and sets cookies on every page load regardless of whether the visitor engages with it, consider lazy-loading the widget only when the visitor clicks the chat button. This approach avoids the consent question entirely for non-interacting visitors while preserving the support experience for those who need it.
Consent Categories
Also Known As
Industries
Tracked Domains (1)
live.salesforce.comFunctionalFrequently Asked Questions
Do I need consent for Salesforce Service Cloud?
Conditional. Session cookies maintaining an active chat conversation are strictly necessary for the user-initiated service. However, if Service Cloud loads scripts and sets cookies on every page before visitor interaction, consent applies.
What data does Salesforce Service Cloud collect?
Service Cloud loads chat widget scripts from service.force.com or salesforce-scrt2.com. It sets session cookies to maintain conversation state and transmits pre-chat form data to Salesforce, potentially creating or updating CRM contact records.
How does ConsentStack handle Salesforce Service Cloud?
ConsentStack classifies Service Cloud as functional and detects it via service.force.com and Salesforce Embedded Service SDK patterns. It recommends lazy-loading the widget on click to avoid consent requirements for non-interacting visitors.
Related Vendors
Manage consent for Salesforce Service Cloud
ConsentStack automatically detects and manages Salesforce Service Cloud trackers so your site stays compliant with global privacy regulations.