By default, Google Analytics 4 retains data associated with cookies and user or advertising identifiers for only 2 months. However, you can change this setting to 14 months in the data settings area of your Google Analytics account.
Although it doesn’t affect most standard reporting, this time frame does affect your ability to use historical data in custom reports. So, we recommend changing it to 14 months immediately after setting up Google Analytics.