Google have advised, on 1 July 2023, Universal Analytics properties will stop processing new hits. If you still rely on Universal Analytics, we recommend that you complete your move to Google Analytics 4.
There's no official guide yet. I know some Neto merchants have already implemented it so you could contact an agency if it's a priority for you. Otherwise Maropost might release a general guide closer to the UA shutoff time.
GA4 is quite different to UA but also a lot more powerful. If you rely on analytics it might be worth considering a custom implementation that lets you track everything of interest to you. A generic implementation is likely only going to cover page views and some ecommerce because everyone's site templates are different.