Get in touch

Migrating From UA To GA4 – A Step By Step Guide

22 October 2023
3 min read

Google Analytics is a web analytics service offered by Google that tracks and reports website traffic. Universal Analytics (UA) and GA4 are two different versions of Google Analytics. UA is the older version and GA4 is the newer version. In October 2021, Google announced that they will be discontinuing UA in 2022, therefore it is important to migrate over to GA4 before UA is switched off.

Step 1: Create a GA4 property

To migrate from UA to GA4, the first step is to create a GA4 property. This can be done by logging in to your Google Analytics account and selecting “Create Property” from the menu. You will then be prompted to select “GA4 Property” and enter the necessary information such as the website name and URL.

Step 2: Set up GA4 tracking code

Once the GA4 property has been created, you will need to set up the GA4 tracking code on your website. The GA4 tracking code is different from the UA tracking code, so it is important to make sure you are using the correct code. You can find the GA4 tracking code in your GA4 property settings.

Step 3: Verify the tracking code

Once the GA4 tracking code has been added to your website, you should verify that it is working correctly. To do this, you can use the “Real-time” report in your GA4 property to see if there is any data coming through.

Step 4: Import data from UA to GA4

The next step is to import your data from UA to GA4. This can be done by using the “Import from Google Analytics” feature in your GA4 property. This feature allows you to import data from your UA property to your GA4 property.

Step 5: Set up GA4 events and parameters

After importing your data, you will need to set up GA4 events and parameters. Events and parameters are used to track specific user interactions on your website, such as button clicks or form submissions. These can be set up in the “Events” section of your GA4 property.

Step 6: Create GA4 reports

The final step is to create GA4 reports. GA4 offers a range of new and improved reporting features, such as the “Analysis Hub” and “Explorer” reports. These reports can be used to gain insights into your website traffic and user behavior.

Step 7: Test and Monitor

After setting up GA4 property, verify the tracking, importing data, setting up events and parameters, creating reports, it’s important to test the implementation and monitor the data for any discrepancies. This will ensure that your migration from UA to GA4 was successful.


Migrating from UA to GA4 is an important step for anyone using Google Analytics. With the discontinuation of UA, it is necessary to make the switch before it’s too late. By following the steps outlined in this guide, you can ensure that your migration is smooth and successful. GA4 offers a range of new and improved features that can help you gain deeper insights into your website traffic and user behavior. With the new data and better reports, you’ll be able to make more informed decisions about how to improve your website and online marketing efforts.