Click or drag to resize
ECommerceHelperTrackAddToShoppingCartConversion Method (ShoppingCartItemInfo, String)
Tracks add to shopping cart conversion.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
public static void TrackAddToShoppingCartConversion(
	ShoppingCartItemInfo product,
	string name
)

Parameters

product
Type: CMS.EcommerceShoppingCartItemInfo
Product for which the adding to the shopping cart should be tracked.
name
Type: SystemString
Add to shopping cart conversion name. If it is set, it is used instead of the 'Add to shopping cart' conversion name from the settings.
See Also