Integrate Salesforce Marketing Cloud Campaign Data Sync

  • Updated

Sync your Salesforce Marketing Cloud (SFMC) email campaign data to Optimizely Data Platform (ODP) to enrich customer profiles and power segmentation, AI, and reporting.

Configure the integration in SFMC

Create an FTP user

In your SFMC account:

  1. Expand the username drop-down list and select Setup.
  2. Go to Data Management > FTP Accounts.
  3. Click Create User.
    Make note of your FTP Username, you need it later.
  4. The E-mail Address defaults to the one you use for your SFMC account. You can enter a different email if desired.
  5. Enter a Password, and verify that password in the Repeat Password field.
    Make note of your Password, you need it later.
  6. Under User Permissions, ensure Read Only is selected.
  7. Enter the following IP addresses for your region in the Allowlist IPs field, clicking Add after each one:
    • US –,,
    • EU –,,
    • AU –,,
  8. Click Next.
  9. Under Authentication Options, ensure Password is selected.
  10. Click Save.

Now, ensure that your FTP user password is not set to expire:

  1. Go to Security > Security Settings.
  2. In the Password Policies section, ensure the Exclude FTP Users From Password Expiration field is set to Yes.
  3. If the Exclude FTP Users From Password Expiration field is set to No, click Edit, select that checkbox, and click Save.

Create an installed package

In your SFMC account:

  1. Expand the username drop-down list and select Setup.
  2. Go to Apps > Installed Packages.
  3. Click New.
  4. Enter ODP Email Data Sync for the Name and click Save.
  5. Under Components, click Add Component.
  6. Select API Integration and click Next.
  7. Select Sever to Server as your integration type and click Next.
  8. On the Scope page, make the following selections:
    • Channels > Email – Read
    • Provisioning > Accounts – Read
    • Contacts > Audiences – Read
    • Contacts > Contact to Business Unit Mapping – View
    • Contacts > List and Subscribers – Read
    • Hub > Campaign – Read
    • Data > Tracking Events – Read
  9. Click Save.
  10. On the Access tab, enable the business units you want the app to target for your ODP account.
  11. Click Save.
  12. Go back to the Details tab and keep this window open because you need information from it for the next steps in ODP.

Enable the integration in ODP

In your ODP account:

  1. Go to the App Directory.
  2. Select the Salesforce Marketing Cloud Campaign Data Sync app.
  3. Click Install App.
  4. Click the Settings tab.
  5. Complete the following fields:
    • Sub Domain – Enter the Authentication Base URI from SFMC (see step 12).
    • Client ID – Enter the Client Id from SFMC (see step 12).
    • Client Secret – Enter the Client Secret from SFMC (see step 12).
    • Account ID – In SFMC, expand your account name drop-down list. The account ID is the number that displays after the account name (see step 12).
    • Business Unit – Select your desired business unit from SFMC.
  6. Enter your SFMC FTP Username and Password (from the Create an FTP user section).
    Leave the Port as the default value, which is 22.
  7. Click Verify and then Save.
The data sync is not real-time, so expect a delay for data syncing from SFMC to ODP.

(Optional) Configure a historical sync

If you want to sync historical email engagement data:

  1. Expand the Historical Sync section.
  2. Complete the start date and end date fields as desired.
  3. Click Start Sync.

View SFMC data in ODP

Now you can view your SFMC campaign data on customer profiles in ODP. If SFMC email activity syncs to ODP with an email address that already exists, the data is added to the corresponding customer profile.

These events are factored into ODP data science for churn prevention and order likelihood. They are also available in segmentation and reporting.