Note: This is legacy content because Episerver Advance was replaced by Episerver Content Recommendations. If you are using Episerver Advance, you should upgrade your solution. See also Discontinued services and products.
This topic describes how to configure a strategy block for users to display recommendations on pages based on a strategy, like most popular or most viewed. See also Episerver Strategy container block for information about how it works.
How it works
Advance API must have input for its tracking and analyzing. Your site must have the following NuGet packages installed for the Strategy block to work.
- EPiServer.Personalization.CMS.UI. Installs the Strategy block to Episerver.
- EPiServer.Tracking.PageView. Tracks and analyzes recommendation data. See Page view tracking.
To use the Episerver Advance service, you need to update RecommendationServiceKey, RecommendationServiceSecret and RecommendationServiceUri in the web.config as follows with key and secret key values that you received from customer support.
<add key="episerver:RecommendationServiceKey" value="your-advance-service-key" />
<add key="episerver:RecommendationServiceSecret" value="your-advance-service-secret" />
<add key="episerver:RecommendationServiceUri" value="https://advance.episerver.net" />
<add key="episerver:profiles.TrackingApiBaseUrl" value="ChangeThis" />
<add key="episerver:profiles.TrackingApiSubscriptionKey" value="ChangeThis" />
The Advance API removes recommendations for in-active content once per day. Content that is permanently deleted, moved to trash, or no one visited for a day will not appear in the recommendations. Advance retrieves 5 recommendations to replace any invalid (deleted) content.
Related topics
- Episerver Strategy container block
- Using Tracking.Core API with Profile Store
- Page view tracking
- Personalization integration guides
- Sample code on GitHub
- Personalization blog
Last updated: Aug 05, 2020