Upgrade to GA4¶
Currently, I am using
analytics.js, but GA4 requires
gtag.js. As a result, the setup wizard does not successed.
But anyway, we still need to
Create Property instead of skipping this step.
After creating the property, we will have two properties for
Data Streams ->
Add new on-page tag
and then paste to the source of the webpages. Since
ESL-GA4 is another property from
ESL, do not remove the existing tracking code for
(Don’t remove the old analytics.js tag; it will continue to collect data for your Universal Analytics property. The gtag.js tag that you’re adding will collect data for your new Google Analytics 4 property.)
Blogs on explaining the difference between different versions of Google Analytics (GA)