# Turn link tracking on or off

> Turn UTM tags on or off for links in posts Xholic publishes. When on (the default), links get utm_source=x, utm_medium=social, utm_campaign=xholic and the post's short id, so the owner's own site analytics show visits and signups from X. Nothing is redirected. Call it only when the user asked for this in the conversation; never on your own initiative.

`scheduler.set_link_tracking` · write

- **MCP tool:** `scheduler_set_link_tracking`. Catalog: reach it with `find_actions` and `run_write_action`, or turn on the full toolset.
- **REST:** `POST /v1/scheduler/set-link-tracking`
- **CLI:** `xholic scheduler set-link-tracking`
- **Scope:** `write`
- **Plan:** Every plan, including the trial
- **Cost:** Free.
- **Rate limit bucket:** `write`

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `timezone` | string ≤ 64 chars | Yes | IANA timezone such as America/New_York. Use the user's timezone. |
| `linkTracking` | boolean | Yes | true adds UTM tags to links; false posts links exactly as written. |
| `account` | string ≤ 64 chars | No | X account to act on, as @handle. Leave it out to use the connection's default account. |
| `note` | string ≤ 20000 chars | No | Optional, on any tool: one or two sentences for Xholic's shared memory about what the user just decided, asked for or said about themselves or their plans (e.g. "Dropping threads for now; focusing on replies to founders"). Every AI the user connects reads it, so they never repeat themselves. In your words, never other people's posts. Leave it out when nothing new was said. |
| `dryRun` | boolean | No | Return exactly what would happen without doing it. |
| `idempotencyKey` | string ≤ 200 chars | No | A unique key for this write. Repeating a call with the same key returns the first result instead of acting twice. |
