Skip to main content
Quick start: Configuration guide - Magento 1

Start-to-finish instructions for users who are attempting to install and configure the connector for the first time.

Gareth Burroughes avatar
Written by Gareth Burroughes
Updated over 9 months ago

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 in the Magento 1 section of our Help Centre.


Pre-installation health check

Compatibility

The Dotdigital 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 +

Conflicts

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.

Here's 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.

Have 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 Dotdigital account. If you're configuring multiple sites to multiple Dotdigital accounts, you must follow the entire process for each separate Dotdigital account you have.


Installation

The installation of the Magento 1 connector can only be completed through FTP.

It's recommended to install the connector on a staging or development site prior to production.

  1. Download the files to the connector from GitHub.

  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 in GitHub.

  4. Clear or disable the cache before installing the extension.

  5. Log out for the ACL to update and log in again.


Credentials

Create an API User

To enable the connector to communicate with your Dotdigital account and allow data synchronisation, you must enter valid Dotdigital 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.

Learn how in Create an API user.

Create a transactional email user

You can make use of Dotdigital'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 want to use Dotdigital's EasyEditor to create and manage transactional emails for Magento, learn more in Transactional email templates - Magento 1.

To use the transactional service a transactional user must be created.

Enter API credentials in Magento

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

    Screen_Shot_2018-03-09_at_1.57.40_PM.png

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

    Screen_Shot_2018-03-09_at_1.32.11_PM.png

  3. Select Save Config.
    A confirmation is message is displayed notifying you the credentials are valid.

Enter transactional credentials in Magento

  1. In Magento, go to System > Configuration, and select Transactional Emails from the DOTMAILER menu.

    Screen_Shot_2018-03-09_at_2.02.40_PM.png

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

    • r1-smtp.dotdigital.com if you have an account belonging to region 1 (Europe)

    • r2-smtp.dotdigital.com if you have an account belonging to region 2 (North America)

    • r3-smtp.dotdigital.com if you have an account belonging to region 3 (Asia)

      Screen_Shot_2018-03-09_at_1.44.15_PM.png

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

    Screen_Shot_2018-03-09_at_1.44.54_PM.png

  4. Select Save.


Custom from address

Remember to setup the account's default Custom from address.

To do this:

  1. In Dotdigital, expand the User menu and select Settings.

  2. Go to Transactional email > From addresses.

  3. Select the Set default radio button for the from address you want to use.

Learn more about custom from addresses in Sending with a custom from address.


Map data fields

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

To do this:

  1. In Magento, select Developer from the DOTMAILER menu.

    Screen_Shot_2018-03-09_dev.png

  2. Under Sync Settings, select Run Now next to Automap Data Fields. After a few moments, the page is reloaded with a success message.

Screen_Shot_2018-03-09_at_2.06.55_PM.png

Lists

The connector synchronises contacts to three different lists 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 using guest checkout. These contacts are neither a customer or a subscriber.

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

Create a list

Lists can be created directly within the connector or within your Dotdigital account. To create a list from within the connector:

  1. Select Sync Settings from the DOTMAILER menu.

    Screen_Shot_2018-03-09_sync.png

  2. Select Create New Address Book.
    Address book is the previous name for a list in Dotdigital.

  3. Enter a name for the list, then expand the Visibility drop-down menu and select either Private or Public.
    Public means that contacts can see and unsubscribe from the list through a Dotdigital preference centre.

  4. Select Create New Address Book.

    Screen_Shot_2018-03-09_at_2.13.37_PM.png

  5. Repeat steps 2-4 for all the lists you need to create.

Map lists

Under Address Book Mapping, select the appropriate lists from the drop-down menu to map your customers, subscribers and guests to.

Screen_Shot_2018-03-09_at_2.17.52_PM.png

Select Save Config in the top right to confirm your mappings.


Tracking

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 manage site tracking:

  1. In Magento, go to Configuration from the DOTMAILER menu.

    Screen_Shot_2018-03-09_config.png

  2. Under Tracking, select Yes for ROI Tracking Enabled and/or Page Tracking Enabled.

    Screen_Shot_2018-03-09_at_2.23.41_PM.png

  3. Select Save Config.


Easy email capture

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

To enable this:

  1. In Magento, go to Configuration from the DOTMAILER menu.

  2. Under Abandoned Carts, select Yes for Easy Email Capture (Checkout) and/or Easy Email Capture (Newsletter).

    Screen_Shot_2018-03-09_at_2.27.11_PM.png

  3. Select Save Config.


Order sync settings

Import Status

You have the option to only import and synchronise orders of a certain status, rather than all orders. 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 with a Complete status.

To do this:

  1. In Magento, go to Configuration from the DOTMAILER menu.

  2. Under Transactional Data section, expand the Import With Status drop-down menu and select the order status types you want to import.

    Screen_Shot_2018-03-09_at_2.31.31_PM.png

  3. Select Save Config.

Custom Attributes

In addition to our standard default order data fields, you have the option to synchronise 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.

To do this:

  1. Under Transactional Data, expand the Order Custom Attributes drop-down menu and select the attributes you want to include in the import.

    Screen_Shot_2018-03-09_at_2.34.59_PM.png

  2. Select 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.


Catalog sync settings

The connector provides the facility to map and synchronise your product catalog to your Dotdigital account. With your product catalog synchronised, you can insert products into campaigns using the Products building block, or setup Product recommendations.

You can choose to sync products of a certain visibility or product type rather than all products. This allows you to keep your catalog organised by excluding products that are no longer relevant on your site.

To do this:

  1. In Magento, go to Configuration from the DOTMAILER menu.

  2. Under Catalog Sync Settings, select the Catalog Values, Product Visibility and Product Types you want to sync.

    catalog_settings.png

  3. Select Save.

Broken product images?

Try setting the Store Value to Store. This uses the store URL for the image path instead of the admin URL.


Enable synchronisation

After lists have been mapped and your order settings configured, you can enable the sync.

  1. Go to Sync Settings from the DOTMAILER menu.

  2. Under Sync, select Yes for all sync types you would like to enable.
    Most users enable Customer, Subscriber, Guest, Order and Catalog.

Screen_Shot_2018-03-09_at_2.38.53_PM.png

Within 15 minutes, contacts and Insight data should begin to be batched.

Learn more

Advanced data sync options:

Delay

When you enable order synchronisation for the first time, there's 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 data syncing from Magento into Dotdigital is taking place.

Contact sync report

Contacts that are successfully batch to be imported should be marked as imported with a green tick. To view this, go to Marketing Automation > Reports > Contacts Sync

Screen_Shot_2018-03-09_at_2.46.34_PM.png

Importer status

Batched contacts or orders are shown here. Once the importer cron has run, an import should be marked with a status of Importing. Shortly after, data should appear in Dotdigital. To view this, go to Marketing Automation > Reports > Importer Status.

Screen_Shot_2018-03-09_at_2.45.48_PM.png

Troubleshooting data sync

Cron

Confirm Dotdigital (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. To do this, go to 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.


Abandoned cart: email series

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 that only 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 a customer's cart in the body of the emails you send.

Creation

Abandoned carts uses a series of triggered email campaigns.

To create a triggered campaign:

  1. In Dotdigital, go to Automation > Triggered email.

  2. Select ADD NEW.

  3. Enter your campaign details and then, in EasyEditor, drag an External dynamic content block into your campaign.

  4. Return to Magento and go to Dynamic Content.

  5. Under External Dynamic Content URLs, copy the Cart Content URL.

    Screen_Shot_2018-03-09_at_8.26.46_PM.png

  6. In your Dotdigital email campaign, paste the Cart Content URL into the Address field of the External dynamic content block, then select APPLY.

  7. Design the rest of your campaign as you want it, then select SAVE.

Learn more in the Design a campaign with EasyEditor section of our Help Centre.

Configuration

Once you've created your abandoned cart campaigns:

  1. In Magento, go to Abandoned Carts from the DOTMAILER menu.

  2. The page is broken down into two sections, for Customers and Guests. For each section, enable the amount of abandoned cart emails you want to send.

  3. Choose the time delay and campaign for each section.

    Screen_Shot_2018-03-23_at_3.05.16_PM.png

  4. Select Save Config.

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 can check the status of abandoned cart emails using the Campaign Sends report. To view this, in Magento, go to Marketing Automation > Reports > Campaign Sends.

Screen_Shot_2018-03-23_at_3.32.39_PM.png

The report shows you whether abandoned cart emails are being queued for sending, whether they are being sent to Dotdigital and whether there are any failures. You can sort and filter this report in a number of ways to find the information you're looking for.

Screen_Shot_2018-03-23_at_4.00.22_PM.png

Troubleshooting abandoned carts

External dynamic content

Confirm the external dynamic content link that you’re using in your campaign is correct . To check this, select Dynamic Content from the Dotdigital menu in Magento.

Cron

Confirm ddg_automation_abandonedcarts and ddg_automation_campaign cron jobs are running. Without both of these running abandoned cart emails aren't batched or sent.

Conflict

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

Did this answer your question?