StrandsScriptGeneratorGetSearchedTrackingScript Method |
Returns script which logs "searched" event to the Strands Recommender.
Namespace: CMS.StrandsRecommender.Web.UIAssembly: CMS.StrandsRecommender.Web.UI (in CMS.StrandsRecommender.Web.UI.dll) Version: 12.0.0
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