Click or drag to resize
StrandsScriptGeneratorGetSearchedTrackingScript Method
Returns script which logs "searched" event to the Strands Recommender.

Namespace: CMS.StrandsRecommender.Web.UI
Assembly: CMS.StrandsRecommender.Web.UI (in CMS.StrandsRecommender.Web.UI.dll) Version: 11.0.0
Syntax
C#
public virtual string GetSearchedTrackingScript(
	string searchText,
	string itemID
)

Parameters

searchText
Type: SystemString
Text which was searched
itemID
Type: SystemString
ID of the catalog item which is being visited. Must correspond to the IDs send through catalog feed

Return Value

Type: String
Generated JavaScript
See Also