Click or drag to resize
GtmOrderHelper Class
Helper class that helps to map objects to Google Tag Manager order related objects.
Inheritance Hierarchy
SystemObject
  CMS.BaseCoreMethods
    CMS.BaseAbstractHelper
      CMS.BaseAbstractHelperGtmOrderHelper
        CMS.EcommerceGtmOrderHelper

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

The GtmOrderHelper type exposes the following members.

Constructors
  NameDescription
Public methodGtmOrderHelper
Top
Methods
  NameDescription
Public methodStatic memberMapOrder
Maps OrderInfo to GtmData representing Google Tag Manager order object. Order contains only data about order and do not contain order items array.
Protected methodMapOrderInternal
Maps OrderInfo to GtmData representing Google Tag Manager order object. Order contains only data about order and do not contain any order items array.
Public methodStatic memberMapOrderItems
Maps OrderItemInfos to list of GtmData representing Google Tag Manager order item object. Order items contain products array in given order and does not contain any order data.
Protected methodMapOrderItemsInternal
Maps OrderItemInfos to list of GtmData representing Google Tag Manager order item objects. Order items contain products array in given order and does not contain any order data.
Public methodStatic memberMapPurchase
Maps OrderInfo to GtmData representing Google Tag Manager purchase. Purchase consists of order and its items.
Protected methodMapPurchaseInternal
Maps OrderInfo to GtmData representing Google Tag Manager purchase. Purchase consists of order and its items.
Public methodSetAsDefaultHelper
Sets this object as the default helper
(Inherited from AbstractHelperHelperType.)
Top
See Also