Web developers wiki ASP.NET Sitecore Sharepoint Kentico by Evident Interactive

OMS comes with a default "Site Search" report. You have to use a little code snippet in the code behind to make sure search operations are added to the reports.

Please see this small example (our implementation uses Lucene):

Sitecore.Analytics.AnalyticsTracker tracker = new Sitecore.Analytics.AnalyticsTracker(); tracker.CurrentPage.TriggerEvent("Search", string.Format("Algemeen zoeken: {0}", SearchString), SearchString, string.Empty, resultList.Count); tracker.Submit();

SearchString = the search keyword resultList.Count = the number of total results

That's all!

 © Evident Interactive BV