gtm_create_variable
Create a Google Tag Manager variable by submitting a complete variable JSON resource along with account, container, and workspace IDs. Simplifies adding new variables programmatically.
Instructions
Create a variable from a full GTM Variable resource (JSON string).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | ||
| container_id | Yes | ||
| workspace_id | Yes | ||
| variable_json | Yes |