Skip to content
Home » Blog » How do I upgrade to GA4 without losing any data from UA?

How do I upgrade to GA4 without losing any data from UA?

To upgrade to Google Analytics 4 without losing any data from Universal Analytics, you can follow these steps:

  1. Set up a new GA4 property:
  • Log in to your Google Analytics account.
  • Click on the Admin tab.
  • Under the Property column, click on “Create Property”.
  • Choose “Web” as the platform.
  • Enter the website URL and other details as requested.
  • Choose “Create a Universal Analytics property” and select your existing UA property from the drop-down menu.
  • Select the relevant data sharing settings.
  • Click on “Create”.
  1. Install the GA4 tracking code on your website:
  • Go to the “Data Streams” section under the new GA4 property.
  • Click on the “+ Add Stream” button.
  • Choose “Web” as the platform and enter the website URL.
  • Follow the instructions to add the GA4 tracking code to your website.
  • Make sure to keep your existing UA tracking code on your website as well.
  1. Set up data import:
  • In the GA4 property, go to the “Data Import” section.
  • Choose “Google Analytics data” as the data source.
  • Follow the instructions to connect your UA property to your GA4 property.
  • Choose the data views and data types you want to import.
  • Set up the mapping of your UA data to your GA4 data.
  1. Set up cross-domain tracking:
  • If you have multiple domains or subdomains, you’ll need to set up cross-domain tracking to ensure that user sessions are tracked correctly between them.
  • In the GA4 property, go to the “Data Streams” section.
  • Click on the “Configure” button next to your website data stream.
  • Follow the instructions to set up cross-domain tracking.
  1. Verify your data:
  • Once you’ve set up the GA4 property and tracking code, wait for some data to be collected.
  • Verify that the data is being tracked correctly in both GA4 and UA by comparing the reports in both properties.

By following these steps, you can upgrade to GA4 without losing any data from UA, and continue to track your website data in both properties.