<?xml version="1.0"?>
<!--
/**
* Mageplaza
*
* NOTICE OF LICENSE
*
* This source file is subject to the Mageplaza.com license that is
* available through the world-wide-web at this URL:
* https://www.mageplaza.com/LICENSE.txt
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this extension to newer
* version in the future.
*
* @category    Mageplaza
* @package     Mageplaza_GoogleTagManager
* @copyright   Copyright (c) Mageplaza (https://www.mageplaza.com/)
* @license     https://www.mageplaza.com/LICENSE.txt
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
    <event name="sales_order_place_after">
        <observer name="mageplaza_gtm_create_new_order" instance="Mageplaza\GoogleTagManager\Observer\Adminhtml\CreateOrder" />
    </event>
    <event name="sales_order_creditmemo_save_after">
        <observer name="mageplaza_gtm_refund_save_after" instance="Mageplaza\GoogleTagManager\Observer\Adminhtml\CreditmemoRefundSaveAfter"/>
    </event>
</config>