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.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Web Security for Sitefinity Administrators

The free standalone Web Security lesson teaches administrators how to protect your websites and Sitefinity instance from external threats. Learn to configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?