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

Namespace: CMS.StrandsRecommender
Assembly: CMS.StrandsRecommender (in CMS.StrandsRecommender.dll) Version: 8.2.23
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