TABLE OF CONTENTS
ADMIN PRIVILEGES REQUIRED
Overview
Google Analytics (GA) is the largest analytics platform for websites, and you can use it to track historic and real-time activity on your Stack Internal Community site. Google Analytics will give you insights into your site's pageviews, sessions, unique users, and more.
Google stopped supporting Universal Analytics (GA3) on July 1, 2023. If your site is using GA3, you'll need to migrate to GA4.
Set up Google Analytics GA4
The first step in setting up your site for GA4 depends on whether you're already using GA3.
To migrate from GA3 to GA4, follow Google's GA4 migration guide.
To set up GA4 for the first time, follow these instructions to set up a Google Analytics account and get a Measurement ID.
With your new Measurement ID ready, follow these steps:
- Log into your Stack Internal Community site as an administrator.
- Click Admin settings in the left-hand menu, then Google Analytics under the "INTEGRATIONS AND APPS" heading.
- Click the Enable Google Analytics toggle to enable it.
- Enter your measurement ID in the GA4 measurement Id text box.
- Click Save settings.
- Reload your Stack Internal Community site in your browser, then check your Google Analytics dashboard to make sure it's recording traffic.