Salesforce Commerce Cloud

Salesforce Commerce Cloud

Salesforce Commerce Cloud is an enterprise e-commerce platform powering online storefronts. Platform scripts manage shopping cart state, product catalog browsing, and checkout flows. Session cookies maintain cart contents and authentication state. Analytics integrations capture purchase events and browsing behavior for merchandising and personalization.

Overview

Salesforce Commerce Cloud (formerly Demandware) is an enterprise e-commerce platform that powers the entire storefront experience for many large retailers. When detected on a website, it indicates the site's product catalog, shopping cart, checkout, and order management are all running on Salesforce's infrastructure. The platform combines essential e-commerce functionality with built-in analytics and personalization capabilities.

What This Script Does

Commerce Cloud serves as the application layer for the entire storefront, so its scripts handle both essential transactional functions and optional analytics tracking.

Essential functions:

  • Session cookies (typically dwsid or similar) maintain shopping cart state, product selections, and checkout progress. These are first-party session cookies that expire when the browser closes or after a short inactivity period.
  • Authentication cookies (dwanonymous_*, dwsecuretoken_*) manage logged-in user state, saved addresses, payment method tokens, and order history access. Persistent variants may last 30-180 days.
  • CSRF protection tokens and platform security cookies are set to prevent cross-site request forgery during form submissions and checkout.

Analytics and personalization functions:

  • Commerce Cloud's built-in analytics module (sometimes referred to as Commerce Cloud Einstein) tracks product views, search queries, category browsing, cart additions, and purchase events. This data feeds into merchandising reports and product recommendation algorithms.
  • Einstein Product Recommendations scripts collect behavioral signals to power "customers also bought" and "recommended for you" widgets.
  • A/B testing infrastructure may load to test different product layouts, pricing displays, or promotional content.

Data is transmitted to Salesforce's analytics endpoints for processing. Third-party integrations (payment gateways, analytics tools) are loaded by the platform but are typically separate vendors in their own right.

Consent & Compliance

Commerce Cloud straddles the essential and analytics categories. The core e-commerce session management — cart state, authentication, checkout CSRF protection — qualifies as strictly necessary under the ePrivacy Directive and does not require consent. Under GDPR, these functions can be justified under Article 6(1)(b) as necessary for the performance of a contract (completing a purchase the user initiated).

However, the Einstein analytics and recommendation engine components go beyond what is strictly necessary. Behavioral tracking for product recommendations and merchandising insights constitutes analytics processing that requires consent under both the ePrivacy Directive (for cookie storage) and GDPR (legitimate interest is arguable but consent is the safer legal basis for profiling).

Under CCPA/CPRA, purchase transaction data has specific exemptions, but behavioral browsing data used for personalization and recommendations is personal information subject to disclosure and opt-out requirements.

Should You Block This Without Consent?

Conditional. The core e-commerce session management (cart, authentication, checkout) is essential and should not be blocked. However, the Einstein analytics, product recommendation tracking, and behavioral merchandising features should be blocked until the visitor consents to analytics cookies. Configure your consent management to allow the platform's essential cookies while gating the analytics and personalization scripts.

Is Salesforce Commerce Cloud GDPR compliant?

Salesforce Commerce Cloud typically loads analytics trackers, which are not strictly necessary for your site to work. Under the GDPR and the ePrivacy Directive, non-essential cookies and trackers must stay blocked until a visitor gives clear opt-in consent. So Salesforce Commerce Cloud can be fully GDPR compliant, but only if your site holds its scripts until consent is granted and lets visitors decline just as easily. Compliance depends on how your site loads Salesforce Commerce Cloud, not on Salesforce Commerce Cloud itself.

Visit website

Consent Categories

Also Known As

salesforce commercedemandwaresfcccommerce cloudsalesforce ecommercesalesforce storefront

Industries

Computers Electronics and TechnologyProgramming and Developer Software

Tracked Domains (1)

demandware.netEssential

demandware.net is an essential domain operated by Salesforce Commerce Cloud, used to keep the site working, including security, load balancing, and sessions.

Frequently Asked Questions

Related Vendors

Salesforce CRM Analytics
Salesforce CRM Analytics
Salesforce CRM Analytics is a business intelligence and data visualization platform embedded within the Salesforce ecosystem. Scripts on customer-facing pages collect behavioral events and funnel data into Salesforce for reporting and AI-driven insights. No independent tracking cookies are set beyond the core Salesforce platform session.
Shopify Pixel
Shopify Pixel
Shopify Pixel is Shopify's built-in event tracking system that captures customer behavior on Shopify-powered storefronts. Scripts track page views, product views, add-to-cart events, and completed purchases, forwarding event data to connected marketing channels and analytics tools. Sets first-party cookies for session tracking and customer journey attribution.
Salesforce Experience Cloud
Salesforce Experience Cloud
Salesforce Experience Cloud is a digital experience platform for building branded portals, communities, and customer-facing websites. When detected, it indicates the site runs on Salesforce's application framework. Platform scripts handle user authentication, content rendering, and CRM data integration. Sets session cookies for authenticated user state management.
Shopify Markets
Shopify Markets
Shopify Markets is Shopify's cross-border commerce solution that adapts storefronts for international buyers. Scripts handle currency conversion, language detection, regional pricing display, and geo-based store redirects. Sets cookies to remember visitor location preferences and selected market settings for consistent localized shopping experiences across sessions.
HubSpot CMS Hub
HubSpot CMS Hub
HubSpot CMS Hub is HubSpot's website content management platform for building and hosting marketing sites. Sites built on CMS Hub automatically include HubSpot's tracking infrastructure, setting cookies for visitor identification, analytics event collection, and marketing attribution across all pages served by the platform.
Shopify Balance
Shopify Balance
Shopify Balance is Shopify's financial services product for merchants, offering business accounts and cards. When detected on storefronts, scripts handle payment processing integration and financial transaction flows. Sets secure session cookies for payment authentication and maintains encrypted transaction state during checkout and financial operations.

Manage consent for Salesforce Commerce Cloud

ConsentStack automatically detects and manages Salesforce Commerce Cloud trackers so your site stays compliant with global privacy regulations.