Configure Personalization Experiences
A personalization experience allows business users to customize and personalize website content at the right time and location, using personalization points. Using Web Personalization Manager, business users can create and preview personalization experiences for websites through a user-friendly interface.
To publish those experiences to their websites, business users must export personalization experience configurations from Web Personalization Manager and share it with sitemap developers. Sitemap developers can then include and subsequently initialize this configuration using the SalesforceInteractions.Personalization.Config.initialize
method in the sitemap.
To initialize personalization experiences, populate the personalization experience data exported from Web Personalization Manager and include it in the personalizationExperienceConfigs
object, as shown in this example.
After configuring personalization experiences in the personalizationExperienceConfigs
object, review the initialization configuration for the Personalization module and include it in your website’s Interactions SDK sitemap.
This example depicts the structure of the SalesforceInteractions.Personalization.Config.initialize
method after configuring additional transformers and personalization experiences.
After adding the Personalization module’s initialization configuration to your website’s Interactions SDK sitemap code, replace your existing sitemap code with the updated one.
- In Data Cloud, click Data Cloud Setup.
- Under External Connections, click Websites & Mobile Apps.
- Click your website’s Connector Name.
- In the Sitemap section, click Replace Sitemap.
- Upload the updated sitemap code as a JavaScript file or replace the existing sitemap code with the updated one.
- Click Save.