If you use Google Analytics, you need to switch to GA4.
Benefits of setting up GA4 using GTM (Google Tag Manager)
What is GTM (Google Tag Manager)?
Highly compatible with GA4
Tags can be managed centrally
Tag settings can be easily modified
Types of GA4 tags that can be set with GTM (Google Tag partners email lists Manager)
Google Analytics 4 setting tag
Google Analytics 4 Event Tags
How to install and configure GA4 using GTM (Google Tag Manager)
Check the measurement ID
Create a GTM tag
Set up GTM tags
How to set up a "Custom Event" in GA4 using GTM (Google Tag Manager)
What are "Custom Events" in GA4?
Create a trigger
Set tags
How to check if the GTM tag is firing and how GA4 is measuring
Click Preview