# Hermoso: create_tag_manager_tag · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/ads/create_tag_manager_tag/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Ad campaign management](https://hermoso.ai/docs/reference/ads/) / create_tag_manager_tag

# `create_tag_manager_tag`

Install a tag in the container draft

Area: GOOGLE TAG MANAGER · [Ad campaign management](https://hermoso.ai/docs/reference/ads/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## Description

INSTALL A TAG in the container's draft workspace: a Google Ads conversion tag, a GA4 event, or a third-party pixel. IT DOES NOT GO LIVE. Everything written here lands in a WORKSPACE, which is a draft, and it does not run on the website until a human opens Tag Manager and publishes the container. Staging NEVER publishes: making a tag live is a separate, explicitly confirmed call (publish_tag_manager_container), because publishing changes what executes for every visitor on the live site. Always tell the user the change is staged, and that it does nothing until it is published. TWO THINGS YOU MUST GET FROM THE CONTAINER RATHER THAN INVENT. (1) type is a Tag Manager type string and Google publishes no machine-readable list of them, so Hermoso forwards whatever you pass rather than validating against a list that would go stale and start refusing real types. Get the right one by calling list_tag_manager_tags and copying the type off a tag of the same kind that already exists, or read it in Tag Manager. (2) firingTriggerId is required and must name at least one real trigger id from list_tag_manager_tags, because a tag with no trigger is installed and never runs, which is worse than not installing it. Use create_tag_manager_trigger if the container has no suitable trigger. 0 credits. Needs Google Tag Manager connected.

## Parameters

Parameter Type Description

`containerPath` required `string` the "accounts/<id>/containers/<id>" path from list_tag_manager_containers

`gtmWorkspace` `string` Tag Manager workspace id or name. Defaults to the Default Workspace.

`workspace` `string` older name for gtmWorkspace (MCP only)

`name` required `string` what a human will look for in the Tag Manager UI

`type` required `string` the Tag Manager tag type string. Copy it off a tag of the same kind already in the container (list_tag_manager_tags) rather than guessing: Google publishes no machine-readable list of these.

`firingTriggerId` required `string[]` REQUIRED, at least one real trigger id from list_tag_manager_tags. A tag with no trigger is installed and never runs.

`parameter` `object[]` Tag Manager parameters, each { type, key, value }. type defaults to "template", which is Tag Manager's string type.

`blockingTriggerId` `string[]` trigger ids that stop this tag firing when they match

`tagFiringOption` `string` unlimited, oncePerEvent or oncePerLoad

`paused` `boolean` true = create the tag paused, so it does not fire

`notes` `string` internal note stored on the tag; not shown on the website

## Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and `POST https://app.hermoso.ai/v1/tools/create_tag_manager_tag`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_tag_manager_tag","arguments":{"containerPath":"<string>","name":"<string>","type":"<string>","firingTriggerId":"<array>"}}}`
**CLI**

`hermoso call create_tag_manager_tag --json '{"containerPath":"<string>","name":"<string>","type":"<string>","firingTriggerId":"<array>"}'`

## Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See [Credits & costs](https://hermoso.ai/docs/credits/).

## Related tools

- [publish_tag_manager_container](https://hermoso.ai/docs/reference/ads/publish_tag_manager_container/) Publish the container to the live site
- [list_tag_manager_tags](https://hermoso.ai/docs/reference/ads/list_tag_manager_tags/) What is actually firing on the site
- [create_tag_manager_trigger](https://hermoso.ai/docs/reference/ads/create_tag_manager_trigger/) Create a trigger in the container draft
- [update_tag_manager_tag](https://hermoso.ai/docs/reference/ads/update_tag_manager_tag/) Change a tag in the container draft
- [list_tag_manager_containers](https://hermoso.ai/docs/reference/ads/list_tag_manager_containers/) List the Tag Manager containers shared with this profile

[All 759 Ad campaign management tools](https://hermoso.ai/docs/reference/ads/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
