Learn business growth with Google Analytics 4 › Forums › Google Analytics 4 › Implementing GTM in Google Analytic V4 gtag.js › Reply To: Implementing GTM in Google Analytic V4 gtag.js
-
In order to transition from analytics.js to gtag.js when you are using Google Tag Manager (GTM), you would need to create a new GA4 property in your Google Analytics. After that, inside GTM, you will have an option to install GA4 Setup Tag where you can enter your GA4 Measurement ID. You should also replace the existing GA3 tags with GA4 as well. After these changes, be sure to test and validate that your analytics are working correctly. It is recommended that you keep your Universal Analytics running in parallel with Google Analytics 4 for the time being, till GA4 matures, as GA4 is fundamentally different from the previous version.