StrandsScriptGeneratorGetSearchedTrackingScript Method |
Returns script which logs "searched" event to the Strands Recommender.
Namespace: CMS.StrandsRecommenderAssembly: CMS.StrandsRecommender (in CMS.StrandsRecommender.dll) Version: 8.2.23
Syntax 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:
StringGenerated JavaScript
See Also