Personalize a widget

You have a website whose visitors are software developers. On your home page, you have an MVC Events widget and you want to display events to users, depending on their location. You want to show events near New York to site visitors from New York.

You can achieve this, in the following way:

  1. For all of the locations that you want to cover, create a respective tag for the location.
    For example, New York, London, Paris, etc.
  2. When you create events, tag them with their locations tag.
  3. Create one user segment for each locations, so that users coming from the specified location belong to the segment.
  4. Open your home page.
  5. Expand the More dropdown box of the Events widget and click Add personalized version.
  6. Select the desired segment.
    For example, select segment New York.
  7. Configure the Events widget to display only events tagged with the respective location tag.
    For example, only events tagged with tag New York.
  8. Perform this for every location that you want to personalize.

RESULT: When a user form New York opens your home page, Sitefinity CMS will display a list of events near New York City.

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?