Try our conversational search powered by Generative AI!

No tracking in unified search result


I'm trying to enable statistics and tracking for my Episerver Find queries. The only thing I've done is adding .Track() in the query - for example, SearchClient.Instance.UnifiedSearchFor(query, Language.Swedish).Filter(x => ...).Track().GetResult(). My expectation is that the property Url of UnifiedSearchHit<> would contain tracking query parameters, but it looks (for example) like this: http://localhost:1337/se/support.

What did I miss?

Edited, Jan 10, 2020 17:21


Have you tried this?

Jan 10, 2020 19:03
Jan 10, 2020 20:10

@Ravindra - I don't see why that would change anything. @Henrik - At that point I had not added it, but it would be really wierd if the Find query result would depend on something in a layout file.

Anyway - I did both your suggested changes and it worked. Then I removed them. Still worked. So now I have changed nothing and it somehow works. Seems stable...

Jan 12, 2020 19:17
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.