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 legal angle
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
| Data | How 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 send | As long as the site exists in your account |
| Visitor ID, a daily hash stored with each event | Kept 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 address | Never stored; used in memory for the hash and the location lookup, then discarded |
| Full user-agent string | Never stored; only device class, browser and OS are kept |
| Anything on the visitor's device | Nothing 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
- Google Analytics Help: Data retention (checked Nov 14, 2026)
- EUR-Lex: Regulation (EU) 2016/679 (GDPR), Article 5(1)(e) (checked Nov 14, 2026)
- CNIL: Sheet n°16, use analytics on your websites and applications (checked Nov 14, 2026)
Related
What Linqry stores, what it never stores, how visitors are counted, and what that means for cookie banners.
How Linqry protects accounts and analytics data, and how to report a vulnerability.
Billing, privacy, tracking and support questions, answered.
Cookieless analytics counts visits without storing an identifier in the visitor's browser. Instead, the server derives a short-lived ID from details every request already carries, which keeps the counts useful for a day and makes them useless for following a person over weeks.
Measure your own site without cookies
No card required · 30-day trial · No cookies