Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Searches without relevant hits in statistics always show CTR 0%

Vote:
 

Hello,

I am using Episerver Find 11.1.6.4396 version.

For statistics tracking I have used .track() method in my controller and using namespace is using EPiServer.Find.Framework.Statistics;

In CMS Edit mode for Find Searches without relevant hits in statistics always show Click-through-rate (CTR) 0%

Thanks

#180046
Jun 29, 2017 8:28
Vote:
 

There could be a few reasons....

The relavancy feature is performed entirely client side, and so relies on some javascript injected by Episerver. Some good details of the implementation are available here - http://dmytroduk.com/techblog/statistics-tracking-in-episerver-find

1) Are your tempates correctly configured to allow cjavascript to be injected by Episerver? - seehttps://world.episerver.com/documentation/Items/Developers-Guide/EPiServer-CMS/7/Client-Resources/Client-Resource-Management/

2) Are you using UnifiedSearch, by default relevancy tracking only works for results brought back from Find using the UnifiedSearch API. If you are using a Typed search you will have to do a little setup / dev to make relevancy work. This is described by Henrik here (this is a great post BTW!) - https://world.episerver.com/blogs/Henrik-Fransas/Dates/2015/2/how-to-do-custom-query-and-click-tracking-with-episerver-find/

#180052
Jun 29, 2017 10:43
Vote:
 

Hello Mark,

1) Are your tempates correctly configured to allow cjavascript to be injected by Episerver? -

Yes,I have injected  @Html.RequiredClientResources("Header") and  @Html.RequiredClientResources("Footer") in my layout file.

Okay It started working.

2) Are you using UnifiedSearch, by default relevancy tracking onl..........................

Yes I am using Unified Search.

But I have one question regarding its this If I use required client resources I am getting "NOT FOR COMMERCIAL USE" text display on Page tile. Is this because currently i am not using episerver license and I will not get this error when I will use episerver license .

#180074
Edited, Jun 29, 2017 11:27
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.