GA4: Change data redaction
ga4_update_data_redactionUpdate GA4 web stream redaction settings to redact email addresses and URL parameters before storage, affecting only new data and specified fields.
Instructions
Changes the data redaction of a web data stream: email addresses and/or the named URL parameters are redacted before GA4 stores them. Takes effect immediately and only for new data. Only the specified fields are changed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| property | Yes | GA4 property ID, e.g. '123456789' or 'properties/123456789' | |
| dataStreamId | Yes | Numeric stream ID (from ga4_list_data_streams) | |
| queryParameterKeys | No | URL parameters, e.g. ['name','email','tel'] | |
| emailRedactionEnabled | No | ||
| queryParameterRedactionEnabled | No |