Salesforce Marketing Cloud

Salesforce Marketing Cloud

Salesforce Marketing Cloud is an enterprise marketing automation platform that tracks website visitors for campaign attribution and personalization. Scripts capture page views, click events, and form submissions to build customer profiles and trigger automated marketing journeys. Sets cookies for cross-session visitor identification and email campaign attribution.

Overview

Salesforce Marketing Cloud is an enterprise marketing automation platform that tracks website visitors for campaign attribution, customer journey orchestration, and personalized marketing. When its tracking scripts appear on a website, they capture visitor behavior to build customer profiles within the Salesforce ecosystem. Marketing Cloud encompasses multiple "studios" (Email, Mobile, Advertising, Social) and connects web activity data to broader CRM-driven marketing workflows.

What This Script Does

Salesforce Marketing Cloud deploys tracking scripts — commonly the _etmc.push or Collect.js tracking code — to capture visitor interactions on the website. The data feeds Marketing Cloud's Journey Builder for automated marketing flows and its Contact Builder for unified customer profiles.

Key cookies set:

  • _sfmc_id or _et_id — a persistent visitor identification cookie that stores a unique ID for cross-session visitor recognition. Expiry varies by implementation, commonly 2 years.
  • _sfmc_session or _et_session — session identifier for grouping page views and events within a single visit. Session-scoped.
  • _sfmc_cid — stores campaign attribution data linking the visit to a specific Marketing Cloud campaign. Varies by implementation.
  • Additional cookies may be set depending on which Marketing Cloud products are active (Advertising Studio, Personalization Builder, etc.).

Tracking endpoints vary by implementation — commonly *.exacttarget.com, *.sfmc-content.com, or custom domains configured by the organization. Data collected includes: page URLs, product interactions, form submissions, campaign click-through attribution, browser metadata, and custom data attributes defined by the site operator.

Marketing Cloud's web tracking integrates with its Journey Builder to trigger automated marketing actions based on website behavior. For example, an abandoned cart event on the website can trigger an email sequence, or a product page visit can update a contact's interest profile for future personalization.

When Advertising Studio is active, Marketing Cloud can also sync website visitor segments with advertising platforms (Google, Facebook, Twitter) for retargeting campaigns, expanding the scope of data use beyond owned marketing channels.

Consent & Compliance

Salesforce Marketing Cloud spans both marketing and analytics categories. It collects behavioral analytics data from the website, but its primary purpose is fueling marketing automation, campaign attribution, and customer journey orchestration.

Under the GDPR, Marketing Cloud processes personal data including persistent visitor IDs, behavioral profiles, and — when integrated with Salesforce CRM — potentially identifiable customer records. The use of this data for automated marketing journeys and campaign targeting requires explicit consent as the lawful basis.

The ePrivacy Directive requires consent for the persistent tracking cookies set by Marketing Cloud. The visitor identification cookies (commonly 2-year expiry) serve marketing purposes and are not strictly necessary for the website to function.

Under CCPA/CPRA, the behavioral data collected by Marketing Cloud constitutes personal information. When Advertising Studio syncs website visitor segments to third-party ad platforms for retargeting, this likely constitutes "sharing" of personal information for cross-context behavioral advertising, triggering opt-out requirements.

Should You Block This Without Consent?

Yes. Salesforce Marketing Cloud sets persistent tracking cookies, collects detailed behavioral data for marketing automation, and can syndicate visitor segments to advertising platforms. It is not essential for website functionality and requires consent under EU privacy regulations.

Visit website

Products (1)

Consent Categories

Marketing
Analytics

Also Known As

salesforce marketingsfmcexacttargetsalesforce marketing cloudmarketing cloud tracking

Industries

Computers Electronics and TechnologyProgramming and Developer Software

Tracked Domains (1)

exacttarget.comMarketing

Frequently Asked Questions

Does Salesforce Marketing Cloud require cookie consent?

Yes. Salesforce Marketing Cloud sets persistent tracking cookies for marketing automation and campaign attribution. Under GDPR and ePrivacy rules, these cookies require explicit consent. They are classified as marketing cookies and must be blocked until the visitor opts in.

What cookies does Salesforce Marketing Cloud set?

Marketing Cloud sets cookies including _sfmc_id or _et_id (persistent visitor ID, ~2 year expiry), _sfmc_session or _et_session (session-scoped), and _sfmc_cid for campaign attribution. Scripts load from exacttarget.com or sfmc-content.com domains and collect page URLs, form submissions, and browser metadata.

How does ConsentStack manage Salesforce Marketing Cloud consent?

ConsentStack detects Marketing Cloud tracking scripts by their known script domains and cookie patterns. It classifies them as marketing, blocking the scripts until the visitor grants marketing consent. Once consent is given, ConsentStack allows the scripts to load and set their attribution cookies.

Other Salesforce.com Products

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.
Salesforce Data Cloud
Salesforce Data Cloud
Salesforce Data Cloud is Salesforce's customer data platform for unifying first-party data across touchpoints. Website scripts capture real-time behavioral signals and identity events, contributing to unified customer profiles used for personalization, segmentation, and cross-channel marketing automation workflows.
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.
Salesforce Interaction Studio
Salesforce Interaction Studio
Salesforce Interaction Studio (now Marketing Cloud Personalization) is a real-time personalization engine. Scripts monitor visitor behavior across page sessions — tracking clicks, page sequences, and product views — to serve dynamically personalized content and product recommendations based on individual behavioral profiles.
Salesforce Service Cloud
Salesforce Service Cloud
Salesforce Service Cloud is a customer service and support platform that integrates with websites through embedded chat widgets and case management forms. Scripts load live agent chat interfaces, knowledge base lookups, and support ticket submission flows. Sets session cookies to maintain customer identity and conversation context across support interactions.

Related Vendors

Google
Google
Google is the dominant provider of web analytics, advertising, and infrastructure tools. Scripts like Google Analytics, Tag Manager, Ads, and reCAPTCHA collect behavioral data, manage tag firing, serve targeted ads, and detect bots. Sets persistent cookies to track users and correlate activity across sites.
Google Ads
Google Ads
Google Ads is Google's advertising platform for search, display, and remarketing campaigns. Conversion tracking scripts fire on advertiser landing pages to measure actions taken after ad clicks. The remarketing tag builds audience lists for retargeting users across Google's ad network.
Microsoft Advertising UET Tag
Microsoft Advertising UET Tag
Microsoft Advertising UET Tag is the Universal Event Tracking pixel for Microsoft's ad platform, formerly Bing Ads. The JavaScript tag fires on advertiser websites to track page views, conversions, and custom events for campaign optimization. Sets cookies to identify visitors across sessions and attribute conversions to Microsoft Search and Audience Network ad clicks.
Microsoft Dynamics 365
Microsoft Dynamics 365
Microsoft Dynamics 365 is a suite of CRM and ERP applications that integrates with websites through tracking scripts and embedded forms. Web tracking code captures visitor behavior, page views, and form submissions to build customer profiles and score leads. Sets cookies to identify returning visitors and attribute marketing touchpoints across sessions.
Microsoft
Microsoft
Runs Clarity (session recording and heatmaps), the Microsoft Advertising UET tag (conversion tracking), and Bing's remarketing pixel. Clarity injects a recording script that captures mouse movements, clicks, and rage clicks. The UET tag fires conversion events to tie ad clicks to on-site actions across Microsoft's ad network.
LinkedIn Insight Tag
LinkedIn Insight Tag
LinkedIn Insight Tag is a JavaScript tracking pixel for LinkedIn's advertising and analytics platform. The tag fires on every page view to collect URL, referrer, IP address, and device data for conversion tracking, website demographics reporting, and retargeting audience building. Sets cookies to identify LinkedIn members across advertiser websites.

Manage consent for Salesforce Marketing Cloud

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