Articles on: Platform Integration

Integrate with Magento 2

Magento is the most common platform for SMEs. AVADA is a part of Mageplaza company and Mageplaza has been developed this extension that helps integrate AVADA Email Marketing with Magento 2.

Today I will show you how to integrate AVADA Email Marketing with Magento 2 step by step.

Now it's time to get started.

Step 1: Register account



Go to AVADA Dashboard to register an account.



If you have an account already, you can skip this step.

Step 2: Install the integration module



There are 2 methods to install this module.

1. Install via composer (recommend)



Run the following command in Magento 2 root folder:

composer require mageplaza/module-smtp
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy


2. Install from the .zip package file



Download the module here, read installation guide here.

Step 3: Setup API Key



Go to AVADA Dashboard > My Profile (on the top right) > Manage Keys




Copy App ID and Secret key



Go to your Magento 2 Dashboard > Stores > Configuration > Marketing Automation > Configuration

Enable the module and enter the above App ID and Secret key into the form, click Save Config on the top right, then flush Magento cache.



Insert the App ID and Secret key and hit on Test connection button.




Hit on the Synchronize Customers and Synchronize Orders button.
Now Abandoned carts, new contacts, new subscribers, orders will be synced to AVADA Dashboard.

Notice: If you get some errors: Cannot connect to AVADA or Wrong secret key, please kindly check if you had updated Mageplaza SMTP module to the latest version.
You can get the latest version here: https://github.com/mageplaza/magento-2-smtp

Attribute Code for Vendor: Get attribute code of an attribute in Magento as vender at AVADA Email Marketing automation

For example, if you insert Activity attribute code to Attribute Code for Vendor, Activity's attribute values are saved as Vendor value at AVADA Email Marketing automation and can be filtered at Audiences

Here is how you can do:

- At Magento 2 dashboard, navigate to Store> Attribute > Product > choose 1 attribute > Copy Attribute Code

- Go back to Configuration page at Marketing Automation, paste the copied data to Attribute Code for Vendor and then hit Save button





- At AVADA Email Marketing, select Audience > Add Filter > Vendor








Step 4: Sync order from Magento store





Sync type: Choose data type you want to sync



You will see a list of options: Customers, Orders, Subscribers, Everything. Please select your wanted type.

Choose what to sync



Choose days



You can select to sync data in a period, for example: lifetime, 90 days, 1 year, ect. Please select " Choose Date Range" if you want to sync data in a custom period.

Please note that all the records will be synchronized if the "Created From - To" is empty



Last step, please hit Synchronize Now button to start the process


Step 5: Setup Automation campaign



- Setup general configuration
- How to Setup an Abandoned Cart Email campaign
- How to set up an automation campaign

How to test?



Create a welcome new subscriber
Submit a new subscriber in Magento 2 frontend
Check AVADA dashboard > Automation > Activities. You will see the email transactions in this table.

If you have any questions or face any issues, feel free to contact us. We are willing to help.

Happy sending!

Updated on: 19/04/2022

Was this article helpful?

Share your feedback

Cancel

Thank you!