You are here

constant EnhancedEcommerceEvents::ALTER_PRODUCT in Commerce Google Tag Manager 8.2

Same name and namespace in other branches
  1. 8 src/Event/EnhancedEcommerceEvents.php \Drupal\commerce_google_tag_manager\Event\EnhancedEcommerceEvents::ALTER_PRODUCT

Allows to alter the GTM Product field mapping.

Allows alteration of field mapping from Commerce product to a GTM Product. Use this event to alter data Product before it gets pushed to data layer.

See also

\Drupal\commerce_google_tag_manager\Event\AlterProductEvent

File

src/Event/EnhancedEcommerceEvents.php, line 20

Class

EnhancedEcommerceEvents
Defines events for the Commerce Google Tag Manager Enhanced Ecommerce module.

Namespace

Drupal\commerce_google_tag_manager\Event

Code

const ALTER_PRODUCT = 'commerce_google_tag_manager.alter_product';