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.

Method: properties.webDataStreams.create

Creates a web stream with the specified location and attributes.

HTTP request

POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/webDataStreams

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent resource where this web data stream will be created. Format: properties/123

Request body

The request body contains an instance of WebDataStream.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/analytics.edit