Page Summary
-
Before using the Google Analytics APIs, set up your account, property, and data stream by following the steps in the Get started guide.
-
Measurement setup guides are available for tagging websites, tagging apps, and measuring ecommerce.
-
Google Analytics offers several developer products to automate your solution, including the Data API, Admin API, Measurement Protocol, and User Deletion API.
-
If you are new to Google Analytics, consider taking the Google Analytics Certification course on Skillshop or watching the training videos on YouTube.
Before using the Google Analytics APIs and developer products, make sure you've followed the steps in Get started with Google Analytics to set up your account, create a property, and add a data stream.
Terms of Service: By using Google Analytics, you agree to the Google Analytics Terms of Service. Review these terms carefully.
Set up measurement
For more details on setting up Google Analytics, see the following developer guides:
- Tag a website: The Google Tag and Tag Manager
- Tag an app: Set up app measurement
- Measure Ecommerce: Set up a purchase event
Automate your Analytics solution
Google Analytics offers the following developer products that you can use to manage your Google Analytics integration at scale:
- 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.
User consent and privacy
You are responsible for complying with all applicable privacy laws and regulations, including obtaining necessary user consent for data collection and usage.
Google Consent Mode provides a way to adjust your Google tags' behavior based on the consent choices of your users. Implementing Consent Mode is essential for respecting user privacy preferences while still enabling valuable measurement and analytics.
To understand how Consent Mode works and its benefits, read the Consent mode overview.
Consent mode is typically implemented using a Consent Management Platform (CMP) or a custom consent banner. Detailed instructions are available for:
We recommend that you consult with your legal team to ensure your consent mechanisms meet all regulatory requirements.
Learn about Google Analytics
If you're new to Google Analytics, we recommend starting with the Google Analytics Certification on Skillshop.
The certification course offers videos and training modules to help you learn about Google Analytics and how you can get the most out of it for your business. You can also watch a subset of these training videos on our YouTube channel.
For information about the Google Analytics property, see Meet the next generation of Google Analytics.