Skip to main content

Data Retention Policy

The Data Retention Policy tab (Configuration β†’ Consents & Privacy β†’ Data Retention Policy) groups settings that govern how long Customer-linked history is kept and what happens to dormant members.

Part of Consent and Privacy.

SettingPurpose
Retention PeriodHow long to keep the history of purchases and Customer activity linked to the person
Inactivity LifecycleOptionally set Customers to inactive and/or anonymize them as deleted after N months without cart activity

These controls are independent: you can configure Retention Period without enabling Inactivity Lifecycle, and the reverse.

Retention Period​

Retention Period specifies how long Loyal Guru keeps purchase and activity history associated with Customers.

OptionNotes
1 yearActivities older than 12 months are cleaned per the rules below
2 years (recommended)Default recommendation for most retailers
3 yearsLonger retention when policy or analytics require it
Not setRetention cleanup for this period is not applied

What happens when the period is set

For data older than the configured period:

DataEffect
Customer activities (purchases / carts)No longer linked to the Customer. Deleted from the transactional store (Datastore) β€” not visible in Data Warehouse Purchases or Customer profile Purchases, and not available via API. Anonymized in the analytical store (BigQuery): sensitive Customer fields removed from activity header and lines; customer_id replaced (for example -1).
Historical customer segmentationSegment tags older than the period are deleted (system and manual segments).

Save the configuration on the Data Retention Policy tab to apply the setting. Permission to view/edit this tab follows the same Consents & Privacy / Data Protection gate as other privacy settings.

Retention Period vs Inactivity Lifecycle

Retention Period cleans old activity and historical segment tags while the Customer record can remain. Inactivity Lifecycle changes the Customer status (inactive / deleted) based on time without carts. Configure both when your T&Cs require dormant-member handling and limited history retention.

Inactivity Lifecycle​

Loyalty Terms & Conditions often state that member accounts inactive for a defined period will be deactivated or deleted. Without automation, retailers run manual quarterly clean-ups that are slow, error-prone, and leave program KPIs distorted by dormant accounts.

Inactivity Lifecycle automates that policy per Company: after a configurable number of months without activity, Loyal Guru can set the Customer to inactive, anonymize them as deleted, or apply both as a cascade. Configuration is self-service under Consents & Privacy β†’ Data Retention Policy, next to Retention Period.

What you can configure​

RuleEffectNotes
InactivateSets status to inactiveReversible. Profile and history stay intact; the Customer drops out of active-member KPIs and campaigns.
Delete (anonymize)Sets status to deletedIrreversible at person level. Personal data is anonymized; transaction history is retained anonymized. There is no physical row deletion.

Each rule has its own on/off toggle and threshold in months. You can enable only inactivate, only delete, or both. When both are on, the delete threshold must be greater than the inactivate threshold (for example 12 months β†’ inactive, 24 months β†’ deleted).

If neither rule is enabled, behaviour is unchanged for that Company.

How it works​

  1. Once a week, Loyal Guru reviews Customers against the rules you enabled and applies the matching status change.
  2. Time without activity is counted from the Customer's last cart activity (see below). If the Customer has never had a cart, it is counted from their registration date.
  3. If both rules are enabled and a Customer is already past the anonymize threshold, they go straight to anonymized β€” they do not need to pass through inactive first.
  4. Who can be affected:
    • Inactivate only applies to Customers who are currently active. Customers already inactive are left as they are by this rule.
    • Anonymize applies to Customers who are active or inactive. That way, someone previously inactivated can later be anonymized when they cross the second threshold.
    • Customers in other statuses (for example merged, merging, or unverified) are never changed by this feature.
  5. Every change to the policy (turning a rule on/off or editing months) is stored in the versions register: who changed it, when, and the before/after values. Individual weekly job runs are not logged there.

What counts as activity​

Activity is any cart recorded for the Customer β€” including returns and carts that do not have a positive total. Logins, redemptions, email opens, and similar non-cart events do not reset the inactivity clock.

Reactivation​

  • inactive: reversible. A new cart alone does not reactivate the Customer. The retailer must set status back to active explicitly via the Streaming API (PATCH /customers/{value}) or file import.
  • deleted (anonymized): not reactivatable. A returning person must enroll as a new Customer.
  • Points: point expiration is independent of Customer status. Expired points stay expired after reactivation.

Configuration​

ItemDetail
Owner pathConfiguration β†’ Consents & Privacy β†’ Data Retention Policy
PermissionSame gate as Data Retention Policy (DataProtection show/update)
FieldsInactivate on/off + months; Delete on/off + months
ValidationWhen both rules are on, delete months must be greater than inactivate months
DefaultBoth rules off until configured

Events for integrations​

Status transitions emit the existing webhook events so CRM, ESP, and other systems stay in sync:

TransitionEvent
β†’ inactivecustomer / update
β†’ deletedcustomer / delete

See Webhook events and the Integrations webhooks guide.

FAQs​

QuestionAnswer
Where is it configured?Consents & Privacy β†’ Data Retention Policy.
Can I choose only inactivate, only delete, or both?Yes β€” each rule is independent.
How often does evaluation run?Weekly (fixed platform cadence).
Does deleted physically remove the Customer?No β€” it anonymizes PII and keeps anonymized transaction history.
What if an inactive Customer buys again?The cart does not change status; update status to active via API or files.
What counts as activity?Any cart, including returns.