Removing email campaign data from Salesforce

Learn how to delete unwanted email campaign data from Salesforce.


Each email campaign data record in Salesforce occupies at least 2KB of memory. You can free up some of this storage by removing data records for completed or outdated email campaigns.

Before you start

Things you need to know:

  • You need to be a Salesforce administrator to remove email campaign data.

Delete campaign data

To delete email campaign data form Salesforce:

Step 1: Restrict the data options for the email campaigns

  1. Go to Configuration.
  2. Expand the Settings drop-down menu and select Sync options, and then the Data Options tab.
  3. Clear the checkboxes for the data types you want to remove from Salesforce, then select Select Email Campaigns.
    If you want to remove this data for all email campaigns, then select All Email Campaigns.
  4. Select the checkboxes for the email campaigns you want to remove data for.
  5. Select Apply to Selected.
  6. Select Save.

Step 2: Remove email campaign data from leads and contacts

To remove data for selected email campaigns from contact and lead records:

  1. Go to Email Campaigns.
  2. Expand the drop-down menu to the right of your chosen campaigns, then select Delete.
  3. In the dialogue box that opens, select Delete to confirm.

Following the next synchronisation, the selected email campaigns are imported with only the email campaign data options that you left selected in Step 1. This data is also added to the associated contact and lead records.

You need to remove the email campaign data from the Salesforce recycle bin before the Salesforce storage is reduced.

Delete Operation Limit

Salesforce has a limit on the amount of objects that can be deleted at a given time. You may not be able to delete campaigns that contain over 100,000 combined objects. Instead, you can use the Clear Email Campaign Data option.

To do this:

  1. Go to Email campaigns.
  2. Select the email campaign name.
  3. Select Advanced.
  4. Select the checkboxes for the data types you want to delete, then select Clear Email Campaign Data.
Did you find this article helpful?

Can we help?

Thanks for using Dotdigital. If you need more help or support, then contact our support team.