Guide to dataLayer event tracking in Google Analytics 4 and Google Tag Manager
With the switch from Universal Analytics to Google Analytics 4, collecting data from your website will be more detailed and a bit more complicated. All Ga3 support has ended and you need to have Ga4 set up.
The most efficient way to collect activity data from your website is by using Google Tag Manager and event triggers such as clicks, form submissions, file downloads, etc. There...