Create Transformation
create_transformationCreate a transformation in a Google Tag Manager workspace to modify data in server containers, solving the need for server-side configuration while avoiding web container limitations.
Instructions
Create a transformation in a workspace.
Only server containers accept transformations. Creating one in a web container fails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | Numeric Tag Manager account ID. | |
| container_id | Yes | Numeric container ID. | |
| workspace_id | Yes | Numeric workspace ID. | |
| transformation | Yes | Transformation resource. Requires name and type, e.g. {"name": "Redact email", "type": "sgtmTransformation", "parameter": [...]}. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||