Click or drag to resize
GtmProductHelper Class
Helper class that helps to map products to Google Tag Manager product object.
Inheritance Hierarchy
SystemObject
  CMS.BaseCoreMethods
    CMS.BaseAbstractHelper
      CMS.BaseAbstractHelperGtmProductHelper
        CMS.EcommerceGtmProductHelper

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
public class GtmProductHelper : AbstractHelper<GtmProductHelper>

The GtmProductHelper type exposes the following members.

Constructors
  NameDescription
Public methodGtmProductHelper
Top
Methods
  NameDescription
Public methodStatic memberMapShoppingCartItems
Maps shopping cart items to collection of GtmData that represents properties and values of Google Tag Manger products.
Protected methodCode exampleMapShoppingCartItemsInternal
Maps shopping cart items to collection of GtmData that represents properties and values of Google Tag Manger products.
Public methodStatic memberMapSKU
Maps SKUInfo to GtmData that represents properties and values of Google Tag Manger product.
Protected methodCode exampleMapSKUInternal
Maps SKUInfo to GtmData that represents properties and values of Google Tag Manger product.
Public methodSetAsDefaultHelper
Sets this object as the default helper
(Inherited from AbstractHelperHelperType.)
Top
See Also