> ## 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.

# Link Destination

> Links a Google tag destination (e.g

Links a Google tag destination (e.g. a GA4 measurement ID) to a Google Tag Manager container.

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

## Inputs

| Field                                  | Type           | Required | Default | Description                                                                                                                           |
| -------------------------------------- | -------------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| `account`                              | DynamicAccount | Yes      | -       | Select the Google Tag Manager account.                                                                                                |
| `container`                            | DynamicAccount | Yes      | -       | Select the container to link the destination to.                                                                                      |
| `destination_id`                       | string         | Yes      | -       | Google tag destination ID to link, e.g. a GA4 measurement ID like G-XXXXXXX or an Ads conversion ID like AW-XXXXXXX.                  |
| `allow_user_permission_feature_update` | boolean        | No       | -       | Set to true to allow the link when it would enable per-user permission features on the container. The API rejects the link otherwise. |

## Output

**Type**: `Dict`

Returns the linked destination as provided by the Tag Manager API.
