<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <type name="Magento\Newsletter\Model\Subscriber">
        <plugin name="mailchimp-subscriber-dinhvan" type="Dinhvan\Mailchimp\Model\Plugin\Subscriber" sortOrder="20"/>
    </type>
    <preference for="Ebizmarts\MailChimp\Observer\Subscriber\SaveAfter" type="Dinhvan\Mailchimp\Observer\Subscriber\SaveAfter" />
</config>
