How to clean up old phone-tap records automatically

How to clean up old phone-tap records automatically

What is this for?

Your Store has been running the Phone Taps feature for six months. You find the weekly tap count useful, but you do not need a record of every individual tap from a year ago — only the rolling trend. You also do not want the platform quietly hoarding website-visitor data forever. What you want is a sensible "keep the last ninety days, throw away the rest" rhythm that runs on its own.

That is exactly what the Phone Taps cleanup does. Once a day, the platform looks through your stored tap records, finds anything older than the retention window you set, and removes those rows. The dashboard you read in your admin always reflects the rolling window — so a tap from 95 days ago does not show up if your retention is 90 days.

This guide walks you through the cleanup behavior, how to choose a retention window, what happens to records when retention shrinks, and how to verify that cleanup is doing what you expect.

Preview: Settings saved — a screenshot of this screen will be added here.

Good use cases

Preview: Daily cleanup activity - Your Store last 7 days — a screenshot of this screen will be added here.

What NOT to use this for

How this connects to other features

Before you start

A few things to know before you change retention or expect cleanup to run:

Use the checklist below to confirm each item before you change retention. The numbers reflect a real Your Store retention adjustment from this spring.

Preview: Pre-change checklist - Your Store retention shrink — a screenshot of this screen will be added here.

Where to go

In your admin sidebar:

Dashboard > Settings > Phone Taps

The retention setting lives here, alongside the on/off switch for the whole Phone Taps feature.

The cleanup activity log lives in:

Dashboard > Phone Taps

That dashboard's sidebar shows the most recent cleanup run and how many records it removed.

Steps — configure retention and confirm cleanup is working

1. Open Settings > Phone Taps and review your current retention

In your admin, click Settings, then Phone Taps. The retention field shows the current value in days.

If this is your first visit to the screen since enabling the feature, the value is 30 — that is the default. If you have changed it before, it shows whatever you last set.

Note this current value before you change anything. Knowing the starting point is useful if you ever need to roll back.

Preview: Phone Taps - Retention — a screenshot of this screen will be added here.

2. Decide on your new retention

Pick a new value if you want to change it. Common choices:

If you are not sure, pick 30 or 90. You can always change it later.

3. If you are shrinking the window, export first

This is the most important rule of using retention. If your current retention is 180 days and you change it to 30, the next cleanup run deletes everything older than 30 days. Anything you have not exported is gone.

Open the Phone Taps dashboard. Click the Export CSV button. Save the file. Now you have a snapshot of the full 180 days before any of it gets deleted.

If you are increasing retention or keeping it the same, no export is needed.

4. Save the new retention setting

Back in Settings > Phone Taps, change the Retention (days) field to your new value. Click Save changes. A green confirmation appears.

The new value is in effect immediately. Cleanup uses it the next time it runs (usually that night).

Preview: Settings saved — a screenshot of this screen will be added here.

5. Wait for the next cleanup and confirm

Cleanup runs once every 24 hours. The exact time depends on your site's timezone and the platform's scheduling, but it is typically in the small hours of your site's morning.

The next day, open the Phone Taps dashboard. Look at the "Last cleanup run" line. It should show today's date, the time the run completed, and how many records were removed.

If you shrank the retention window, the count of removed records should match your expectation — roughly the size of the slice you cut off.

6. Confirm the dashboard now reflects the new window

The dashboard's totals (today, this week, this month, all time) now read off the smaller pool of records. The "all time" number is now what fits in your new retention window — not the longer history you had before.

This is normal. Once retention is shrunk, "all time" effectively means "all time within the retention window".

What success looks like

A working cleanup configuration, after a few days of operation, looks like this:

The screen below shows what the dashboard reports during a normal post-cleanup state — small daily delta, retention setting visible, last run a few hours ago.

Preview: Phone Taps - Daily cleanup activity — a screenshot of this screen will be added here.

What to do if it does not work

If the dashboard never shows a cleanup run:

If the cleanup is running but not removing as many records as you expect:

If cleanup removes more records than you expected:

If the dashboard says cleanup ran but the record count did not change:

Example 1: Your Store — first quarterly cleanup

You turned on Phone Taps last fall with a 90-day retention window. By February, the system had been collecting taps for five months — but the dashboard only ever showed the most recent 90 days, because cleanup was quietly removing the older entries every night.

Your experience: you could trust the dashboard. The "all time" number always meant "all time within the last 90 days". You never had to remember to clean up anything yourself. The retention setting did its job in the background.

Export the rolling 90-day data once a quarter into a spreadsheet for your own records, then let the next quarter overwrite. Over a year of operation, your storage of phone tap records stays a flat-line — never growing past the size that fits in 90 days of typical traffic — which is exactly what you want.

The lesson: pick a retention window that matches your reporting cadence and let cleanup keep storage at a steady level.

Example 2: Your Store Style Club — shrinking retention for privacy

The owner of Your Store Style Club had retention set at 180 days when a customer asked, in writing, how long the site retained visitor analytics. You wanted to be able to answer "no more than 30 days" rather than "up to 180 days".

Before changing the setting, you exported the full 180 days of data to CSV and saved the file in a private folder. Then you set retention to 30 days and saved.

The next night, cleanup ran and removed 4,212 records — everything older than 30 days. The dashboard's "all time" number dropped from 6,800 to about 1,800 (the records younger than 30 days). The privacy notice on the site was updated to "we keep website analytics for up to 30 days".

Two effects: a much shorter retention window in the privacy notice, and a clean export of the historical data you could still consult internally.

The lesson: the export-then-shrink pattern lets you tighten retention for privacy without losing the data you have already collected.

Example 3: Your Store Studio — lengthening retention for an analysis project

The owner of Your Store Studio normally runs 30-day retention. For a quarter, you were working on a report that compared the studio's call volume across an entire 12-month seasonal cycle.

You temporarily set retention to 365 days. From that day forward, cleanup stopped removing records as quickly, and the storage of phone tap records started growing.

Six months later, when the report was complete, you set retention back to 30 days. The next cleanup run removed everything older than 30 days — restoring the storage to its normal small size.

Important detail: the 12-month analysis only covered the period after he had increased retention. Records that had been deleted before he made the change were already gone. You had not run an export before increasing retention because you did not need pre-change data — the change was forward-looking.

The lesson: retention is forward-looking. Increasing retention preserves new records but does not resurrect deleted ones.

Example 4: A bookstore — the campaign window

Your Store Bookstore ran a heavy advertising campaign in October. They wanted to keep all phone-tap data from October through December for a post-campaign analysis, but did not need data from before or after that window.

Their plan: in late September, they exported the existing tap data and set retention to 90 days. The 90-day window covered October-December. After January 1, when the campaign analysis was done, they shrank retention back to 30 days, and cleanup removed everything older than 30 days, leaving them with a fresh start.

The lesson: a temporary widening of the retention window is a clean way to capture a specific period of data, then return to normal.

Example 5: A community publication — the privacy audit

Your Store Daily, a regional publication, was preparing for a privacy audit. The audit's checklist asked: "What is the maximum retention period for any visitor analytics on the site?"

The publication's editor pulled up Settings > Phone Taps > Retention and read the value: 30 days. She also took a screenshot of the dashboard's recent cleanup activity, showing daily runs with reasonable record-removal counts. Together, those two pieces of evidence answered the audit's question completely.

The lesson: a documented retention setting plus a visible cleanup log is what an audit needs. Make sure your settings match what your privacy notice says.

Things that change after retention runs

Things to know that aren't obvious

Frequently asked questions

Can I run cleanup on demand? Not directly. Cleanup runs on its own schedule every 24 hours. If you need an immediate cleanup, the simplest path is to wait for the nightly run; alternatively, contact support to request a manual run.

Can I have different retention windows for different pages? No. The retention window is global across all your phone-tap records. There is no per-page retention.

What happens to my data if I turn the Phone Taps feature off? Existing records stay in storage. Cleanup pauses while the feature is off. If you turn the feature back on, cleanup resumes the next night and removes anything that is now past retention.

What is the smallest valid retention? The platform allows retention as low as 1 day. Below that is not allowed because the system needs at least one day's worth of data to populate the dashboard meaningfully.

What is the largest valid retention? The platform allows retention up to 365 days. Beyond that requires a custom configuration arrangement; most sites do not need it.

If I export to CSV, are the records also kept in the platform? Yes. Export is non-destructive. The export creates a copy; the originals remain in the system until they age past retention and cleanup removes them.

What if I want to keep a record but the dashboard says it has been removed? Once cleanup has removed a record, it is no longer accessible from the dashboard or from any reporting view. Your only fallback is whatever you previously exported. There is no recovery path for records that were never exported.

Does cleanup affect other data on my site? No. Cleanup only touches phone-tap records. Your pages, posts, products, users, and other data are completely independent of this cleanup.

Why does the dashboard sometimes say "removed 0 records"? That is normal. It means cleanup ran but found no records older than the retention window — usually because traffic during that day was steady-state and no records crossed the retention threshold. The system is working correctly.

Can I see a log of past cleanup runs? The dashboard shows the most recent cleanup run prominently. It also shows a small "last 7 days" summary of cleanup activity. Older cleanup activity beyond that window is not retained — the cleanup log itself follows a similar retention pattern.

Will reducing retention free up disk space on my site? The platform manages disk allocation; you do not manage it directly. Reducing retention does reduce the platform's storage usage for your site, but you will not see it as freed disk space because there is no per-customer disk quota visible to you.

Privacy considerations

Cleanup is the privacy-friendly default at the heart of the Phone Taps feature. A few considerations:

Operational considerations

A few practical notes for site operators:

Quick checklist before you change retention

Run through this before clicking Save on a new retention value:

If every item is checked, save the new retention.

Scope

This reference covers phone tap retention and cleanup — the setting that controls how long call-tap records are stored before automatic deletion. It applies to any SGEN site with the Phone Taps feature enabled. It does not cover:

Examples

Example 1: Setting a 90-day retention window. Your store manager opens Phone Taps → Settings, changes the retention from the default 365 days to 90 days, and saves. The next overnight cleanup removes records older than 90 days automatically.

Example 2: Exporting before shrinking the window. Your site owner wants to reduce retention from 180 days to 30 days but needs to preserve the historical data first. They export the current rolling window to CSV, verify the file has all rows, then change the retention setting. The old data is in the CSV; the live dashboard now shows only 30 days.

Example 3: Coordinating with a team member. Your site owner changes the retention from 365 to 60 days. They notify their support manager, who uses the tap dashboard weekly, so that person knows historical comparisons before the new date will no longer be available in the live dashboard.

Preview: Settings saved — a screenshot of this screen will be added here.

Fields

FieldLocationWhat it doesDefault
Retention periodPhone Taps → SettingsNumber of days to keep tap records before automatic deletion365 days
Cleanup schedulePlatform-managedRuns overnight; removes records outside the retention windowDaily
Export (before change)Tools → DownloadsExports current rolling window to CSV for archivalManual — not automatic
Feature enabled togglePhone Taps → SettingsMust be ON for retention cleanup to runVaries by plan

Next steps