Content Zones

Content zones are areas throughout a website that you can define to render Personalization campaigns. The web and server-side campaign templates that you create using the Personalization UI reference these content zones within campaigns. You can define content zones globally in the globalConfig or for a specific page type in the pageType configuration.

This table summarizes the fields that a content zones accepts.

Field NameExpected Value TypeRequiredDescription
nameStringYesThe name of the content zones. Example: global_popup, product_detail_recommendations
selectorStringNoThe CSS selector for the content zones target.

All content zones require a name, while selector is optional. You can still use a content zone without a selector in templates that target the glass pane, such as a popup.

Depending on the type of website, we recommend defining certain Content Zones over others to use specific global templates.

This table outlines content zones that help you use specific global templates without additional content zone configuration if mapped via the sitemap.

Content ZoneGlobal TemplateDescription
home_heroBanner with Call-to-ActionContent zone for a hero banner on the home page
home_recsEinstein Content RecommendationsContent zone for recommendations on home page
product_detail_recs_row_1Einstein Product RecommendationsContent zone for recommendations on a product_detail page
product_detail_recs_row_2Einstein Product RecommendationsContent zone for recommendations on a product_detail page
category_recsEinstein Product RecommendationsContent zone for recommendations on a category page
cart_recs_row_1Einstein Product RecommendationsContent zone for recommendations on the cart page
cart_recs_row_2Einstein Product RecommendationsContent zone for recommendations on the cart page
search_recsEinstein Content Recommendations, Einstein Product RecommendationsContent zone for recommendations on the search page
order_confirmation_recs_row_1Einstein Product RecommendationsContent zone for recommendations on the order confirmation page
order_confirmation_recs_row_2Einstein Product RecommendationsContent zone for recommendations on the order confirmation page
error_page_recsEinstein Product RecommendationsContent zone for recommendations on an error page
add_to_cart_modal_recsEinstein Product RecommendationsContent zone for recommendations on an Add to Cart Modal
global_popupExit Intent Popup with Email Capture, Exit Intent PopupContent zone for a global popup
global_infobar_top_of_pageInfobar With Call-To-Action, Infobar With User Attribute and Call-To-ActionContent zone for an info bar at the beginning of the page
global_infobar_bottom_of_pageInfobar With Call-To-Action, Infobar With User Attribute and Call-To-ActionContent zone for an info bar at the end of the page
global_slide_inSlide-In with Call-To-ActionContent zone for slide-in messages with call-to-action

For code samples and example content zone implementations, see: