EPi find Personalization problem


Hi Team,

Episerver.find.personalization ver13.2.3

We already using recommended products on our site. Now we have to implement the personalized find but it's not working for me. Please guide how to work with the find personalization.

             System.Threading.Tasks.Task.Factory.StartNew(currentContext => { HttpContext.Current = (HttpContext)currentContext; client.Personalization().Refresh(); }, HttpContext.Current.ApplicationInstance.Context);

                    var result = client.Search<SearchResultItem>()
                                 .Filter(x => x.CatalogId.Match(Convert.ToInt32(GlobalSettings.SnSCatalogId)))
                                 .Filter(x => x.LanguageCode.Match(currentCulture.Name))
                                 .Skip((model.PageNumber - 1) * model.ItemsPerPage)

 Keys added

<add key="episerver:tracking.Enabled" value="true" />
<add key="episerver:personalization.BaseApiUrl" value="https://uat.peerius.com/xxxxxx" />
<add key="episerver:personalization.Site" value="xxxx" />
<add key="episerver:personalization.ClientToken" value="xxx" />
<add key="episerver:personalization.AdminToken" value="xxx" />

I didn't get any value in below one(prefData  is empty)

var prefData = _client.Personalization().Conventions.PreferenceRepository.Load();

if (prefData != null) {

var attributes = prefData.Attributes;


Advance Thanks

Edited, Feb 11, 2020 9:12


I am calling Personalization().Refresh() method too.

Feb 11, 2020 9:12

Hi are you calling the Refresh() method or decorating a controller with the RefreshPreferences attribute? One of these is required to get personalised search results:

See ''Retrieving attributes" here: https://world.episerver.com/documentation/developer-guides/find/personalized-find/

Edited, Feb 11, 2020 9:12
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.