Click or drag to resize
GtmProductHelperMapSKU Method
Maps SKUInfo to GtmData that represents properties and values of Google Tag Manger product.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
public static GtmData MapSKU(
	SKUInfo sku,
	Object additionalData = null,
	string purpose = null
)

Parameters

sku
Type: CMS.EcommerceSKUInfo
SKUInfo to be mapped.
additionalData (Optional)
Type: SystemObject
Data with additional non-conflicting key value pairs to be merged with sku.
purpose (Optional)
Type: SystemString
Contextual information fitting for customizations.

Return Value

Type: GtmData
The GtmData that represents Google Tag Manger product object.
See Also