Skip to main content
Updates a Google Analytics 4 property’s data retention: how long event and user data is kept (2 or 14 months; longer on GA4 360) and whether a user’s retention resets on new activity.

Inputs

SelectableOption

Output

Type: Dict Returns the saved retention settings. Fields: property_id, event_data_retention, user_data_retention, reset_user_data_on_new_activity