Guide for Connection to Google Analytics with Google Tag Manager
Please note that this method only works for Universal Analytics. For GA4 this method won’t work and you should install gtag.js code on your website.
Log into Google Tag Manager account.
Select Tags in left sidebar.
...
3. Create a new tag with tag type Google Analytics: Universal Analytics.
...