public function CommerceGoogleTagManagerActionAddToCart::getCommerceEventName in Commerce Google Tag Manager 7.2
Return value
string
Overrides CommerceGoogleTagManagerBaseAction::getCommerceEventName
1 call to CommerceGoogleTagManagerActionAddToCart::getCommerceEventName()
- CommerceGoogleTagManagerActionAddToCart::execute in includes/
rules/ CommerceGoogleTagManagerActionAddToCart.php - Executes the action.
File
- includes/
rules/ CommerceGoogleTagManagerActionAddToCart.php, line 34 - This file contains the "Send Add To Cart event to GTM" action definition.
Class
- CommerceGoogleTagManagerActionAddToCart
- @file This file contains the "Send Add To Cart event to GTM" action definition.
Code
public function getCommerceEventName() {
return 'addToCart';
}