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

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