Loading
Salesforce now sends email only from verified domains. Read More
Marketing Cloud Personalization
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Content Zone Handling Differences

          Content Zone Handling Differences

          How content zone handling is configured is different between the Marketing Cloud Personalization and Data 360 SDKs.

          You can define content zones as objects or strings in Marketing Cloud Personalization. In the Data 360 Web SDK, however, content zones are used only inside pages types. Because it isn’t used for Data Cloud event translation, you can remove the source.contentZones field in sendEvent() calls.

          When defining content zones for personalization, where decisions are rendered, you must include both name and selector values.

          // In sitemap page type configuration
          {
            name: 'Product Detail Page',
            isMatch: () => /\/product\//.test(window.location.pathname),
            contentZones: [
              { name: 'hero_banner', selector: 'div#hero' },
              { name: 'recommendations', selector: 'div#recs-container' }
            ]
          }
          
           
          Loading
          Salesforce Help | Article