Configuration guide - Magento 1


  1. Pre-Installation Health Check
  2. Connector Installation
  3. dotmailer Account Setup
  4. API and Transactional Credentials
  5. Mapping Data Fields
  6. Address Books
  7. Tracking
  8. Easy Email Capture
  9. Order Synchronisation
  10. Enable Synchronisation
  11. Abandoned Carts



This comprehensive guide provides start to finish instructions for users who are attempting to install and configure the connector for the first time.  It focuses on the most important things you need to know, and do, in order to get going. 

This guide doesn't cover advanced features. Full and comprehensive guidance can be found at dotmailer for Magento.

Pre-Installation Health Check


The dotmailer for Magento connector is compatible with both Community and Enterprise platforms of Magento.

  • For Community we're compatible with 1.6.1 +
  • For Enterprise we're compatible with 1.11.1 +


While every site is different, the connector could potentially come into conflict with other extensions. For example, abandon cart extensions and other SMTP tools could also possibly come into conflict with the connector, and this makes it important to state these during the installation process.

File Permissions

  • Requires full access (0777) to the var/export directory or full access to the CRON user running on the server.

Cron Tasks

The connector has several cron tasks attached with the install to ensure the connector functions correctly. Below is a list of current tasks and their timings:

  • ddg_automation_abandonedcarts - 5 minute intervals
  • ddg_automation_campaign - 5 minute intervals
  • ddg_automation_catalog_sync -15 minute intervals
  • ddg_automation_cleaner – 1st of every month
  • ddg_automation_customer_subscriber_guest_sync - 15 minute intervals
  • ddg_automation_importer – 5 minute intervals
  • ddg_automation_order_and_quote_sync - 15 minute intervals
  • ddg_automation_reviews_and_wishlist - 15 minute intervals
  • ddg_automation_status -15 minute intervals

The cron heartbeat should be running every 5 minutes to action the required tasks.

^ Back to Top


The installation of the Magento 1 connector can only be installed via FTP.  It is recommended to install the connector on a staging or development site prior to production.

  1. Download the files to the connector from GitHub located at
  2. Download it as a ZIP and unzip the file.
  3. Drop/move all of the source folder content inside the unzipped file into the corresponding destination folders. Destination folders can be found at
  4. Clear cache or disable the cache before installing the extension.
  5. Log out for the ACL to update and log in again.

^ Back to Top

Account Setup

To begin login to the dotmailer account that you will be connecting the Magento instance to. The login page can be found at

Multiple Websites

The connector supports multiple websites.  If there are multiple sites within the same Magento instance then we recommend you link one site to one dotmailer account.  If you are configuring multiple sites to multiple dotmailer accounts, you will need to follow the entire process for each separate dotmailer account you have.

Custom From Address

Custom from addresses (CFA’s) help achieve better delivery rates, builds your online brand and protects your business's domain name.

To setup and configure the account default CFA select Campaigns and click Advanced Features.


Form the 'Advanced Features' page click the From Address tab.


A list of CFA's will be displayed.  Choose the CFA you want to choose by choosing the radio button under the “Set default” column


To setup, the default forwarding address click the pencil icon and enter the forwarding address in the “Unknown mail forward.”  Click Save when finished.


^ Back to Top


Create API User

To enable the connector to communicate with your dotmailer account and allow data synchronisation, you need to enter valid dotmailer API credentials.  API user credentials are made up of a username and password, and are required to authenticate each operation/method call that's made and to make sure you're connected to the correct account. 

Click on the person-and-cog icon in the bottom left corner to produce the settings menu and select Access.


A settings menu will appear;  select the API users tab and click on New user.


Create Transactional User 

You can make use of dotmailer's transactional email service to send, manage and track all of your transactional emails. The transactional service acts as a delivery mechanism for all the transactional emails such as order and shipping confirmations.  If you are looking to use dotmailer's easy editor to create and manage transactional emails for Magento please review the Transactional email templates article.

To use the transactional service a transactional user must be created. This process is similar to creating an API user. Select Access from the settings menu that appears when clicking the person-and-cog icon in the bottom left corner of the screen.


A settings menu will appear; select the Transactional email users tab and then click on New user to enter the details.


Enter API Credentials in Magento

Return to your Magento admin panel and select the API Credentials option from the Marketing Automation menu item.


Set 'Enabled' to Yes and then enter the credentials (username and password) of the API user just created


When finished click Save Config.  A confirmation is message is displayed notifying you the credentials are valid.


Enter Transactional Credentials in Magento

From Magento select Transactional Emails from the dotmailer menu.  The menu can be accessed under System >> Configuration.


Select Yes to enable the feature then enter the hostname, username and password.

  • if you have an account belonging to region 1 (Europe)
  • if you have an account belonging to region 2 (North America)
  • if you have an account belonging to region 3 (Asia)


Select an open port. Your options are 25,587 and 2525.


Click Save when finished.

^ Back to Top

Mapping Data Fields 

In addition to the basic contact information, the connector provides you the ability to map over 40 key retail information that you store on contacts from your Magento website to your dotmailer account.

To map the fields automatically choose the Developer option from the dotmailer menu.


Under the Sync Settings sections choose Run Now next to the 'Automap Data Fields' option. After a few moments, the page is reloaded with a success message.


^ Back to Top

Address Books 

The connector synchronises contacts to three different address books for three Magento contact types:

  • Customers - Registered customers of your Magento site that have a customer account.
  • Subscribers - Contacts who have opted into newsletter subscription on your site.
  • Guests - Email addresses from an order placed via guest checkout. They are neither a customer or a subscriber.

Before synchronisation begins, you need to create these address books so they can be selected and mapped to from within the connector.


Address books can be created directly within the connector or within your dotmailer account.  To create address books from within the connector select the Sync Settings from the dotmailer menu.


Select the Create Address Book section towards the bottom of the page. Provide the address book a name and select the visibility. Selecting 'public' means contacts will be able to join or unsubscribe from it.  When finished, click Create New Address Book.


Repeat the steps above until all address books are created.


Under the Address Book Mapping section choose the appropriate address books from the drop-down menu to map your customers, subscribers and guests to.


When finished with your mapping, select Save Config in the top right.

^ Back to Top


Site tracking enriches your data and your understanding of your contacts' engagement with your site, whilst ROI tracking gives you a greater appreciation of your campaigns' ROI conversion rates.

To take advantage of this feature choose the Configuration option from the dotmailer menu.


Under the tracking section select Yes for 'ROI Tracking Enabled' and/or 'Page Tracking Enabled' from the dropdown.


When finished making your selections click Save Config.

^ Back to Top

Easy Email Capture

Easy email capture allows you to capture your site's user's email addresses when they haven't fully completed your checkout process or newsletter sign up process.

To enable this feature choose the Configuration option from the dotmailer menu.


Under the Abandoned Carts section select Yes for “Easy Email Capture (Checkout)” and/or “Easy Email Capture (Newsletter)”.


When finished making your selections click Save Config.

^ Back to Top

Order Synchronisation

Import Status

You have the option to only import and synchronise orders of a certain status, rather than all of them. For example, you might only be interested in sending campaigns or running segments based on orders that have been fulfilled. In this case, you might only want to import orders in a “Complete” status.

All the order data settings outlined below are located in the Configuration option from the dotmailer menu 


Under the Transactional Data section choose the status types to be imported from the "Import With Status" list.


When finished making your selections click Save Config.

Custom Attributes

In addition to our standard default order data fields, you have the option to synchronize custom order attributes. This list comprises all of the order attributes that are available within the Magento system, allowing you to segment and send content based upon these too.

Under the Transactional Data section choose the attributes to be included in the import from the "Order Custom Attributes" list.


When finished making your selections click Save Config.

Future Adjustments

Changes made to custom order attributes are reflected in new imports run after the adjustment has been made. To include these in previous imports the order insight collection must be deleted and the data re-imported


^ Back to Top

Enable Synchronisation 

After address books have been mapped and your order settings configured you can enable the sync.  Return to the Sync Settings page by selecting Sync Settings from the dotmailer menu.


Under the Sync section select Yes to all sync types you would like to enable. Most enable Customer, Subscriber, Guest and Order.


Within 15 minutes contacts and insight data should begin to be batched.  Details for advanced synchronisation options such as Quote, Whistlist and Review can be found at dotmailer for Magento


When enabling order synchronisatoin for the first time there is an hour delay prior to importing the order information. This delay is in place to prevent order imports from failing due to missing contacts.

Status Check

There are several ways to check that that data syncing from Magento into dotmailer is taking place.

Contact Sync Report

Contacts that are successfully batch to be imported should be marked as imported with a green tick.  This is accessed under Marketing Automation > Reports > Contacts Sync


Importer Status 

Batched contacts/orders should exist in this report. Once the importer cron has run an import should be marked with a status of 'Importing‘. Shortly after data should appear in dotmailer.  This is access under Marketing Automation > Reports > Importer Status




Confirm dotmailer (ddg) cron jobs are running. Cron is a vital part of making sure your data syncing happens correctly. We recommend installing the AOE Scheduler to give you a real-time view of the tasks running throughout your site, as well as giving you the ability to manage and configure your cron jobs.

API user

Confirm API credentials are active and valid.  You can view the status of the API credentials on the dashboard.  The dashboard can be accessed under Marketing Automation >> Dashboard >> Connector Status.


Sync Enabled

Confirm at least one contact sync is turned on.

Check Permissions

Requires full access (0777) to the var/export directory or full access to the CRON user running on the server.

^ Back to Top

Abandoned Cart

Abandoned cart emails are an important tool and key sales recovery strategy for ecommerce businesses. Research by marketing industry experts has suggested that around 70% of online consumers abandon carts. That means about one in three carts gets checked out first time.

Abandoned carts are setup and configured directly within the interface of the connector and can be sent to customers and guests. Customers and guests can receive up to three different emails that are scheduled for different time intervals. If your Magento instance has more then once website, you can configure different emails and settings per website.

Using external dynamic content (EDC), you can include the contents of their cart within the body of the emails you send.


Abandoned carts uses a series of trigger campaigns.  To create and build trigger campaigns login to your dotmailer account.  From the main page choose the Automation menu item and then choose Trigger Campaign Content.  


Access the email content and drag the External Dynamic Content building block into the location where you would like the cart content to be displayed.


Return to Magento and navigate to Dynamic Content.  


Copy the Abandoned Cart URL then return to the campaign in dotmailer.


Select the External Dynamic Content building block. Paste the Abandoned Cart URL previously copied to the 'Address' field then click Apply.  


When done editing the campaign content click Save

New to Automation?

If you are new to program building we suggest you watch the Automation training videos or review our Automation section.


After the campaigns have been created access the Abandoned Carts menu item from Magento


The page is broken down into two sections for Customers and Guests. Go through each section and enable the amount of abandoned cart emails you require.  Choose the time delay and Campaign to Send from each section as well.


When finished click the Save Config button.

Multiple Websites?

If you need to setup abandoned carts for separate websites select the website name from the site drop-down and then navigate to the Abandoned Cart menu item.

Status Check

You are able to check the status of abandoned cart emails by access the Campaign Sends report.  This can be access from the Marketing Automation menu item and then clicking 'Reports'


By reviewing this report you are able to tell whether abandoned cart emails are being queued for sending, whether they are being sent to dotmailer and whether anything is failing.  You can sort and filter this report in a number of ways to find the information you're looking for. 



External Dynamic Content

Confirm the external dynamic content link is correct that you’re using for pulling abandoned carts information into your campaign content. To check this select Dynamic Content from the dotmailer menu in Magento.


Confirm ‘ddg_automation_abandonedcarts’ and ‘ddg_automation_campaign’ cron jobs are running. Without both of these running abandoned cart emails will not be batched or sent.


Disable extensions you might have used previously to send abandoned cart emails


Have more questions? Submit a request