<?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="checkout_cart_add_product_complete">
        <observer name="addtocart" instance="Mageplaza\GoogleTagManager\Observer\AddToCart"/>
    </event>
    <event name="sales_quote_remove_item">
        <observer name="remove_from_cart" instance="Mageplaza\GoogleTagManager\Observer\RemoveFromCart"/>
    </event>
    <event name="wishlist_product_add_after">
        <observer name="add_to_wishlist" instance="Mageplaza\GoogleTagManager\Observer\AddToWishlist"/>
    </event>
    <event name="customer_login">
        <observer name="customer_login_observer" instance="Mageplaza\GoogleTagManager\Observer\CustomerLogin" />
    </event>
    <event name="customer_register_success">
        <observer name="customer_register_success_observer" instance="Mageplaza\GoogleTagManager\Observer\CustomerSignUp"/>
    </event>
</config>
