SALESFORCE-MARKETING-CLOUD-PERSONALIZATION practice question 24 of 25

What two fields can a web developer specify for defining a Content Zone? Choose 2 answers

Full set: 120 questions
Answer options
A: The CSS selector of the DOM element. Correct answer
B: The associated page type
C: The dimensions of the Content Zone.
D: The name of the Content Zone. Correct answer
Correct Answer:
A. The CSS selector of the DOM element.; D. The name of the Content Zone.
Explanation

When a web developer configures the Salesforce Personalization Web SDK sitemap, they define Content Zones as specific areas on a webpage designated for personalized content. The configuration for each content zone requires two primary fields: a unique name to identify the zone within the Personalization platform for campaign targeting, and a selector (specifically, a CSS selector) to identify the precise DOM element on the page where the personalized content will be injected.

Why Incorrect

B. The associated page type is defined for the entire page configuration within the sitemap, not as a property of an individual Content Zone.
C. The dimensions of the Content Zone are controlled by the website's CSS styling applied to the DOM element identified by the selector, not as a direct parameter in the sitemap definition.

References

1. Salesforce Developer Documentation, Marketing Cloud Personalization, Web Integration, "Configure the Sitemap for Web Integration". In the "Content Zones" section, the sample code explicitly shows the required name and selector properties for defining a content zone. The example provided is: contentZones: [ { name: "heroimage", selector: "div.hero" } ]. This directly confirms that the name and CSS selector are the specified fields.

Scroll to Top