Introduction
WooCommerce is an open-source e-commerce plugin for WordPress. Due to its free base product and various customization options it is widely used, currently powering over 28% of all online stores.
The Mailjet WordPress plugin includes seamless WooCommerce integration settings, which allow you to:
- Synchronize your WordPress users with Mailjet
- Import e-commerce data for all synced WooCommerce customers into Mailjet
- Add a subscription checkbox and banner to the checkout / thank you page after a purchase
- Create and configure order notification and abandoned cart emails, which will be sent through Mailjet
Installation & Settings
Installation
To use the WooCommerce integration, you need to install the Mailjet plugin for WordPress. For detailed instructions see our dedicated WordPress User Guide.
Setup Your Mailjet Account
To configure the Mailjet plugin, click on ‘Setup account’ from the Installed Plugins page.
or go to the newly appeared ‘Mailjet’ section in your WordPress dashboard.
You will be directed to a Welcome page, which gives you a short description of how the plugin works. You will be asked to enter your Mailjet API and Secret key here.
Let’s go through the initial setup of the plugin.
Connect Your Account
Enter your Mailjet API and Secret keys in the provided fields, then click on ‘Connect your account’. To view your API Key Information, click on the My Account > API Keys link.
Synchronize WordPress Users
The next step after submitting your API and Secret key is to set up the synchronization of WordPress users with a Mailjet contact list of your choice.
Under ‘Your Mailjet contact lists’ you will see a drop-down menu containing all lists in your Mailjet account. The number of contacts present in each list is displayed next to its name. This is the total number of contacts in the list, including ones who are unsubscribed and / or excluded from receiving campaign emails.
If you want to create a new list, click on the ‘Create a new list’ link. Choose a name for it, then click on ‘Save’.
Once configured, you will add your future WordPress subscribers to the list you have selected. If you want your existing subscribers transferred to the same list, simply tick the respective checkbox.
When you are finished, click on ‘Apply & continue’.
WooCommerce Integration Settings
Enable Integration & Sync Users
To enable the WooCommerce integration, go into the Mailjet plugin settings menu and click on the ‘Integrations’ section. Then click on the slider next to ‘WooCommerce’.
WooCommerce records the customers that use your online store as WordPress users. That is why syncing your WordPress users with Mailjet will ensure that the contact information for registered WooCommerce customers is transferred to your selected Mailjet contact list.
Should you wish to change the contact list to a different one, please access the ‘Subscription options’ section in the Mailjet plugin settings.
Sync E-commerce Customer Data
Saving additional information about your synced customers in Mailjet is very useful when you want to target specific segments of your customer base with a marketing campaign, for example. Additionally, it can be used to personalize your email content.
To enable this option, tick the checkbox next to the ‘Ecommerce customer data’. The data saved will include total orders count, total amount spent, account creation date and last order date.
Subscription Opt-in in Checkout
Since Mailjet marketing campaigns can only be sent to subscribed customers, it is important to provide an option to users to subscribe themselves to your newsletter, should they be interested in doing so. This is where the ‘Opti-in inside checkout’ options come into play.
You can set up one (or both) of the following options:
- An opt-in checkbox inside the purchase checkout page
- An opt-in banner inside the “Thank you” page after users have completed their purchase
Simply tick the respective checkboxes to enable the options. You can customize the text for both the checkbox and banner from the respective fields.
Save Your Settings
Once you have set up the integration to your liking, do not forget to submit your settings by clicking on the ‘Save’ button.
Email Notifications
Overview
Through the WooCommerce integration you can enable the sending of order notification and abandoned cart emails through Mailjet. You will be able to design your notification email templates using our intuitive drag-and-drop builder, which will help you easily customize and personalize your emails.
Once you have enabled your WooCommerce integration, default templates for the available notifications will be automatically created. You will see two new items in the Mailjet plugin dashboard - ‘Order notification emails’ and ‘Abandoned cart email’.
Order Notification Emails
Under ‘Order notification emails’ you will be able to enable and customize three types of notifications:
- Order confirmation
- Shipping confirmation
- Refund confirmation
From the ‘Edit’ button next to each one you can edit your email template to your liking. If you want to learn more about the capabilities of the drag-and-drop editor, please refer to our dedicated guide.
Once you are satisfied with the templates, tick the checkboxes next to the notifications you want to enable and click on ‘Activate sending’.
In order to avoid the reception of duplicate emails by your customers, once a notification in Mailjet is enabled, the respective equivalent in the WooCommerce plugin will be automatically disabled:
- “Order confirmation” will disable “Processing order”
- “Shipping confirmation” will disable “Completed order”
- “Refund confirmation” will disable “Refunded order”
You can verify the same in the WooCommerce plugin under ‘Settings’ > ‘Email’.
All enabled sendings will appear with a ‘Sending active’ note next to them. You can edit the sending settings at any time by clicking on ‘Edit sendings’, or stop them altogether with ‘Stop all sendings’. If you disable a notification email in the Mailjet plugin, the respective notification will be automatically enabled in the WooCommerce Email settings.
Abandoned Cart Email
Under ‘Abandoned card email’ you can set the sending of email notifications to customers who have at least one item to their shopping cart, but left your store without completing the purchase.
You can select the sending time - up to 60 minutes, or up to 48 hours after cart abandonment. As with the other email notifications, you will be able to customize the email content to suit your needs via the Email Editor by clicking on ‘Edit’.
Once you are configured the settings and email content, click on ‘Activate sending’.
Troubleshooting
In case you experience any issues with the WooCommerce functionalities, we encourage you to visit the WooCommerce Docs portal.
Of course, feel free to contact our Customer Support team, in case you come across any technical difficulties with the Mailjet product - our team of specialists will be more than happy to assist you! Please visit the Mailjet ‘Contact Us’ page for more information.
Conclusion
We hope you find this guide helpful. Feel free to let us know what you think of our WordPress plug-in in general and the WooCommerce integration specifically, and especially what functionality we should do next by emailing plugins@mailjet.com.
Happy Emailing,
Mailjet Integrations Team