Tecrübetecrube.com
Référence des outils — Données & site

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édits

Google Tag Manager accounts and containers the connected Google user can access (id, GTM-XXXX public id, name). Read only.

ParamètreTypeDescription
account_idFacultatifstring—

list_gtm_workspaces

Lecture1 crédits

Workspaces of a GTM container. Read only.

ParamètreTypeDescription
containerObligatoirestringcontainer id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path
account_idFacultatifstring—

list_gtm_tags

Lecture1 crédits

Tags in a GTM workspace with type, parameters and firing triggers; flags tags that have no trigger (never fire) and paused tags. Read only.

ParamètreTypeDescription
containerObligatoirestringcontainer id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path
account_idFacultatifstring—
workspaceFacultatifstringworkspace id or name; default: Default Workspace

list_gtm_triggers

Lecture1 crédits

Triggers in a GTM workspace with type and conditions. Read only.

ParamètreTypeDescription
containerObligatoirestringcontainer id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path
account_idFacultatifstring—
workspaceFacultatifstringworkspace id or name; default: Default Workspace

list_gtm_variables

Lecture1 crédits

User-defined and enabled built-in variables in a GTM workspace. Read only.

ParamètreTypeDescription
containerObligatoirestringcontainer id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path
account_idFacultatifstring—
workspaceFacultatifstringworkspace id or name; default: Default Workspace

list_gtm_versions

Lecture1 crédits

Container versions (newest first) and the currently live version. Use before revert_gtm_version. Read only.

ParamètreTypeDescription
containerObligatoirestringcontainer id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path
account_idFacultatifstring—
limitFacultatifinteger (1–100)—

list_gtm_permissions

Lecture1 crédits

Who has access to a GTM account and at which level per container (read, edit, approve, publish). Read only.

ParamètreTypeDescription
account_idFacultatifstring—

verify_gtm_conversion_tag

Lecture3 crédits

Audit: 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ètreTypeDescription
containerObligatoirestringcontainer id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path
account_idFacultatifstring—
workspaceFacultatifstringworkspace id or name; default: Default Workspace
sourceFacultatiflive | workspace—
thank_you_pathFacultatifstringURL fragment of the thank-you page, e.g. /tesekkurler

Outils d'écriture9 outils

create_gtm_workspace

Écriture2 crédits

Create a GTM workspace. Opens an approval item with a preview; created only after approval.

ParamètreTypeDescription
containerObligatoirestringcontainer id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path
account_idFacultatifstring—
nameObligatoirestring—
descriptionFacultatifstring—

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édits

Create 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ètreTypeDescription
containerObligatoirestringcontainer id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path
account_idFacultatifstring—
workspaceFacultatifstringworkspace id or name; default: Default Workspace
nameObligatoirestring—
kindObligatoirega4_event | ads_conversion | conversion_linker | google_tag | html—
paramsFacultatifobjectga4_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_idsFacultatifarray<string>—
firing_trigger_namesFacultatifarray<string>trigger names (e.g. 'All Pages') resolved to ids on apply
notesFacultatifstring—

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édits

Create a GTM trigger (page view, custom event, click, form submission, …) with optional conditions. Approval item with preview.

ParamètreTypeDescription
containerObligatoirestringcontainer id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path
account_idFacultatifstring—
workspaceFacultatifstringworkspace id or name; default: Default Workspace
nameObligatoirestring—
kindFacultatifclick | custom_event | dom_ready | element_visibility | form_submission | history_change | js_error | link_click | page_view | pageview | scroll_depth | timer | window_loaded—
event_nameFacultatifstringfor kind=custom_event
page_pathFacultatifstringshortcut: fire only when Page URL contains this
conditionsFacultatifarray<object>—
wait_for_tagsFacultatifboolean—
notesFacultatifstring—

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édits

Create a user-defined GTM variable (data layer, constant, cookie, URL, JavaScript, DOM element, lookup table). Approval item with preview.

ParamètreTypeDescription
containerObligatoirestringcontainer id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path
account_idFacultatifstring—
workspaceFacultatifstringworkspace id or name; default: Default Workspace
nameObligatoirestring—
kindFacultatifauto_event | constant | cookie | custom_js | data_layer | dom_element | javascript | lookup_table | url—
paramsFacultatifobjectdata_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.
notesFacultatifstring—

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édits

Enable built-in GTM variables (Click URL, Form ID, Page Path, …) in a workspace. Approval item.

ParamètreTypeDescription
containerObligatoirestringcontainer id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path
account_idFacultatifstring—
workspaceFacultatifstringworkspace id or name; default: Default Workspace
variablesObligatoirearray<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édits

Create 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ètreTypeDescription
containerObligatoirestringcontainer id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path
account_idFacultatifstring—
workspaceFacultatifstringworkspace id or name; default: Default Workspace
version_nameObligatoirestring—
notesFacultatifstring—

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édits

Re-publish an earlier container version (default: the one before the live version). Approval item; use list_gtm_versions first.

ParamètreTypeDescription
containerObligatoirestringcontainer id, GTM-XXXXXXX public id, name, or accounts/A/containers/C path
account_idFacultatifstring—
version_idFacultatifstringomit 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édits

Grant 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ètreTypeDescription
account_idFacultatifstringGTM account id or name; optional with a single account
emailObligatoirestring—
account_permissionFacultatifuser | admin | noAccess—
containersFacultatifarray<object>—
replace_containersFacultatifbooleantrue: 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édits

Remove a user from a Google Tag Manager account and all of its containers. Preview shows the access being removed; applied only after approval.

ParamètreTypeDescription
account_idFacultatifstring—
emailObligatoirestring—

Outil d'écriture : l'appel produit d'abord un aperçu ; la modification n'atteint la plateforme qu'après votre validation.