How do I configure Litium 8 to cookie-track carts for anons & signedins

Isen’t the cart always saved in the cookie in L8?
Adding this code in Startup.cs makes it possible to control the time.

And if you’re looking for the name, I think it’s “cart”