Skip to content


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 ESL,


But we have not added the javascript for ESL-GA4. The tracking code can be found via

Admin -> ESL-GA4 -> Data Streams -> Web -> 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 ESL.

(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.)

Refer to 向已设置 Analytics 的网站添加 Google Analytics(分析)4 媒体资源 - Google Analytics(分析)帮助

Blogs on explaining the difference between different versions of Google Analytics (GA)

Back to top