Join us this Friday for AI in Action at the Virtual Happy Hour! This free virtual event is open to all—enroll now on Academy and don’t miss out.
Join us this Friday for AI in Action at the Virtual Happy Hour! This free virtual event is open to all—enroll now on Academy and don’t miss out.
Hi,
Have you tried this?
SearchClient.Instance.UnifiedSearchFor(searchQuery).Track().GetResult()
Have you added the RenderingTags?
See more here:
https://world.episerver.com/documentation/developer-guides/find/search-statistics/tracking/
@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...
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 propertyUrl
ofUnifiedSearchHit<>
would contain tracking query parameters, but it looks (for example) like this:http://localhost:1337/se/support
.What did I miss?