Menú de documentación
Primeros pasos
Qué es Opus GrowthInicio rápidoAñádelo a tu IACómo funcionaSeguridad y aprobaciónCréditosPlanesPreguntas frecuentesApps de IA
Todas las appsChatGPTClaudeGrokPerplexityClaude CodeCodexGemini CLIOpenClawCursorVS CodeWindsurfOtros MCPPlataformas publicitarias
Google AdsMeta AdsLinkedIn AdsMicrosoft AdvertisingTikTok AdsChatGPT AdsAgencias y MCCFuentes de datos
Search ConsoleGoogle AnalyticsYouTubePerfil de EmpresaTag ManagerWebs y SEO
AI ServerWordPressSEO IntelligenceFraude de clicsReferencia de herramientas
Todas las herramientasGoogle AdsMeta AdsTikTok AdsLinkedIn AdsMicrosoft AdvertisingChatGPT AdsSearch ConsoleGoogle AnalyticsYouTubePerfil de EmpresaTag ManagerWordPressAI ServerSEO IntelligenceFraude de clicsMulticanalCuenta y facturaciónIdioma
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.
Parámetros
| Nombre | Tipo | Obligatorio | Por defecto | |
|---|---|---|---|---|
| name | string | Obligatorio | · | Human-readable name for the resource being created or updated. |
| variable_type | string | Obligatorio | · | Provider-specific variable type accepted by this operation. Use a supported value from the tool documentation or returned provider data. |
| parameters | string | Opcional | · | Provider-specific parameter payload accepted by this operation; preserve the documented structure. |
| workspace | string | Opcional | · | Exact workspace identifier or resource name returned by the relevant workspace-listing tool. |
| container | string | Opcional | · | Exact container identifier or resource name returned by the relevant container-listing tool. |
| confirm | boolean | Opcional | false | Safety confirmation for a state-changing operation. Leave false to preview or validate; set true only after the user explicitly approves the shown change. |
Herramientas relacionadas
create_gtm_containerCreate GTM Tagcreate_gtm_tagCreate GTM Triggercreate_gtm_triggerCreate GTM Workspacecreate_gtm_workspaceDelete GTM Containerdelete_gtm_containerDelete GTM Entitydelete_gtm_entityEnable GTM Built-in Variablesenable_gtm_builtin_variablesGTM Pending Changesgtm_workspace_statusGTM Accountslist_gtm_accounts