Take our developer survey. We want your feedback so we can learn how to improve Google Analytics, and make it an even better tool for you.

Hashing Client Id: hashClientId

Requires authorization

Provides the hash of the given Client ID, which can be found in certain exported data formats. Try it now.

Request

HTTP request

POST https://www.googleapis.com/analytics/v3/management/clientId:hashClientId

Authorization

This request requires authorization with at least one of the following scopes (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/analytics.edit
https://www.googleapis.com/auth/analytics.readonly

Request body

In the request body, supply a Hashing Client Id resource.

Response

If successful, this method returns a response body with the following structure:

{
  "kind": "analytics#hashClientIdResponse",
  "webPropertyId": string,
  "clientId": string,
  "hashedClientId": string
}
Property name Value Description Notes
kind string Resource type for the Client ID hash operation response.
webPropertyId string webPropertyId value specified in the request.
clientId string clientId value specified in the request.
hashedClientId string Hashed Client Id corresponding to the clientId and webPropertyId values specified in the request.

Try it!

Use the APIs Explorer below to call this method on live data and see the response. Alternatively, try the standalone Explorer.