Personalized Experience for Asset Publisher with Content Sets

Personalized Experience for Asset Publisher with Content Sets

Introduction

This tutorial explains how to create personalized experience for users with Asset Publisher portlet and Content Sets.
We'll create demo categorized Web Content, Users and UserGroups, Segments for each UserGroup, and ContentSet with Variations for each Segment.
For demo purposes we'll use the following categories: "Sports", "Cars", "Dogs" and "Cats".

Configuration

1 - Create a Site

  • Create new site "Personalization-Demo".
  • Add public page "Personalized-News".

2 - Create Categories

  • Inside created site add vocabulary "News";
  • Add the categories to "News" vocabulary: "Sports", "Cars", "Dogs", "Cats":
images/01-categories.png

3 - Create Sample Content

  • Create sample Web Content articles, and associate them with categories:
images/02-content.png
(add article for each category)

4 - Create UserGroups

  • Create UserGroups to group users according to their preferences: "Sports Lovers", "Cars Lovers", "Dogs Lovers", "Cats Lovers":
images/03-usergroups.png

5 - Create Users

Create a user for each UserGroup, add them to created site ("Personalization-Demo") and to appropriate UserGroup. For example, for "sports-lover@liferay.com":
images/04-users.png
Finally, you should have the following list of users:
images/05-users.png

6 - Create Segments

Create a segment for each UserGroup:
images/06-segments.png
Finally, you should have the following list of segments:
images/07-segments.png

7 - Create Content Set

  • Create "Dynamic" Content Set "News", and add "Personalized Variation" for each segment.
  • For each segment configure asset selection as Web Contents with appropriate category:
images/08-content-set.png

8 - Configure Asset Publisher

Add Asset Publisher portlet to "Personalized-News" page. Configure it to use created content set:
images/09-ap-config.png

Checking Results

Sign in with one of the created users, and check if personalized news are displayed for him in the Asset Publisher:
images/10-personalized-news.png

Comments

Popular posts from this blog

Liferay Search Container Example

Liferay DXP - max upload file size

Liferay Keycloak integration