Skip to main content

Connect Dotdigital Marketing to your WooCommerce store

Synchronise your customers' order histories and use it for better campaign targeting.

Written by Gareth Burroughes

The WooCommerce connector lets you synchronise all of your WooCommerce customers to Dotdigital Marketing. You can choose which of your WooCommerce data fields get mapped to your Marketing contact data fields and enrol new customers and new subscribers into your programs.


Before you start

Things you need to know:

  • Check out The WooCommerce integration checklist to help track your progress.

  • The WooCommerce connector is WordPress-based and on-premise. A WordPress plugin is needed to perform the install, and then a bridge file needs to be downloaded from Marketing and added to your store's root directory to complete the connection.

  • WordPress version 5.7 or later must be installed.

  • WooCommerce plugin version 6 or later must be installed.

Reconnect an existing store

If you have an existing store that is connected to another environment such as a staging environment and now need to connect it to production, you need to disconnect it and connect the live store. This requires you to repeat all the steps below, including downloading and installing the new bridge file.


Install the WooCommerce plugin

  1. Log in to your WordPress admin console.

  2. In the left-side menu, select Plugins.

  3. Select Add New Plugin.

  4. Search for dotdigital and add the Dotdigital Marketing for WooCommerce plugin.

  5. Select Install Now, then select Activate.

  6. In the left-side menu, select Marketing to open the login page.

  7. Log in to Marketing.

  8. You'll see the Almost there! message, outlining the three final steps to complete:

    • Download the bridge zip file.

    • Unzip the contents of the bridge file into your WordPress root folder.

    • Select Test connection to verify and activate the connection.


Install the bridge file

  1. In Marketing, to download the connector bridge ZIP file, expand the User menu and go to Settings > Commerce > Store.

    The page and steps aren’t available until you install our plugin and add it to your store.

  2. In your WordPress root folder, unzip the contents of the file.

    The default root folder is \var\www\html\wordpress.

  3. In Marketing, select Test connection to check and activate your WooCommerce connection.

    Once connected, WooCommerce customer and order data begins synchronizing to Marketing according to your configured field mappings.

Change to support subscribers

As WooCommerce doesn't natively support subscribers, Marketing makes an adjustment by adding a new subscribe customer field to your customers, which is a Boolean (yes/no) data type.

A Subscribe to our newsletter checkbox is added to your store's registration and checkout pages, allowing your customers to opt in.


Test connection and troubleshoot

  1. Verify the bridge installation
    First, verify that:
    https://yourstore.com/bridge2cart/bridge.php

    returns:
    BRIDGE INSTALLED.
    Version: xx

    If it doesn't, continue below.

  2. Turn off website redirects

    Website redirects can prevent the bridge file from functioning correctly. Temporarily disable redirects and test the connection again.

  3. Set bridge file permissions

    Depending on your server configuration, set the permissions for bridge.php to 644 or 666.

  4. Set bridge folder permissions

    Depending on your server configuration, set the permissions for the bridge2cart folder to 755 or 777.

  5. Allow-list connector IP addresses

    If the connection still fails, add the following IP addresses to your allow list:

    • R1 / EU: 35.158.29.16

    • R2 / US: 18.220.204.55

    • R3 / AU: 13.55.107.246


    Make sure these IP addresses are allow-listed at every layer of your site infrastructure. For example:

    • Site level: WordPress and installed plugins

    • Store level: WooCommerce and installed plugins

    • Server level: for example, Nginx

    • Hosting level: for example, Cloudflare


    If you're unsure where access restrictions are configured, contact your web developer or hosting provider.

Did this answer your question?