> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Gtag Config

> Fetches a single google tag config from a Google Tag Manager workspace with its full configuration

Fetches a single google tag config from a Google Tag Manager workspace with its full configuration. Google tag configs hold gtag.js settings in a Google Tag Manager container.

| | |
| - | - |
| **App** | Google Tag Manager |
| **Operation ID** | `gtm_get_gtag_config` |
| **Type** | Action |
| **Connection** | `gtm` (required) |
| **Credits per run** | 1 |
| **Agent / MCP tool** | Yes |

## Inputs

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `account` | DynamicAccount | Yes | - | Select the Google Tag Manager account. |
| `container` | DynamicAccount | Yes | - | Select the container. |
| `workspace` | DynamicAccount | Yes | - | Select the workspace. |
| `gtag_config` | DynamicAccount | Yes | - | Select the google tag config to fetch, or provide its ID. |

## Output

**Type**: `Dict`

Returns the google tag config as provided by the Tag Manager API.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.