ga4_create_measurement_protocol_secret
Create a Measurement Protocol secret for a GA4 data stream. Stores the secret value securely; confirmation required.
Instructions
[GA4 WRITE] Create a Measurement Protocol secret on a data stream. The response includes the secretValue — store it securely. Requires GA4_MCP_ENABLE_WRITES=true and confirm=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true to apply the change. | |
| property | Yes | GA4 property ID, e.g. "123456789" or "properties/123456789". | |
| displayName | Yes | Human-readable name for the secret. | |
| dataStreamId | Yes | Data stream ID (numeric) or "dataStreams/{id}". |