Opus Growth

Create GTM Variable

Creates a user-defined VARIABLE.

Tipo
Hace cambios
Créditos
3
Plataforma
Tag Manager
Aprobación
Primero vista previa, se aplica tras tu aprobación

Qué hace

Creates a user-defined VARIABLE. variable_type = GTM type string: 'c' (Constant → parameters='{"value":"..."}'), 'v' (Data Layer Variable → parameters='{"name":"ecommerce.value"}' plus optional dataLayerVersion), 'jsm' (Custom JavaScript → parameters='{"javascript":"function(){return ...}"}'), 'u' (URL), 'k' (1st-party Cookie → '{"name":"_ga"}'). parameters is JSON: an object {key:value} (wrapped as template) or a raw GTM parameter list. SAFETY: confirm=false → preview; confirm=true → creates it (staged until publish).

La descripción está en inglés porque es el texto oficial que ve tu IA.

MCP: create_gtm_variable

Cómo usarla

No llamas a las herramientas por su nombre. Escribe lo que quieres en ChatGPT, Claude u otro asistente conectado a Opus Growth; la IA elige esta herramienta cuando encaja.

Como esta herramienta cambia tu cuenta, tu asistente muestra primero una vista previa exacta del cambio. Nada se aplica sin tu sí y cada cambio aplicado queda en tu registro de auditoría.

Parámetros

NombreTipoObligatorioPor defecto
namestringObligatorio·Human-readable name for the resource being created or updated.
variable_typestringObligatorio·Provider-specific variable type accepted by this operation. Use a supported value from the tool documentation or returned provider data.
parametersstringOpcional·Provider-specific parameter payload accepted by this operation; preserve the documented structure.
workspacestringOpcional·Exact workspace identifier or resource name returned by the relevant workspace-listing tool.
containerstringOpcional·Exact container identifier or resource name returned by the relevant container-listing tool.
confirmbooleanOpcionalfalseSafety confirmation for a state-changing operation. Leave false to preview or validate; set true only after the user explicitly approves the shown change.