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

Namespace: CMS.StrandsRecommender.Web.UI
Assembly: CMS.StrandsRecommender.Web.UI (in CMS.StrandsRecommender.Web.UI.dll) Version: 12.0.0
Syntax
C#
public virtual string GetPurchasedTrackingScript(
	string orderID,
	IEnumerable<StrandsPurchasedEventData> orderData
)

Parameters

orderID
Type: SystemString
ID of the order
orderData
Type: System.Collections.GenericIEnumerableStrandsPurchasedEventData
Information about products which were purchased

Return Value

Type: String
Generated JavaScript
Exceptions
ExceptionCondition
ArgumentNullExceptionorderData is null
See Also