Method: accounts.accessBindings.create

  • Connected Site Tag configuration uses JSON format for data representation.

  • This configuration requires a user-friendly display name (under 256 characters) and a unique Tag ID for event forwarding.

  • The Tag ID is essential for identifying the destination for event data and is also known as Measurement ID or G-ID.

Creates an access binding on an account or property.

HTTP request

POST https://analyticsadmin.googleapis.com/v1alpha/{parent=accounts/*}/accessBindings

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Formats: - accounts/{account} - properties/{property}

Request body

The request body contains an instance of AccessBinding.

Response body

If successful, the response body contains a newly created instance of AccessBinding.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/analytics.manage.users