Tag Manager tools
Containers, workspaces, tags, triggers, variables, version publishing and rollback.
Les noms et descriptions des outils sont générés directement depuis le code du serveur ; les descriptions sont le texte anglais d'origine vu par l'assistant.
Outils de lecture8 outils
list_gtm_containers
Lecture1 créditsGoogle Tag Manager accounts and containers the connected Google user can access (id, GTM-XXXX public id, name). Read only.
| Paramètre | Type | Description |
|---|---|---|
account_idFacultatif | string | — |
list_gtm_workspaces
Lecture1 créditsWorkspaces of a GTM container. Read only.
| Paramètre | Type | Description |
|---|---|---|
containerObligatoire | string | container id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path |
account_idFacultatif | string | — |
list_gtm_tags
Lecture1 créditsTags in a GTM workspace with type, parameters and firing triggers; flags tags that have no trigger (never fire) and paused tags. Read only.
| Paramètre | Type | Description |
|---|---|---|
containerObligatoire | string | container id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path |
account_idFacultatif | string | — |
workspaceFacultatif | string | workspace id or name; default: Default Workspace |
list_gtm_triggers
Lecture1 créditsTriggers in a GTM workspace with type and conditions. Read only.
| Paramètre | Type | Description |
|---|---|---|
containerObligatoire | string | container id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path |
account_idFacultatif | string | — |
workspaceFacultatif | string | workspace id or name; default: Default Workspace |
list_gtm_variables
Lecture1 créditsUser-defined and enabled built-in variables in a GTM workspace. Read only.
| Paramètre | Type | Description |
|---|---|---|
containerObligatoire | string | container id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path |
account_idFacultatif | string | — |
workspaceFacultatif | string | workspace id or name; default: Default Workspace |
list_gtm_versions
Lecture1 créditsContainer versions (newest first) and the currently live version. Use before revert_gtm_version. Read only.
| Paramètre | Type | Description |
|---|---|---|
containerObligatoire | string | container id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path |
account_idFacultatif | string | — |
limitFacultatif | integer (1–100) | — |
list_gtm_permissions
Lecture1 créditsWho has access to a GTM account and at which level per container (read, edit, approve, publish). Read only.
| Paramètre | Type | Description |
|---|---|---|
account_idFacultatif | string | — |
verify_gtm_conversion_tag
Lecture3 créditsAudit: is there a Google Ads conversion tag (awct) attached to a thank-you-page trigger, and is a conversion linker present? Checks the live version by default. Read only.
| Paramètre | Type | Description |
|---|---|---|
containerObligatoire | string | container id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path |
account_idFacultatif | string | — |
workspaceFacultatif | string | workspace id or name; default: Default Workspace |
sourceFacultatif | live | workspace | — |
thank_you_pathFacultatif | string | URL fragment of the thank-you page, e.g. /tesekkurler |
Outils d'écriture9 outils
create_gtm_workspace
Écriture2 créditsCreate a GTM workspace. Opens an approval item with a preview; created only after approval.
| Paramètre | Type | Description |
|---|---|---|
containerObligatoire | string | container id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path |
account_idFacultatif | string | — |
nameObligatoire | string | — |
descriptionFacultatif | string | — |
Outil d'écriture : l'appel produit d'abord un aperçu ; la modification n'atteint la plateforme qu'après votre validation.
create_gtm_tag
Écriture2 créditsCreate a GTM tag (GA4 event, Google Ads conversion, conversion linker, Google tag or custom HTML) in a workspace. Preview shows the exact GTM body; applied after approval; nothing is live until publish_gtm_version.
| Paramètre | Type | Description |
|---|---|---|
containerObligatoire | string | container id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path |
account_idFacultatif | string | — |
workspaceFacultatif | string | workspace id or name; default: Default Workspace |
nameObligatoire | string | — |
kindObligatoire | ga4_event | ads_conversion | conversion_linker | google_tag | html | — |
paramsFacultatif | object | ga4_event: event_name, measurement_id (G-…), event_parameters {name: value or {{Variable}}}, send_ecommerce_data. ads_conversion: conversion_id (AW-… or digits), conversion_label, value, currency, order_id. google_tag: tag_id. html: html. |
firing_trigger_idsFacultatif | array<string> | — |
firing_trigger_namesFacultatif | array<string> | trigger names (e.g. 'All Pages') resolved to ids on apply |
notesFacultatif | string | — |
Outil d'écriture : l'appel produit d'abord un aperçu ; la modification n'atteint la plateforme qu'après votre validation.
create_gtm_trigger
Écriture2 créditsCreate a GTM trigger (page view, custom event, click, form submission, …) with optional conditions. Approval item with preview.
| Paramètre | Type | Description |
|---|---|---|
containerObligatoire | string | container id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path |
account_idFacultatif | string | — |
workspaceFacultatif | string | workspace id or name; default: Default Workspace |
nameObligatoire | string | — |
kindFacultatif | click | custom_event | dom_ready | element_visibility | form_submission | history_change | js_error | link_click | page_view | pageview | scroll_depth | timer | window_loaded | — |
event_nameFacultatif | string | for kind=custom_event |
page_pathFacultatif | string | shortcut: fire only when Page URL contains this |
conditionsFacultatif | array<object> | — |
wait_for_tagsFacultatif | boolean | — |
notesFacultatif | string | — |
Outil d'écriture : l'appel produit d'abord un aperçu ; la modification n'atteint la plateforme qu'après votre validation.
create_gtm_variable
Écriture2 créditsCreate a user-defined GTM variable (data layer, constant, cookie, URL, JavaScript, DOM element, lookup table). Approval item with preview.
| Paramètre | Type | Description |
|---|---|---|
containerObligatoire | string | container id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path |
account_idFacultatif | string | — |
workspaceFacultatif | string | workspace id or name; default: Default Workspace |
nameObligatoire | string | — |
kindFacultatif | auto_event | constant | cookie | custom_js | data_layer | dom_element | javascript | lookup_table | url | — |
paramsFacultatif | object | data_layer: data_layer_name, version, default_value. constant: value. javascript/cookie: name. url: component, query_key. custom_js: javascript. dom_element: element_id or selector, attribute. lookup_table: input, table. |
notesFacultatif | string | — |
Outil d'écriture : l'appel produit d'abord un aperçu ; la modification n'atteint la plateforme qu'après votre validation.
enable_gtm_builtin_variables
Écriture2 créditsEnable built-in GTM variables (Click URL, Form ID, Page Path, …) in a workspace. Approval item.
| Paramètre | Type | Description |
|---|---|---|
containerObligatoire | string | container id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path |
account_idFacultatif | string | — |
workspaceFacultatif | string | workspace id or name; default: Default Workspace |
variablesObligatoire | array<string> | e.g. ['Click URL', 'Form ID', 'Page Path'] |
Outil d'écriture : l'appel produit d'abord un aperçu ; la modification n'atteint la plateforme qu'après votre validation.
publish_gtm_version
Écriture2 créditsCreate a named container version from the workspace and publish it live. Riskiest GTM operation: always previewed with the version name and notes, applied only after approval.
| Paramètre | Type | Description |
|---|---|---|
containerObligatoire | string | container id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path |
account_idFacultatif | string | — |
workspaceFacultatif | string | workspace id or name; default: Default Workspace |
version_nameObligatoire | string | — |
notesFacultatif | string | — |
Outil d'écriture : l'appel produit d'abord un aperçu ; la modification n'atteint la plateforme qu'après votre validation.
revert_gtm_version
Écriture2 créditsRe-publish an earlier container version (default: the one before the live version). Approval item; use list_gtm_versions first.
| Paramètre | Type | Description |
|---|---|---|
containerObligatoire | string | container id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path |
account_idFacultatif | string | — |
version_idFacultatif | string | omit to go back to the version before the live one |
Outil d'écriture : l'appel produit d'abord un aperçu ; la modification n'atteint la plateforme qu'après votre validation.
update_gtm_permission
Écriture2 créditsGrant or change a user's Google Tag Manager access: account level (user/admin) and per-container (read, edit, approve, publish, noAccess). Existing users are updated, new e-mails are invited. Preview shows current vs new access; applied only after approval.
| Paramètre | Type | Description |
|---|---|---|
account_idFacultatif | string | GTM account id or name; optional with a single account |
emailObligatoire | string | — |
account_permissionFacultatif | user | admin | noAccess | — |
containersFacultatif | array<object> | — |
replace_containersFacultatif | boolean | true: the list replaces all container access; default merges |
Outil d'écriture : l'appel produit d'abord un aperçu ; la modification n'atteint la plateforme qu'après votre validation.
remove_gtm_permission
ÉcritureIrréversible2 créditsRemove a user from a Google Tag Manager account and all of its containers. Preview shows the access being removed; applied only after approval.
| Paramètre | Type | Description |
|---|---|---|
account_idFacultatif | string | — |
emailObligatoire | string | — |
Outil d'écriture : l'appel produit d'abord un aperçu ; la modification n'atteint la plateforme qu'après votre validation.