Last month we looked into the setup of GA4; this article will do a quick recap on the way GA4 collects data and a deep dive into GA4 events.
It must be stated at the outset that Joomla! is a wonderful platform for building websites. I also believe that J! 4.x is a good foundation for building websites and if you want to build a new website using Joomla! I would recommend that you use the latest version of J! 4.x.