Get personalized pages count

After you create personalized pages, see For developers: Create personalized page, you can retrieve the count of all personalized pages. 

The sample below demonstrates how to get the count of all personalized pages:

First you create an instance of the PersonalizationManager. Then you call the GetPersonalizedPagesCount method by passing the segmentId as a parameter.

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?