November Happy Hour will be moved to Thursday December 5th.

Gather Statistics

Vote:
 

I would like to gather search statistics through tracking code in EPiServer Find. For this I have enabled statistics by clicking add stats link under index details. In my search page I have included the EPiServer.Find.Staistics namespace. Now when I type "SearchClient.Instance.Search<IContent>().For("banana").", I dont get the Track() method on the intellisense (http://find.episerver.com/Documentation/stats-tracking). Kindly let me know if I'm missing something because of which the "Tracking()" function is not available. Thanks.

#66341
Feb 27, 2013 13:27
Vote:
 

Hi,

You're missing a using statement.

using EPiServer.Find.Framework.Statistics;

    

The docs should be updated to include that.

#66342
Feb 27, 2013 13:42
Vote:
 

Hi Joel,

Even after adding the using statement (EPiServer.Find.Framework.Statistics), I'm not getting the "Track()" method.

#66353
Feb 27, 2013 14:51
Vote:
 

Hmm, could you check that you are using the latest version of the .NET API? Preferably post what version you are using here? 

#66388
Feb 27, 2013 18:28
Vote:
 

Hi Joel,

By .NET API are you referring to the EPiServer Find API? I'm using the 1.0.0.224 version of EPiServer Find.

#66389
Edited, Feb 27, 2013 18:31
Vote:
 

Ah, the Track method was probably added later. The latest version for .NET 3.5 and EPiServer 6 is 1.0.0.278. Download it here or update via NuGet if that's how you installed it previously.

#66390
Feb 27, 2013 18:36
Vote:
 

Hi Joel,

The "Track()" function is available in 1.0.0.278. Thanks.

#66431
Feb 28, 2013 14:02
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.