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

Namespace: CMS.StrandsRecommender
Assembly: CMS.StrandsRecommender (in CMS.StrandsRecommender.dll) Version: 8.2.23
Syntax
C#
public virtual string GetVisitedTrackingScript(
	string itemID
)

Parameters

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
JavaScript code which logs "visited" event
See Also