Google Analytics 4 is an analytics service that lets you measure traffic and engagement across your websites and apps. This documentation provides implementation instructions and reference materials geared towards a developer audience.
Get started
To get started with Google Analytics 4, see Get started with Google Analytics. For information about the Google Analytics 4 property, see Meet the next generation of Google Analytics.
Set up measurement
Use the following guides to start measuring traffic and engagement on your site or app:
- Set up website tagging: The Google Tag and Tag Manager
- Measure app engagement: Set up app measurement
- Start tracking Ecommerce: Set up a purchase event
Automate your Analytics solution
Google Analytics 4 offers multiple developer products to manage and interact with your properties:
- Run reports and export audiences using the Data API.
- Configure your accounts, properties, and data streams with the Admin API.
- Send events for server-to-server and offline interactions with the Measurement Protocol.
- Process deletions of data associated with a given user identifier with the User Deletion API.
Migration resources
Google Analytics 4 is a new kind of property with different reports than what you're used to seeing in Universal Analytics properties. If your website uses a Universal Analytics property and you want to use a Google Analytics 4 property, see Make the switch to Google Analytics 4. You can also visit the Developer Migration Center for migration information geared towards a developer audience.