How auto-deletion works
The deletion task runs every night, based on the time zone set for your account. Retention periods are counted like this:
Daily deletion limits:
- 20 million actions.
- 30 million segment transitions.
- 300,000 customers (the speed depends on how many actions each customer has).
- 2.5 million touchpoints.
- 10 million customer change records.
- 20 million promo codes.
- 100,000 products.
Customer actions
Actions that are never deleted
- Customer registration actions, per brand.
- A customer’s first actions, per brand.
- Edit actions tied to an order or a balance change.
- Actions that changed the customer’s subscriptions.
- Actions tied to the latest discount card status.
Old customer data change actions
Everything that adds an entry to the Change history tab, except the actions listed under Actions that are never deleted. For the period where actions were deleted, the customer’s change history shows a note about it.Old product and category views
Every action in these categories:- Personal actions — Content consumption and product views — Product or category view
- Actions on the customer — Error correction and other technical actions — Product list changes
Old additions and removals of products in product lists
- Personal actions — Content consumption and product views — Add product to Favorites or Cart / Remove product from Favorites or Cart / Set product list
- Actions on the customer — Error correction and other technical actions — Product list changes
Old site visit actions
Every action in the Personal actions — Registration — Site visit category.Old recommendation widget actions
Every action in these categories:- Actions on the customer — Site personalization — Widget shown
- Personal actions — Site personalization — Click on product in widget
Old pop-up actions
Every action in these categories:- Actions on the customer — Site personalization — Pop-up shown
- Personal actions — Site personalization — Pop-up click
Old embedded block actions
Every action in these categories:- Actions on the customer — Site personalization — Embedded block shown
- Personal actions — Site personalization — Embedded block click
Intermediate order actions
Every order action older than the retention period, except the first and the last. The exception is actions that change a balance. For example, a partial return after a bonus points promotion was applied to the order creates an intermediate action that deducts points — that action isn’t deleted.Add a deletion criterion
Pick the action templates to delete. You can narrow them down by campaign, brand, or category, just like in a regular filter. To work out which action templates are worth deleting, use the billable data report. You can create several criteria with different retention periods.Campaign participations
Old campaign participations
Every campaign action and status: participations, sends, failed sends, undeliveries, opens, clicks, and unsubscribe requests. The stats stay in the campaign itself and in the campaigns report.Old campaign participations with no response
Every campaign action customers didn’t engage with — no opens, clicks, or unsubscribe requests. If a customer engages with a campaign after its send data is deleted, those actions don’t reach your account. The stats stay in the campaign itself and in the campaigns report.Products in product lists
Each product in a list has the date it was last changed. You can set how long a product stays in a specific list before it’s removed. No removal action is issued.Segment transition history
Customer segment transitions
Entering and leaving a segment both count as actions. That’s what lets you see a customer’s segment history in their profile and build filters on it. Auto-deletion removes segment transition records older than the period you set. What it removes depends on whether the customer is in the segment right now:- The customer is in the segment. The latest record of them entering the segment is kept, whatever its date and the retention period.
- The customer left the segment. Every transition record (both entering and leaving) older than the retention period is deleted.
Auto-deletion doesn’t touch:
- segments on the exclusion list,
- system segmentations (control group, contact frequency, and others).
Product segment transitions
Works the same way.Delete customers by filter
Use this to delete customers automatically — for example, customers without valid contacts, or customers who’ve been inactive for six months or more. It creates a task where you can see the Maestra ID, external identifiers, email, and mobile phone of the deleted customers.Touchpoints
Deletes touchpoints that have no linked actions and were created before the period you pick.Promo codes
Deletes promo codes created before the retention period you pick. These promo codes are never deleted:- promo codes used in an order,
- promo codes issued with no expiration date,
- issued promo codes that haven’t expired yet.
Products
Deletes products that match the filter you pick and haven’t been updated for longer than the retention period. You choose the product filter when you add the criterion. You can create several criteria with different filters and retention periods. A product isn’t deleted if it:- is in any orders,
- is in any customer actions,
- is in any product lists or their change history,
- is in any product views,
- is picked in the Products block of a running promotion, with the products from list option,
- is linked to gift cards.
Customer change records
These criteria delete customer change records — the entries marked with a dot icon in the customer’s activity feed. To delete customer change actions, use the criteria under Customer actions. You can set a separate retention period for each criterion.Records that are never deleted
- Changes tied to the first time a contact was passed in a brand.
- Changes tied to a subscription status change.
- Changes tied to adding the customer to the database.
Customer edits from imports
Records in the customer profile about data changed through an import.Manual customer edits by users
Records in the customer profile about data a user edited by hand.Customer edits from flows
Records in the customer profile about data changed by the Edit customer data step in a flow.Device transfers between customers
The Device received from another customer and Device transferred to another customer records. They appear when different customers sign in on the same device: the device is assigned to the last of them. For more, see Customer identifiers in Maestra.Email and phone validity changes
The Email marked valid, Email marked invalid, Mobile phone number marked valid, and Mobile phone number marked invalid records. To learn how validity is determined, see How email validity is determined.Contact transfers and matching
The Contact received from another customer, Contact transferred to another customer, and Similar customer contacts used records. Transfer records appear when the same email or phone number ends up with two customers: the contact stays with one of them, based on priority. The Similar customer contacts used record appears when the contacts in an operation belong to another customer.Customer profile merges
The Customer profiles merged records, whatever the merge method: automatic, from an import, manual from the list, or from an operation. To learn how Maestra Platform finds and merges duplicates, see Why were customers merged.Time zone changes
Records about automatic changes to the customer’s time zone.How to view auto-deletion tasks
Go to Tasks and filter by the task type you need. Auto-deletion tasks are non-system tasks. To view them, you need theView non-system tasks permission. To open the file with customer auto-deletion results, you need the Export personal data permission.