Google Universal Analytics will be going away in July 2023 to be replaced with Google Analytics 4.
On July 1, 2023, standard Universal Analytics properties will stop processing new hits. If you still rely on Universal Analytics, we recommend that you prepare to use Google Analytics 4 going forward.
What is the best way to migrate from Google Universal Analytics to GA4 in older Magento 2.4 versions whilst still retaining all the eCommerce analysis provided by the current Universal Analytics module?
I am not interested in links to commercial modules.