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.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. 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?