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.

Related Vendors

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.
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.
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.
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.
LinkedIn Ads
LinkedIn Ads
LinkedIn Ads is LinkedIn's advertising platform for B2B marketing and professional audience targeting. Conversion tracking scripts and pixels fire on advertiser websites to measure sign-ups, downloads, and purchases driven by LinkedIn ad campaigns. Sets cookies for audience matching, retargeting list building, and cross-device attribution reporting.

Manage consent for Salesforce Marketing Cloud

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