Docs menu
Get started
What is Opus GrowthQuickstartAdd to your AIHow it worksSafety and approvalCreditsPlansFAQAI apps
All AI appsChatGPTClaudeGrokPerplexityClaude CodeCodexGemini CLIOpenClawCursorVS CodeWindsurfOther MCPConnect ad platforms
Google AdsMeta AdsLinkedIn AdsMicrosoft AdvertisingTikTok AdsChatGPT AdsAgencies and MCCConnect data sources
Search ConsoleGoogle AnalyticsYouTubeBusiness ProfileTag ManagerWebsites and SEO
AI ServerWordPressSEO IntelligenceClick fraudTool reference
All toolsGoogle AdsMeta AdsTikTok AdsLinkedIn AdsMicrosoft AdvertisingChatGPT AdsSearch ConsoleGoogle AnalyticsYouTubeBusiness ProfileTag ManagerWordPressAI ServerSEO IntelligenceClick fraudCross-channelAccount and billingLanguage
Create GTM Tag
Creates a TAG in a workspace.
- Type
- Makes changes
- Credits
- 3
- Platform
- Tag Manager
- Approval
- Preview first, applied after you approve
What it does
Creates a TAG in a workspace. tag_type = GTM type string: 'html' (Custom HTML → parameters='{"html":"<script>...</script>"}'), 'gaawc' (GA4 Configuration → '{"measurementId":"G-XXXX"}'), 'gaawe' (GA4 Event → '{"measurementIdOverride":"G-XXXX","eventName":"<event>"}'), 'sp' (Google Ads Conversion), 'img' (Custom Image Pixel → '{"url":"https://..."}'). parameters is JSON: an object {key:value} (each wrapped as a template param) OR a raw GTM parameter list for complex types. firing_trigger_ids = comma-separated triggerId(s) from list_gtm_triggers. SAFETY: confirm=false → preview; confirm=true → creates it (staged in the workspace; goes live only after publish_gtm_container).
MCP: create_gtm_tag
How to use it
You don't call tools by name. Write what you want in ChatGPT, Claude or another assistant connected to Opus Growth, in your own words; it picks this tool when it fits.
Parameters
| Name | Type | Required | Default | |
|---|---|---|---|---|
| name | string | Required | · | Human-readable name for the resource being created or updated. |
| tag_type | string | Required | · | Provider-specific tag type accepted by this operation. Use a supported value from the tool documentation or returned provider data. |
| parameters | string | Optional | · | Provider-specific parameter payload accepted by this operation; preserve the documented structure. |
| firing_trigger_ids | string | Optional | · | One or more exact firing trigger identifiers to target. Use identifiers returned by an Opus Growth list or create operation, not display names. |
| workspace | string | Optional | · | Exact workspace identifier or resource name returned by the relevant workspace-listing tool. |
| container | string | Optional | · | Exact container identifier or resource name returned by the relevant container-listing tool. |
| confirm | boolean | Optional | 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. |
Related tools
create_gtm_containerCreate GTM Triggercreate_gtm_triggerCreate GTM Variablecreate_gtm_variableCreate 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