**/ $sMetadataVersion = '2.1'; $aModule = [ 'id' => 'vt-gtm', 'title' => '[vt] Google Tag Manager', 'description' => 'Google Tag Manager Integration for OXID eShop v6.2+', 'thumbnail' => 'thumbnail.png', 'version' => '0.5.0 ( 2021-07-17 )', 'author' => 'Marat Bedoev', 'email' => openssl_decrypt("Az6pE7kPbtnTzjHlPhPCa4ktJLphZ/w9gKgo5vA//p4=", str_rot13("nrf-128-pop"), str_rot13("gvalzpr")), 'url' => 'https://github.com/vanilla-thunder/oxid-module-gtm', 'extend' => [ \OxidEsales\Eshop\Core\ViewConfig::class => VanillaThunder\GoogleTagManager\Application\Extend\ViewConfig::class ], 'templates' => [ // separate ee-event templates for easy integration //'ga4_add_to_cart.tpl' => 'vt/GoogleTagManager/Application/views/ga4/add_to_cart.tpl', //'ga4_view_item.tpl' => 'vt/GoogleTagManager/Application/views/ga4/view_item.tpl', //'ga4_view_item_list.tpl' => 'vt/GoogleTagManager/Application/views/ga4/view_item_list.tpl', 'gtm_ua_impression' => 'vt/GoogleTagManager/Application/views/ua/impression.tpl' /* 'gtm_view_promotion.tpl' => 'vt/GoogleTagManager/Application/views/view_promotion.tpl', 'gtm_select_promotion.tpl' => 'vt/GoogleTagManager/Application/views/select_promotion.tpl', 'gtm_begin_checkout.tpl' => 'vt/GoogleTagManager/Application/views/begin_checkout.tpl', */ ], 'blocks' => [ // tag manager js [ 'template' => 'layout/base.tpl', 'block' => 'head_meta_robots', 'file' => '/Application/views/blocks/_gtm_js.tpl' ], // tag manager nojs [ 'template' => 'layout/base.tpl', 'block' => 'theme_svg_icons', 'file' => '/Application/views/blocks/_gtm_nojs.tpl' ], // add to cart [ 'template' => 'layout/header.tpl', 'block' => 'header_main', 'file' => '/Application/views/blocks/add_to_cart.tpl' ], // impressions [ 'template' => 'widget/product/listitem_grid.tpl', 'block' => 'widget_product_listitem_grid', 'file' => '/Application/views/blocks/impression.tpl' ], [ 'template' => 'widget/product/listitem_infogrid.tpl', 'block' => 'widget_product_listitem_infogrid', 'file' => '/Application/views/blocks/impression.tpl' ], [ 'template' => 'widget/product/listitem_line.tpl', 'block' => 'widget_product_listitem_line', 'file' => '/Application/views/blocks/impression.tpl' ], // details [ 'template' => 'page/details/inc/productmain.tpl', 'block' => 'details_productmain_title', 'file' => '/Application/views/blocks/detail.tpl' ], // checkout [ 'template' => 'page/checkout/basket.tpl', 'block' => 'checkout_basket_main', 'file' => '/Application/views/blocks/checkout_s1.tpl' ], [ 'template' => 'form/user_checkout_change.tpl', 'block' => 'user_checkout_change', 'file' => '/Application/views/blocks/checkout_s2.tpl' ], [ 'template' => 'form/user_checkout_register.tpl', 'block' => 'user_checkout_register', 'file' => '/Application/views/blocks/checkout_s2.tpl' ], [ 'template' => 'form/user_checkout_noregister.tpl', 'block' => 'user_checkout_noregister', 'file' => '/Application/views/blocks/checkout_s2.tpl' ], [ 'template' => 'page/checkout/payment.tpl', 'block' => 'checkout_payment_main', 'file' => '/Application/views/blocks/checkout_s3.tpl' ], [ 'template' => 'page/checkout/order.tpl', 'block' => 'checkout_order_main', 'file' => '/Application/views/blocks/checkout_s4.tpl' ], [ 'template' => 'page/checkout/thankyou.tpl', 'block' => 'checkout_thankyou_main', 'file' => '/Application/views/blocks/checkout_s5.tpl' ] ], 'settings' => [ [ 'group' => 'vt_gtm_settings', 'name' => 'vt_gtm_containerid', 'type' => 'str', 'value' => 'GTM-', 'position' => 0 ], [ 'group' => 'vt_gtm_settings', 'name' => 'vt_gtm_enable_ga4', 'type' => 'bool', 'value' => true, 'position' => 1 ], [ 'group' => 'vt_gtm_settings', 'name' => 'vt_gtm_enable_ua', 'type' => 'bool', 'value' => true, 'position' => 2 ], [ 'group' => 'vt_gtm_settings', 'name' => 'vt_gtm_mpapisecret', 'type' => 'str', 'value' => '', 'position' => 3 ], [ 'group' => 'vt_gtm_settings', 'name' => 'vt_gtm_promotionlistids', 'type' => 'arr', 'value' => [], 'position' => 4 ] ] ];