User Data Retention
You decide how long user data stays in an environment. Anonymize contact data on a schedule, delete inactive users automatically, or purge all user data at once.
Anonymization, deletion, and purge are under Settings > Data Management > Data Retention. The page refers to user profiles as contacts.
Partial responses and metadata are covered in Data Collection. To remove a single user or a selection of users right away, see Delete users.
Anonymize contact data
Section titled “Anonymize contact data”Anonymization removes identifying contact details after a period of inactivity and keeps the survey responses. Use it when you still want the answers and no longer need to know who sent them.
Open Settings > Data Management > Data Retention. Under Anonymize contact data, set a timeframe for each group:
- Users with responses have at least one stored survey response.
- Users without responses have never sent one.
Each group can be Never, or after 30 days, 90 days, 180 days, 1 year, 2 years, or 3 years. Never is the default, so nothing is anonymized until you choose a timeframe. The clock starts the last time Refiner saw the user, usually the last time they opened your app or site while Refiner was active.
Anonymization always removes the user ID, cookie ID, email, display name, and the name, first name, and last name traits. You can also remove up to 40 more traits. The picker lists contact traits and survey response data. Those identifier and name traits stay selected. Account traits are not listed. Account data, including the account ID, is not changed.
A survey response trait you select is removed from that contact’s responses, including translated copies of that answer. Other answers stay on the response.
Click Save policy, then type APPLY ANONYMIZATION POLICY to confirm. Refiner applies the policy in the background, so changes can take some time to take effect.
If deletion is set to a shorter timeframe than anonymization for the same group, Refiner notes that those contacts will be deleted before anonymization runs. When a contact is due for both, Refiner deletes the contact.
A contact is anonymized once. Traits you add later are removed from contacts that still have a user ID, cookie ID, email, or display name. Contacts that already had those identifiers removed keep any traits that were not on the list at the time.
In response lists, the contacts list, and the contact panel, a contact with no user ID and no email is labeled Anonymous user while a cookie ID remains, and Anonymized user after that cookie ID is removed. See Identified, anonymous, and anonymized users.
Delete user profiles
Section titled “Delete user profiles”Under Delete user profiles on the same page, Refiner can delete inactive contacts and the data stored on them, including survey responses, traits, and activity records.
The same two groups and the same timeframes apply: Never, or after 30 days, 90 days, 180 days, 1 year, 2 years, or 3 years. Inactivity is measured from the last time Refiner saw the user.
Click Save policy, then type APPLY DELETION POLICY to confirm. A deleted contact cannot be restored.
Purge user data
Section titled “Purge user data”Under Settings > Data Management > Data Retention, you can also purge all user data from your environment. This is particularly useful after testing your Refiner setup and before starting to collect production data.
Purging user data permanently deletes the following:
- User Profiles: All profiles created when identifying users or when anonymous users respond to a survey for the first time. Any user traits associated with these profiles are deleted as well.
- Tracked Events: All events recorded using the trackEvent method of the JavaScript SDK, Mobile SDKs, or API.
- Survey Responses: All survey responses collected in the environment.
Purging user data takes effect immediately and cannot be undone.
All other configuration data, including surveys, traits, segments, dashboards, and notifications, remains unchanged, so you can continue using the environment afterwards.
Delete sample data, on the same screen, removes sample users created during trial setup or with Create sample data, and their survey responses. Survey configurations and environment settings stay in place. The button stays unavailable until the environment has sample users. On a wide screen the same action is in the header of Survey Responses and User Segments.
