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".
- Create new site "Personalization-Demo".
- Add public page "Personalized-News".
- Inside created site add vocabulary "News";
- Add the categories to "News" vocabulary: "Sports", "Cars", "Dogs", "Cats":
- Create sample Web Content articles, and associate them with categories:
(add article for each category)
- Create UserGroups to group users according to their preferences: "Sports Lovers", "Cars Lovers", "Dogs Lovers", "Cats Lovers":
Create a user for each UserGroup, add them to created site ("Personalization-Demo") and to appropriate UserGroup. For example, for "sports-lover@liferay.com":
Finally, you should have the following list of users:
Create a segment for each UserGroup:
Finally, you should have the following list of segments:
- Create "Dynamic" Content Set "News", and add "Personalized Variation" for each segment.
- For each segment configure asset selection as Web Contents with appropriate category:
Add Asset Publisher portlet to "Personalized-News" page. Configure it to use created content set:
Sign in with one of the created users, and check if personalized news are displayed for him in the Asset Publisher:
Comments
Post a Comment