Skip to main content
All CollectionsOther Articles
Migrating from Google Analytics Universal Analytics (UA) to Google Analytics 4 (GA4)
Migrating from Google Analytics Universal Analytics (UA) to Google Analytics 4 (GA4)
Luiza Gircoveanu avatar
Written by Luiza Gircoveanu
Updated over a week ago


Google Analytics 4 (GA4) is the next-generation analytics platform from Google that offers advanced tracking capabilities, improved user insights, and better integration with other Google marketing tools. If you are currently using Google Analytics Universal Analytics (UA) and want to leverage the benefits of GA4, this guide will help you plan and execute a successful migration.


Step 1: Create a New GA4 Property

  1. Log in to your Google Analytics account.

  2. Go to the Admin section.

  3. Under the "Property" column, click "Create Property."

  4. Choose "Web" or "App" based on your needs.

  5. Follow the setup wizard to configure your new GA4 property.

Step 2: Install the GA4 Tracking Code

  1. After creating your GA4 property, you will receive a unique GA4 tracking code (also known as a Measurement ID).

  2. Replace the existing Universal Analytics tracking code on your website or app with the GA4 tracking code. This ensures that GA4 starts collecting data.

Step 3: Set Up Data Streams

  1. In your GA4 property, go to "Data Streams" under the "Data" section.

  2. Create data streams for your website and app if necessary.

  3. Configure the data stream settings, including URL and user identification settings.

Step 4: Configure Events and Conversions

  1. GA4 focuses on events and conversions, so plan your tracking accordingly.

  2. Define events and conversions relevant to your business goals in GA4. This may involve reconfiguring goals and events that were previously tracked in UA.

Step 5: Review Data Collection Settings

  1. GA4 has more advanced user tracking options. Review and configure your data collection settings, such as user and event tracking parameters, to align with your business needs.

Step 6: Test and Validate

  1. Before fully deploying GA4, thoroughly test your tracking setup to ensure data accuracy.

  2. Use the GA4 DebugView and Preview mode to verify that data is being collected correctly.

Step 7: Data Import and Data Migration (Optional)

  1. If you have historical data in Universal Analytics, consider importing it into GA4 using the Data Import feature or BigQuery.

  2. Ensure data continuity between the two platforms during the migration period.


Migrating from Google Analytics Universal Analytics to GA4 is a critical step in staying ahead in the world of digital analytics. GA4 offers enhanced features, cross-platform tracking, and improved user-centric insights, making it an essential tool for businesses of all sizes.

To ensure a smooth migration, follow the steps outlined in this guide, test your setup thoroughly, and continue to monitor your analytics data in GA4. With the right planning and execution, you can leverage the full potential of GA4 for data-driven decision-making and business growth.

For additional assistance or troubleshooting during the migration process, refer to Google Analytics official documentation or consult with a web analytics professional.

Did this answer your question?