> For the complete documentation index, see [llms.txt](https://discortics.com/llms.txt). A consolidated single-file corpus is available at [llms-full.txt](https://discortics.com/llms-full.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://discortics.com/guides/invite-tracking.md).

# Invite Tracking

Tracking, statistics, and resets are available on every plan.

## Before you begin

- You need **Manage Server** to configure or reset tracking.
- Discortics needs **Manage Server** to read invites, plus **Send Messages** and **Embed Links**.

## Turn on tracking

### Dashboard Setup

1. Open **Dashboard → Settings → Invite Tracking**.
2. Turn on the toggle.
3. Save with the save bar.
4. Join with a test invite, then run `/invites`.

### Discord Command Setup

1. Run `/settings invites`.
2. Select the status button to turn on tracking.
3. Join with a test invite, then run `/invites`.

Turning off tracking keeps existing counts. To clear them, use [Reset](#reset-invite-data).

## View invite counts

- `/invites` shows your own counts.
- `/invites user:@member` shows another member.
- `;invites server` shows vanity URL and untracked joins.

| Field       | What it means                                                      |
| ----------- | ------------------------------------------------------------------ |
| **Real**    | Invited members who count as legitimate joins                      |
| **Left**    | Invited members who later left                                     |
| **Fake**    | Joins counted as fake                                              |
| **Total**   | All legitimate invite credits so far                               |
| **Source**  | The latest detected invite, vanity URL, or ambiguous source        |
| **Inviter** | The member credited, or your server for vanity and untracked joins |

## How counts work

- An account younger than seven days counts as **fake**.
- Rejoining within 24 hours through the same inviter moves the member from left back to real.
- Rejoining within 24 hours through a different inviter counts as fake for that inviter.
- Rejoining after 24 hours can create a new credit.

## Resolve an ambiguous join

If several invites could match a join, `/invites user:@member` shows **Pending ambiguity**. You need **Manage Server** to resolve it.

1. Run `/invites user:@member`.
2. Review each invite code, inviter ID, and usage change.
3. Select the invite that was used.

> [!NOTE]
> No tracker can always tell simultaneous joins apart, such as during a raid. Discortics marks these for review rather than guessing.

## Reset invite data

Open `/settings invites` and select **Reset**.

- **Selected Users** clears 1 to 25 inviters.
- **Entire Guild** clears every count across the server.

`/settings reset type:invites` is a separate server-wide reset. See [Statistics](/guides/statistics#reset-statistics).

> [!WARNING]
> Invite resets can't be undone. Note down any counts you need first.

## Welcome and leave messages

Show invite details in your messages with the [invite variables](/guides/welcome#variables). Turn on tracking before you use them.

## Commands

| Command                  | What it does                              | Permission                             |
| ------------------------ | ----------------------------------------- | -------------------------------------- |
| `/settings invites`      | Turn on, turn off, or reset tracking      | Manage Server                          |
| `/invites` (alias: `;i`) | View your own counts                      | None                                   |
| `/invites user:`         | View a member and resolve ambiguous joins | None to view, Manage Server to resolve |
| `;invites server`        | View vanity URL and untracked join counts | None                                   |
