The source – support.google.com
There is an option to change the expiration date of cookies and to configure the update of cookies using the Analytics interface.
This new method of managing Analytics cookies is an alternative to editing the global site tag code or using Google Tag Manager.