Create personalized page
PREREQUISITES: You have created one or more user segments. For more information, see For developers: Create segments.
Personalizing a page gives you the opportunity to serve different content to different types of users (user segments). You can build set of rules on which the user segments are based. You can then create different versions of the pages of your website.
This sample code demonstrates how to create a personalized page:
You need to pass the personalizationMasterId and the segmentId as parameters. PersonalizationMasterId is a property of the PageData. The PersonalizationMasterId parameter is the ID of the page, for which the personalized version is created.
For more information on getting the PageData, see For developers: Query pages.
After a page is personalized, the system displays Personalized link in the pages grid. If you click the link, you can see all available personalization versions of a page. To view a personalized version of the page in a browser, click it.