This tutorial assumes that you are using the UW-branded CALS theme.
We strongly recommend that you use a departmental service account when using non-core apps to share ownership of and avoid losing access to data owned by a former employee or student. Google Analytics data cannot be recovered from accounts belonging to individuals who have left the university. If you don’t have or want to setup a UW service account, then we suggest adding multiple site owners via their UW NetID, rather than a personal Gmail account.
Set up a Google Analytics 4 property
Your first step in this process is to set up Google Analytics 4 property to begin collecting data. To start, log in to your correct account at https://google.com/analytics/, and choose the correct existing 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.
- In the Property column, click the GA4 Setup Assistant option.
- In the next screen, click Get Started under the option for “I want to create a new Google Analytics 4 property”
- In the next screen, click Create property
- Click Go to your GA4 property. This will open a new window.
- In the new window, click Data Streams in the left column
- Click the account that you just created to access the necessary ID value
- On the right, click on the copy icon for the Measurement ID. This is the value you will need to update in your WordPress site.
Add GA4 Measurement ID to your CALS WordPress site
The following instructions are for those that use one of our two supported CALS WordPress themes. Once you have your Google Analytics Measurement ID, return to your WordPress site and log into the admin dashboard area.
- Hover your mouse over Appearance and click the Customize option
- Click Analytics
- In the Google Analytics field, paste in the GA4 Measurement ID value for your Google Analytics 4 property.
- To activate this, click the Publish button at the top.
Please note: Once you publish this change to your site, it can take up to 24 hours for data to begin showing up in your Google Analytics dashboard.
Need help with your website?
CALS Web Services is here to ensure you have all the tools you need and understand how to use them. If you ever get stuck, please don’t hesitate to reach out. We’re here to help!