Data retention

The Google Analytics Data Retention controls give you the ability to set the amount of time before user-level and event-level data stored by Google Analytics is automatically deleted from Analytics servers.

User and event data retention

The retention period applies to user-level and event-level data associated with cookies, user-identifiers (e.g., User-ID), and advertising identifiers (e.g., DoubleClick cookies, Android’s Advertising ID [AAID or AdID], Apple’s Identifier for Advertisers [IDFA]).

While the retention period and user-activity reset controls cover event and user-level data stored by Google Analytics, certain user-keyed data (such as age, gender, interests) is by default deleted by Google Analytics after six months of inactivity for a given user for a Universal Analytics property or after two months for a Google Analytics 4 property.

You can choose how long Analytics retains data before automatically deleting it.

The maximum amount of time that Analytics will retain Google-signals data is 26 months, regardless of your settings. By default, Google signed-in data expires after 26 months. However, if the Analytics Data Retention setting is set to anything shorter than 26 months, the Google signed-in data will respect this shorter time frame.

Google Analytics 4 properties

For Google Analytics 4 properties, you can set the retention period of user-level data to:

  • 2 months
  • 14 months

This retention period also applies to conversion data.

For all other event data, you can set retention to:

  • 2 months
  • 14 months
  • 26 months (360 only)
  • 38 months (360 only)
  • 50 months (360 only)

Learn more about 360 data-retention options

The two-month retention period is always applied to age, gender, and interest data regardless of your settings.

When you increase the retention period it is applied to data that you have already collected.

Large and XL properties are limited to 2 months.

Keep in mind that the data retention setting does not affect standard aggregated reports (including primary and secondary dimensions) in your Google Analytics 4 property, even if you create comparisons in the reports. The data retention setting only affects explorations and funnel reports.

Universal Analytics properties

For Universal Analytics properties, the setting applies to user-level and event-level data. You can choose:

  • 14 months
  • 26 months
  • 38 months
  • 50 months
  • Do not automatically expire
Increasing the retention period or changing it to Do not automatically expire, however, does not affect data that you have already collected. For example, data collected when 14 months was in effect will still be deleted 14 months after it was collected even if you change the retention period to 26 months.

Keep in mind that standard aggregated Google Analytics reporting is not affected. The user and event data managed by this setting is needed only when you use certain advanced features like applying custom segments to reports or creating unusual custom reports.

Reduce or increase the retention period

When data reaches the end of the retention period, it is deleted automatically on a monthly basis.

If you reduce the retention period, then any affected data is deleted during the next monthly process. For example, if you change from 26 months to 14 months, then any data older than 14 months is deleted during the next monthly process.

If you increase the retention period, or change it to Do not automatically expire for a Universal Analytics property, it does not affect data that you have already collected. For example, data collected when 14 months was in effect will still be deleted 14 months after it was collected even if you change the retention period to 26 months.

If you increase the retention period for a Google Analytics 4 property, the change is applied to data that you have already collected and that you have not already deleted.

Whenever you modify the retention period, Analytics waits 24 hours before implementing the change. During this 24-hour period, you can revert your change and your data will be unaffected.

If you use a date range for non-aggregated reports (e.g., Explorations in Google Analytics 4) that is longer than your retention period, then data for that additional time is not visible in reports. For example, if you set retention to 14 months and you use a date range of 14 months + 1 day, then data for the additional 1 day is not available in your reports.

When large properties exceed event collection limits

When a standard property becomes Large or a 360 property becomes XL, the event-level data retention setting is automatically reduced to 2 months and event-level data older than 2 months becomes inaccessible and is permanently deleted.

If the property is on pace to reach these limits based on weekly event volume, Analytics will send a warning email to all property administrators. When the limit is reached, Analytics will send another email to all property administrators notifying them that the data retention setting has been reduced.

Between these two notifications, you can reduce the number of billable events sent to the Google Analytics 4 property to remain within the current limits for your property size and keep the longer event-level retention. If you received the warning for a free property, you can also upgrade to 360 to get access to higher limits.

Reset on new activity

Turn this option ON to reset the retention period of the user identifier with each new event from that user (thus setting the expiration date to current time plus retention period). For example, if data retention is set to 14 months but a user initiates a new session every month, then that user's identifier is refreshed every month and never reaches the 14-month expiry. If the user doesn't initiate a new session before the retention period expires, then that user's data is deleted.

If you do not want the retention period for a user identifier reset when that user has new activity, turn this option OFF. Data associated with the user identifier will be deleted automatically after the retention period.

The reset feature applies to only user-level data.

Set the options

You need the Editor role to set this option for a Google Analytics property.
  1. For Universal Analytics properties: In the PROPERTY column, click Tracking Info > Data Retention.
    For Google Analytics 4 properties: In the PROPERTY column, click Data Settings > Data Retention.
  2. For Universal Analytics properties: User and event data retention: select the retention period you want.
    For Google Analytics 4 properties: Event data retention: select the retention period you want.
  3. For Universal Analytics properties: Reset on new activity: turn the switch on or off.
    For Google Analytics 4 properties: Reset user data on new activity: turn the switch on or off.
  4. Click Save.

Data retention and the Users metric

As of February of 2018, we added the Users metric to many additional reports. Because this metric is new in these reports, we do not have aggregated data for this metric for all of these reports for all time. This may impact your historical reporting: you may see zeros for User counts prior to the time for which we have aggregated data for that metric.

We began aggregating data for 360 properties on May 1, 2016, and for standard properties on Sept 1, 2016.

This does not affect the Audience Overview report, however, which has aggregated User data for a much longer period of time.

Was this helpful?

How can we improve it?
Search
Clear search
Close search
Google apps
Main menu
2631683142745328668
true
Search Help Center
true
true
true
true
true
69256
false
false