Google Analytics 4 (GA4) for WordPress Using GTM: Setup Guide
Universal Analytics (UA) will be phased out by June 1st, 2023. At that point, Google Analytics users will have to use Google Analytics 4 (GA4) to collect website visitor data. Ideally, you’ll want to create a GA4 account and set it up for your WordPress website as soon as possible. There are some drastic changes between UA and GA4, so it’s best to start using GA4 sooner in order to familiarize yourself with the latest in Google Analytics.
If you want to set up GA4 for your WordPress website, here are four steps you can take.