Before using the Google Analytics APIs and developer products, make sure you've
followed the steps in [Get started with
Google Analytics](https://support.google.com/analytics/answer/9304153) 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](https://marketingplatform.google.com/about/analytics/terms/us/). 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](https://developers.google.com/analytics/devguides/collection/ga4/tag-options)
- **Tag an app** : [Set up app measurement](https://developers.google.com/analytics/devguides/collection/app)
- **Measure ecommerce** : [Set up a purchase event](https://developers.google.com/analytics/devguides/collection/ga4/set-up-ecommerce)
- **Verify \& troubleshoot** : [Verify and troubleshoot setup](https://developers.google.com/analytics/devguides/collection/ga4/troubleshoot)

## 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](https://developers.google.com/analytics/devguides/reporting/data).
- Configure your accounts, properties, and data streams with the [Admin API](https://developers.google.com/analytics/devguides/config/admin).
- Send events for server-to-server and offline interactions with the [Measurement Protocol](https://developers.google.com/analytics/devguides/collection/protocol/ga4).
- Process deletions of data associated with a given user identifier with the [`properties.submitUserDeletion`](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/properties/submitUserDeletion) method of the [Admin API](https://developers.google.com/analytics/devguides/config/admin).

## 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](https://developers.google.com/tag-platform/security/guides/consent?consentmode).

Consent mode is typically implemented using a Consent Management Platform (CMP)
or a custom consent banner. Detailed instructions are available for:

- [Consent mode on websites](https://developers.google.com/tag-platform/security/guides/consent?consentmode)
- [Consent mode for apps](https://developers.google.com/tag-platform/security/guides/app-consent?consentmode)

We recommend that you consult with your legal team to ensure your consent
mechanisms meet all regulatory requirements.

## Learn about Google Analytics

[Video](https://www.youtube.com/watch?v=A6-xw1bEEzQ)

If you're new to Google Analytics, we recommend starting with the
[Google Analytics Certification on Skillshop](https://skillshop.docebosaas.com/learn/courses/14810/google-analytics-certification).

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](https://youtube.com/playlist?list=PLI5YfMzCfRtZNBRmhTEJkcHYvN_x_wpxM&si=BXTMQPzi6xJEL7Fm).

For information about the Google Analytics property, see
[Meet the next generation of Google Analytics](https://support.google.com/analytics/answer/10089681).