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

# Create Insight Tag

> Create the LinkedIn Insight Tag for an ad account and return the JavaScript snippet to install on the site

Create the LinkedIn Insight Tag for an ad account and return the JavaScript snippet to install on the site. An account can hold only one tag, so check with linkedin\_ads\_get\_insight\_tag first. The tag reports domains a few minutes after the snippet goes live and a page is visited.

|                       |                                   |
| --------------------- | --------------------------------- |
| **App**               | LinkedIn Ads                      |
| **Operation ID**      | `linkedin_ads_create_insight_tag` |
| **Type**              | Action                            |
| **Connection**        | `linkedin_ads` (required)         |
| **Credits per run**   | 1                                 |
| **Agent / MCP tool**  | Yes                               |
| **Requires approval** | Yes (write operation)             |

## Inputs

| Field                          | Type           | Required | Default | Description                                                                                                                                                                                                                                       |
| ------------------------------ | -------------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `account`                      | DynamicAccount | Yes      | -       | LinkedIn Ads account to create the Insight Tag for. An account can hold only one Insight Tag, so this fails if one already exists. Check with linkedin\_ads\_get\_insight\_tag first.                                                             |
| `first_party_tracking_enabled` | boolean        | No       | `True`  | Whether the tag may drop a first party cookie on the advertiser's own domain, which survives browser tracking restrictions better than a third party cookie. LinkedIn defaults this on, and the setting applies to every account sharing the tag. |

## Output

**Type**: `Dict`

Returns the Insight Tag with its installable snippet. If the account already had one, that tag is returned with already\_existed true and nothing is created.

**Fields**: `account_id`, `insight_tag_id`, `first_party_tracking_enabled`, `snippet`, `already_existed`
