Google Universal Analytics Is Going Away – Welcome New Google Analytics 4

Google Universal Analytics is going away by July 1, 2023 – What should I do?

Welcome To Google Analytics 4

GA4 brings on new improvements to the table: improved machine learning intelligence, simplified interface, and more is yet to come. However, as an app or website owner you are probably asking yourself What should I do right now?

Google Logo

Google Logo

  • If you rely on your Google Universal Analytics (UA) data – you should export them for later use or archiving purposes. But, don’t export them just yet! You still have more than a full year to collect and analyze your data, and Google will leave you some grace time afterwards to export your data. Don’t panic (yet).
  • If you use Website CMS (or static html pages), your existing UA javascript / googletagmanager code will be exactly the same, however, you will have to replace your old Tracking ID UA property number (e.g. UA-12345678-0) with the new GA4 property Measurement ID number that looks something like this: G-12345678

How to replace existing Universal Analytics UA ID with new GA4 ID

In a nutshell: When you visit your Google Analytics Dashboard, Google will already notify you that UA is going away. Then, simply create a new GA4 property based on your existing property, and Google will automatically append “– GA4” suffix to its name to easily differentiate it, and you’ll receive your shiny new GA4 ID number (e.g. G-12345678). Replace this number in your app or website tracking code, and that’s it!

Google Universal Analytics Service Shutdown Notice

Google Universal Analytics Service Shutdown Notice

How To Enable New GA4 Google Analytics – STEP BY STEP guide

STEP 1

On the left navigation sidebar look for the ⚙️ Admin menu item (gear shaped settings icon):

Google Analytics GA4 Property Setup #1

Google Analytics GA4 Property Setup #1

STEP 2

Once the admin menu opens click on GA4 Setup Assistant menu item:

STEP 3

Click on Get started button to initiate creating new property:

Google Analytics GA4 Property Setup #2 Get Started

Google Analytics GA4 Property Setup #2 Get Started

P.S. Don’t worry if the connect property button below is greyed out, this is normal because we don’t have GA4 twin yet, and nothing to connect an existing UA property to!

STEP 4

Create new GA4 property on the new page by pressing the corresponding button:

Google Analytics GA4 Property Setup #3 Create

Google Analytics GA4 Property Setup #3 Create

STEP 5

Once the creation of new GA4 property is complete you will see your new home page (with no data received yet):

Google Analytics GA4 Property Setup #4 Home Page (No Data Yet)

Google Analytics GA4 Property Setup #4 Home Page (No Data Yet)

STEP 6

Now, simply copy your new measurement ID code and embed it in your app or website header, and that’s it!

Google Analytics GA4 Property Setup #5 Get Measurement ID

Google Analytics GA4 Property Setup #5 Get Measurement ID

For the transitional period, we recommend that you keep both you properties active, and your tracking/measurement codes embedded. For clarity, below is an example of a simple tag manager tracking code commonly used in WordPress, Joomla, Drupal and static HTML websites. Of course, you will need to replace UA/GA4 IDs for your corresponding properties.

GoogleTagManager JavaScript Code Comparison

Google Analytics UA Code
<!-- Google Analytics UA Code -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-12345678-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-12345678-1');
</script>
Google Analytics GA4 Code
<!-- Google Analytics GA4 Code -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G12345678"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-12345678');
</script>

As we already explained, the code itself is the same, the only difference is in the passed ID parameters.

Comments


Post A Comment

I have read and consent to Privacy Policy and Terms and Conditions