KB User's Guide - SitePref Tab - Updating to Google Analytics 4

Until July 1, 2023, you will be able to use and collect any new data in your Universal Analytics properties. After that date, data will no longer collect in the Universal Analytics accounts and there will be a limited time to view and retrieve that data moving forward. This document will walk you through the process of converting your Universal Analytics account to a Google Analytics 4 account.

In this document:

Summary

On July 1, 2023, Google Analytics will stop using the standard Universal Analytics function to track data for your website. If you are still using Universal Analytics, it is recommended that you prepare to use Google Analytics 4 going forward. A Universal Analytics tracking code begins with a UA- (for example, UA-12345678-1). Depending on the service and tracking functionality, you will want to create a Google Analytics 4 property and update to this new measurement ID.

Setting up Google Analytics 4

Your first step in this process is to set up Google Analytics 4 to begin collecting data in that property. To start, log in to your correct account at https://analytics.google.com, and choose the correct property that you want to update. Once you have access to it, click the gear icon for Admin actions in the lower left portion of the screen.

  1. In the Property column, click the GA4 Setup Assistant option.

    Property setup option for Google Analytics 4

  2. In the next screen, click Get Started under the option for "I want to create a new Google Analytics 4 property"
  3. In the next screen, click Create property
  4. Click See your GA4 property. This will open a new window.
  5. In the new window, click Data Streams in the left column

    Option for accessing your GA4 data streams

  6. Click the account that you just created to access the Measurement ID value
  7. Scroll down to the Tagging Instructions section
  8. Expand the Global site tag section
  9. Copy the code that is presented

    Global site tag code is visible to be copied

Update the Knowledgebase Group Space Analytics tracking

Be sure to have your global site tag code copied, and proceed to your Knowledgebase Admin area.

  1. Click on the SitePref tab
  2. Click on Google Tracking on the left
  3. Expand the panel for the Global Site Tag (either Internal or External, or both) that you need to update
  4. Highlight and remove the code that currently exists, and paste in the new global site tag code that you had copied from Google Analytics

    Global site tag has been pasted into the correct option field
  5. Click Update to commit these changes to your group space

Creating a tag for GA4 in Google Tag Manager

If you are already using Google Tag Manager with your Knowledgebase Group Space, you will likely only need to update your tag manager account to accept the new Google Analytics 4 measurement ID that you created.

  1. Make certain to still have your Measurement ID for your Google Analytics 4 property.
  2. Navigate to Google Tag Manager - https://tagmanager.google.com/
  3. Log in using the administrator account
  4. Click the Tags on the left
  5. Click New at the top right of your tags section

    Tag Manager tags section

  6. In the upper left, give this new tag a name (ie. Google Analytics 4 Tag)
  7. Click in to the Tag Configuration section
  8. Choose the Google Analytics: GA4 Configuration option
  9. Paste in your Measurement ID in the appropriate field
  10. Click into the Triggering section
  11. Choose All Pages as the trigger

    Newly created Google Analytics 4 tag

  12. Click Save in the upper right to update the changes to this tag
  13. To publish these changes to your Tag Manager, click the Submit button in the upper right corner and follow through the steps.