Try our conversational search powered by Generative AI!

Search statistics empty


I'm working on Find 15.0.0, CMS 12.23.0

We have a search page on our website that uses unified search -> 

var searchContent = searchClient.UnifiedSearchFor(s)
    .Filter(x => ((IContent)x).Ancestors().Match(parentContentLinkId))
    // Include content which inherits from XX class ie. only pages.
    .Filter(f => f.MatchTypeHierarchy(typeof(BaseClass)))
    //Include content if SearchPublishDate exist 
    .Filter(f => f.SearchPublishDate.Exists())
    //Exclude content if hide from search exist or is set to true
    .Filter(f => (f as BaseClass).HideFromSearch.Match(false))
    //Order by publish date
    .OrderByDescending(o => o.SearchPublishDate)
    .TermsFacetFor(x => x.SearchSection) // Get the facets in the query for the search section of the page

When I look in CMS there are no results/data. What could be the reason ?

Jan 17, 2024 10:43

The first thing I'd suggest checking would be whether you've included the client-side tracking script as that's required alongside the "track()" call in order to collect the stats. You should see a find.js script added to the output of your page. I'd also suggest cchecking whether you've got a content security policy in place which might block the script loading from

Jan 17, 2024 13:58

Thanks for your input.

I have now added below line


to my _layout.cshtml and after adding this I can now see find.js file 

but still no tracking. 

CSP is not a problem.

We are using vue.js on our website could that be the reason ?

Jan 18, 2024 12:00

I have the same problem.  I'm also using Vue. I already had @Html.RequiredClientResources(RenderingTags.Footer) in my layout, and find.js shows in sources.

Yet, nothing appears to be tracked, just as ZZ mentioned.

Jan 18, 2024 16:22

After containg Optimizely support team, finally I got it fixed.

I had to remove EPiServer.Find.Personalization NuGet package. I also upgraded Find.Cms package to 16.0.0 and now everthing works as expected

Remember following is also need in shared layout. I added it in the bottom of body tag 

Jan 29, 2024 13:14
* 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.