Provisioning API - Overview

This document provides a high level overview of the Google Analytics Provisioning API.

Introduction

The Provisioning API can be used to create new Google Analytics accounts and enable Google Analytics for your customers at scale. It is intended for qualified service providers and large partners.

For example, you could use the Provisioning API as part of a new user onboarding process to create a new Google Analytics account for a client and then use additional Management API resources to programmatically configure the account and link it to Google Ads. This can all be automated and initiated from within your own admin or reporting interface.

Overview

The Provisioning API allows service providers to programmatically create new Google Analytics accounts on behalf of their users. There are two business cases supported by the Provisioning API:

User-controlled accounts

The requirements and high-level steps to create a new user-controlled account using the Provisioning API are:

  1. End users must have a Google Account or will have to create one during the Google Analytics provisioning flow.
  2. The Google Analytics provisioning flow consists of 2-steps:
    1. End user grants your application permissions to provision an account on their behalf.
    2. Partner makes an API call to create an account ticket.
    3. End user accepts the Google Analytics Terms of Service (TOS) and data sharing settings policy.
  3. The account is created on behalf of the end user.

The newly created account can then be managed and accessed by your application.

Learn about how to create user-controlled Analytics accounts in the User-controlled account API Developer Guide.

Partner-controlled accounts

These are the high level steps for creating a partner-controlled analytics account:

  1. Partner accepts the Terms of Service for the Provisioning API service, which will require the partner to accept the Terms of Service for Google Analytics, which will apply to all partner-controlled accounts. This step only has to be completed once.
  2. Make the relevant API call to create an account.

Learn more about how to create partner-controlled Analytics accounts in the Partner-Controlled Account API Developer Guide.