Add Google Analytics 4 to an existing Universal Analytics implementation

Stay organized with collections Save and categorize content based on your preferences.

This article describes how to instrument a site with tags to populate Universal Analytics (UA) and Google Analytics 4 (GA4) properties at the same time.

Only basic tag installation is covered. For additional guidance on topics such as the GA4 Setup Assistant wizard see Add Google Analytics 4 to an existing site and for ecommerce see Ecommerce migration .

Select the library you are currently using:

Set up the basic page tag