Skip to content
Glossary

Data retention

Data retention is how long collected data is kept before it's deleted, and the policy that decides it. For web analytics the useful question is narrower: which data is kept, in what form, and for how long.

Updated

Also called: data retention period, retention period, data retention policy

Definition

Every analytics tool stores something: raw events, identifiers that link events together, and aggregated reports. A retention policy says how long each is kept. It matters for three reasons: what you can still analyse later, what would be exposed if the data leaked, and what privacy rules expect.

Retention in different tools

Retention is often set per data type. Google Analytics 4, for example, lets standard properties keep user-level and event data for 2 or 14 months, with longer event-data options for paid Analytics 360 properties. That setting applies to explorations and funnel reports, not to the standard aggregated reports. Other tools keep data for the life of the account or offer a fixed period per plan.

The GDPR's storage limitation principle, in Article 5(1)(e), says personal data should be kept in a form that identifies people for no longer than the purpose requires. France's CNIL lists limiting trackers' lifetime to 13 months among the conditions for exempting audience measurement from consent. How these rules apply to your analytics depends on what you collect and where you operate, so confirm your own obligations with your counsel.

What Linqry keeps

DataHow long
Events (page views, custom events, time on page, revenue) with page URL, referrer, UTM tags, country, region, city, device class, browser, OS and any event properties you sendAs long as the site exists in your account
Visitor ID, a daily hash stored with each eventKept with the events, but the salt behind it is deleted after two days, so it can't be recomputed from an IP address
Raw IP addressNever stored; used in memory for the hash and the location lookup, then discarded
Full user-agent stringNever stored; only device class, browser and OS are kept
Anything on the visitor's deviceNothing is written: no cookies, no local storage

Deleting a site, which only its owner can do, deletes its events, goals, funnels and campaigns. Deleting your account deletes every site you own. There is no per-event deletion and no setting for an automatic retention period, so the site is the unit of deletion. When a trial ends, the dashboard pauses until you subscribe, but the tracker keeps collecting, so no data is lost in between. The privacy model lists everything that is stored.

Choosing a retention period

  • Keep what you'll use. Year-over-year comparisons need at least 13 months of data; most decisions use far less.
  • Treat identifiers and aggregates differently. Identifiers are what make data personal; aggregate counts age much more safely.
  • Write it down. State the retention period in your privacy policy and your records.
  • Remember exports. CSV exports and copies in spreadsheets or warehouses have their own retention, outside the tool.

Reading old data in Linqry

The date picker has presets for today and the last 7, 30 and 90 days, plus a custom range. A single view covers at most one year, but a custom range can start as far back as your data goes, so you can compare this March with last March.

Related terms

Frequently asked questions

How long does Linqry keep analytics data?

For as long as the site exists in your account. Deleting the site deletes its events, and deleting your account deletes every site you own. The daily salts behind visitor IDs are deleted after two days.

Can Linqry delete data older than a set age automatically?

No. There is no automatic retention period or per-event deletion; data is removed by deleting the site.

Sources

  1. Google Analytics Help: Data retention (checked Nov 14, 2026)
  2. EUR-Lex: Regulation (EU) 2016/679 (GDPR), Article 5(1)(e) (checked Nov 14, 2026)
  3. CNIL: Sheet n°16, use analytics on your websites and applications (checked Nov 14, 2026)

Measure your own site without cookies

No card required · 30-day trial · No cookies