Key Components of a Sitemap JS The sitemap is typically structured using the sitemapConfig object, which contains three primary sections: Global Configuration : Captures data and listeners that apply to every page of the site (e.g., header/footer interactions, user login status). Page Types : An array of objects where you define specific logic for different types of pages, such as the Home page, Product Detail Page (PDP), or Cart page. Content Zones : Defined within page types, these are specific CSS selectors where personalization (like banners or recommendations) will be injected. Core JavaScript Objects SalesforceInteractions.init() : Required at the start of the JS to initialize the SDK and start tracking. pageTypeDefault : Defines the default configuration for all page types to reduce code redundancy. isMatch : A function within each page type that returns true or false to determine if the current URL matches that specific page type. interaction : Defines the ...