Docs menuUsage report (telemetry)

Usage report (telemetry)

Use with AI

Once a day, a Colliedesk install sends one small usage report to the Colliedesk team. It tells us how many installs exist, which versions they run and how much they are used, so we know what to fix and which versions still need security updates. It carries counts and the public host name of your install. This daily report never contains a person's name, an email address, a workspace name, a subject, a message or anything else your customers wrote.

On this page

Colliedesk Cloud sends more than this report: trial, activation and payment events, and a daily workspace_snapshot that names each workspace (its name and slug), because HC Labs runs that service for those customers. A self-hosted install never sends either; see Colliedesk Cloud only.

The report is on by default. You can turn it off at any time.

Turn it off

The person who runs the server turns it off with DISABLE_TELEMETRY=true (or DO_NOT_TRACK=1) in the server environment; see usage report settings. Development builds never send the report.

What is sent

One event, instance heartbeat, at most once a day per install. A server checks every hour, starting one minute after it starts; several servers on one database (a restart, a second replica) still send one report a day together. Each report sent is also written to the server log as usage report sent with the same values.

Field Example Meaning
distinct_id 5f0c…-… A random id created once for this install (table instance). It is not derived from anything about you.
version 0.2.0 Colliedesk version
realm self-hosted cloud on Colliedesk Cloud, self-hosted everywhere else
domain help.example.com Host name of APP_ORIGIN, in ASCII. Sent only for a name under a public domain suffix. Not sent for localhost, IP addresses, names that contain an IP address, .onion names, private suffixes (.local, .lan, .internal, .corp, .home.arpa, …) or private hosting suffixes (a tailnet, github.io).
os, arch linux, amd64 Platform the server runs on
workspaces 1 Number of workspaces
agents_active_30d 4 Agents with a session used in the last 30 days
replies_30d 812 Replies sent from Colliedesk in the last 30 days (notes and imported replies not counted)
email_channel true Whether any workspace has an email channel
web_form false Whether any workspace has the web form on
freshdesk_import true Whether the install has records of a Freshdesk import

Colliedesk Cloud only: trial, activation and payment events

Colliedesk Cloud (realm cloud) also sends these events, so the team can see how many trials start, how far a new workspace gets, and how many become paid. A self-hosted server has no trials or billing and never sends them; DISABLE_TELEMETRY and DO_NOT_TRACK turn them off too.

Event When Fields
trial_started A cloud sign-up creates a workspace and signs its admin in distinct_id = the workspace id, realm, version, signup_via = ai_app_connector when the sign-in that started the trial came from an AI app connecting to Colliedesk (its sign-in returns to this server's /oauth/authorize page, as Claude's or ChatGPT's connector does) or web for every other sign-up (only one of these two values, never the page or its query), signup_app on a connector sign-up only: the AI app that connected, one of claude, claude_code, chatgpt, codex, cursor, vscode, glama or other, read from the app's client id on that page (the host of its client ID metadata document, and on the Claude and ChatGPT hosts the path that names Claude Code or Codex, never fetched; or the name of a registration this server signed; never the client id or the name itself), and website_visitor_id when the browser has the colliedesk.com analytics cookie (set only after the person accepted cookies on the website): the random id PostHog gave that visit, so the team can see which page led to the trial; the post or ad the sign-in link came from, when it had any: utm_source, utm_medium, utm_campaign, utm_content, utm_term and the ad click IDs ttclid (TikTok) and fbclid (Meta), each only when it is a plain token of letters, digits, ., _ and -; referrer_host, the host name of the site whose link first opened the sign-in page in that browser tab (for example claude.ai; only the host, never the page address or its query, and nothing when the browser named no outside site); and internal = true when the admin's address (any spelling of that mailbox: +tag, Gmail dots) or its domain is listed in the server's INTERNAL_SIGNUP_EMAILS, or the sign-up came from a network in INTERNAL_SIGNUP_NETWORKS (the team's own tests, left out of the trial count; never the address itself)
email_channel_saved An admin saves the workspace's support address distinct_id = the workspace id, realm, version (never the address)
reply_sent A reply to a customer is sent from Colliedesk; a note is not a reply distinct_id = the workspace id, by (person, or ai_agent for an agent token), realm, version (never the text or the recipient)
sample_conversations_added A workspace that signed up from an AI app starts with sample conversations (see Connect an AI agent) distinct_id = the workspace id, count (how many were added), realm, version (never the text or the address)
mcp_tool_called An AI app or agent token calls one of the workspace's MCP tools (a workspace that works only through an AI app shows its use here, not in the web app). Operator tools are not counted distinct_id = the workspace id, tool (the tool's name, for example colliedesk_inbox_search), token (oauth for an AI app connected with OAuth, agent_token for a token a person made), outcome (ok, refused, agent_request or error), error_type (a fixed name such as permission_missing or not_found, empty when the call succeeded), duration_ms, realm, version (never the arguments, the answer or anything a customer wrote)
onboarding_step_started, onboarding_step_completed A step of a cloud sign-up's setup plan first starts (an import runs or a move was requested, an invite went out, the address waits for its first email, a first tag) and first finishes, in the workspace's first 30 days; once per step. Sent by the server, every 5 minutes at most after the step moved distinct_id = the workspace id, step (email, import, invite, saved_replies, tags, first_reply, ai_drafts, reply_targets or agent), the sign-up answers goal, role, source, agent_count, current_tool, tickets_per_month, renewal_month (YYYY-MM) and pain, each only when answered (fixed values and a number, never free text), realm, version
teammate_invited An admin invites a teammate distinct_id = the workspace id, realm, version (never the invited address)
trial_offer_accepted An admin accepts a trial offer link an operator sent distinct_id = the workspace id, extended (false when the trial already ended later and was kept), realm, version
subscription_activated A workspace becomes a paying customer for the first time (its first subscription.active from Polar). A redelivered webhook, a past_due subscription paid again and a later plan change are not counted again distinct_id = the workspace id, plan (solo, small, team, team25 or founding), the same utm_*, ttclid, fbclid and referrer_host values as its trial_started, realm, version

Once a day, with the instance heartbeat, Colliedesk Cloud also sends one workspace_snapshot event per workspace, so the team can see how each customer is doing: distinct_id = the workspace id, realm, version, the workspace's name and slug, and these counts (never an email address or anything written in a conversation):

Field Example Meaning
workspace_name, workspace_slug Acme Support, acme-support The workspace's name and address slug, so the team knows which customer it is
plan trial trial, solo, small, team, team25, founding or none (trial over, no paid plan), the same plan the billing page shows
trial_days_left 6 Days left of the trial, rounded up; empty unless plan is trial
days_since_created 10 Whole days since the workspace was created
agents_total 2 Agents that are not deactivated
agents_active_7d, agents_active_30d 2, 2 Agents who signed in (used a session) in the last 7 or 30 days. Agent tokens do not count: a token working is not a person signing in. This differs from the agents_active_30d of the instance heartbeat above, which counts every session, tokens included, across all workspaces
replies_7d, replies_30d 1, 2 Replies sent from Colliedesk in the last 7 or 30 days (notes and imported replies not counted)
ai_agent_replies_7d 1 Of the replies in the last 7 days, those written with an agent token
conversations_open 1 Conversations with status open
conversations_created_7d 1 Conversations created in the last 7 days
email_channel false Whether the workspace has an email channel. On Colliedesk Cloud always true, because sign-up creates the hosted address; see email_state
email_state waiting Whether email reaches the workspace, the same answer as the email step of its setup guide: working (a customer message arrived on an email channel), waiting (an email channel works but nothing has arrived yet), needs_attention (its email channels are off or broken) or none (no email channel). Only the state: no address and no reason text
inbound_messages_7d 3 Customer messages that arrived in the last 7 days, on any channel (messages imported from another helpdesk not counted). Only a count: no sender and no text
mailbox_connected false Whether one of the workspace's email channels sends through a connected Gmail or Microsoft 365 mailbox (a connection whose grant failed does not count). Never the mailbox's address
web_form true Whether the workspace has the web form on
tokens_active 1 Agent tokens that are not revoked or expired
help_chat false Whether the workspace has a help chat channel on
chat_answers_month, chat_handoffs_month 0, 0 AI chat answers given this month (UTC, the month the chat's limits count) and chats started this month that a customer handed to the team. Only counts: no question, answer or address
freshdesk_import true Whether the workspace has records of a Freshdesk import
time_to_backtest_seconds 7200 How long a new team waited for a first AI backtest report: whole seconds from the workspace's creation to the first backtest that ended with a report, finished or ended for too few replies (not_enough_replies) after sorting the inbox. A failed or stopped backtest is no report. Empty until then. Only a duration: no score, model or conversation
time_to_first_result_seconds 5420 How long a new team waited to see a first result: whole seconds from the workspace's creation (the sign-up) to the first import in the app whose reconcile report was ready (OK, FAILED or UNVERIFIED). Empty until then, and for a workspace imported only with the command line, which records no such moment. Only a duration: no account, name or count from the import. Undoing the import does not change it. It always ends at the import report; the first AI backtest report has its own, time_to_backtest_seconds
auto_answer_coverage_day3, auto_answer_coverage_day7 0.62, 0.81 The team's internal target of auto-answer: of the customer emails that needed a reply in the first 3 (and 7) days after the workspace's newest finished import that was not undone, the share AI resolved by itself and was confirmed (the customer said it helped, or stayed quiet 7 days), 0 to 1. Empty until that many days have passed since the import, for a workspace without an import, and when no such email came. Only a share: no count, no text
time_to_first_result_seconds 5420 How long a new team waited to see a first result: whole seconds from the workspace's creation (the sign-up) to the first import in the app whose reconcile report was ready (OK, FAILED or UNVERIFIED). Empty until then, and for a workspace imported only with the command line, which records no such moment. Only a duration: no account, name or count from the import. Undoing the import does not change it. It always ends at the import report; a later first result (such as an AI backtest) gets a field of its own

Each batch sent is logged as workspace snapshots sent. A failed send is logged as usage report not sent and never stops the server; the day's report is not retried.

The workspace id is a random UUID. The trial, activation and payment events in the first table never carry the email address of the person who signed up, the workspace name or its address; only workspace_snapshot carries the workspace's name and slug, and no event carries an email address. The events are sent in the background; a failure is logged as funnel event not sent and changes nothing in the workspace.

Colliedesk Cloud only: sign-ups from Meta ads

When a team starts a Colliedesk Cloud trial after clicking one of our ads on Facebook or Instagram, the sign-in link carries Meta's click ID (fbclid). The server then reports to Meta's Conversions API that the click led to a trial (StartTrial), and later, if the team subscribes, to a paid plan (Subscribe). Each report carries only:

  • fbc: the click ID and the time the browser first saw it,
  • the IP address and browser (User-Agent) of the sign-up,
  • fbp: if the person accepted cookies on colliedesk.com, the random browser ID the Meta pixel stored there in the _fbp cookie, which the browser sends with the sign-up,
  • event_id = the workspace id, so Meta counts a report once even when it is sent again,
  • for Subscribe, the plan's price and currency.

It never carries an email address, a name, a company, the workspace name or anything from the workspace. Nothing is reported for a sign-up without fbclid. The app loads no Meta pixel and sets no Meta cookie; the website loads the Meta pixel only after the visitor accepts cookies there. The server sends the reports in the background, after the sign-up or the payment, and retries a failed one later; neither ever waits for Meta. Once the Subscribe report is sent, or 90 days after a sign-up, the server forgets the sign-up's IP address, browser and browser ID.

A self-hosted server never sends anything to Meta and has no setting to turn it on.

How the web app is used

The web app also reports which screens agents open and which buttons they click, so the team can see what is used and what is confusing. It is on by default, on Colliedesk Cloud and self-hosted alike, and the same switch as the usage report turns it off: set DISABLE_TELEMETRY=true (or DO_NOT_TRACK=1) and the web app never loads the analytics library. Every event carries realm (cloud or self-hosted).

  • On Colliedesk Cloud the agent is named by their agent id, email address and display name, with their role (admin when they hold the Admin role, agent when they hold the Agent role, other when they hold only roles the workspace made), and every event carries the workspace id, name, slug and plan, so the team knows which customer it is helping. A self-hosted install sends only the random agent id, role, workspace id and plan: its agents are not our customers.
  • Every element's text and attributes are masked, so no conversation, message, contact or form content is sent. URLs are sent without their query string or fragment, and page titles are dropped.
  • Nothing is stored in the browser for it (no cookie, no local storage), and no session is recorded.

Besides page views, the web app sends these named events. Their properties are only yes/no values, counts and a fixed set of labels; never a search term, a contact, a message, or an id of either. Each is sent only after the action succeeded.

Event Properties
conversation_opened source: list or link
inbox_filtered filter: the kind of filter changed: status, priority, assignee, tag, contact, organization, awaiting, draft, delivery, source, channel, created, updated or sort; never its value
inbox_searched has_results (the search words are never sent)
saved_reply_inserted none
conversation_status_changed to: the new status
conversation_assigned to_self
bulk_action_applied action: status, assign, add_tag or remove_tag; count
reply_draft_decided decision: sent or discarded; sent when someone sends or discards a reply draft an AI made or an AI agent left
settings_section_opened section: the settings page opened from the settings menu: account, general, members, channels, help_chat, targets, ai, saved_replies, data or billing (see below)
workspace_export_requested none
onboarding_step_started step: email, import, ai_drafts, reply_targets, agent, invite or first_reply; sent when someone selects a step of the setup guide
onboarding_step_completed step: as above; sent when the step turns done while the guide is shown
problem_reported none; sent after a problem report reached the support desk (the report itself goes to the server's support desk, not to PostHog)

When you sign out, the web app forgets the agent id, so later events no longer carry it.

Settings pages before and after

Settings was one long page until each menu item became a page of its own (#528). Before, settings_section_opened named the section the menu scrolled to; now it names the page the menu opens. To keep an existing insight counting the same visits, match the old values to the new ones:

Old section New section
profile, preferences, sessions, connected_apps account
general general
team, invites members
agents, ai ai
export data
channels, saved_replies, billing unchanged
help_center no longer sent: the help center's settings are in Knowledge base → Settings
none targets (Response targets), and Data opened for the Freshdesk import, were not counted before

Trial question (Colliedesk Cloud only)

In the last 7 days of a free trial, an admin sees one short line in the trial notice: "What's still missing to leave Freshdesk? Tell us". Tell us opens the question "What is still missing for you to leave Freshdesk for good?" under the notice (from the bottom of the screen on a phone), with a link to book a 15-minute call instead. Opening it sends survey_opened with no text, once per page load. Escape or a press outside closes it and keeps what was typed until the page reloads. The text of the answer is sent only when the admin presses Send, as the event survey_answered. This is the one event that carries text a person typed. "Not now", or the close mark on the line, sends survey_dismissed with no text. "Send", "Not now" and the close mark end the question for good in that browser; closing the whole trial notice hides it with the notice. People whose address is on the team list of the server (internal_signup.emails, the team running Colliedesk Cloud) are never asked. Self-hosted installs never show the question.

Where it goes

The report goes to PostHog (us.i.posthog.com), the product analytics service the Colliedesk team uses. PostHog receives the IP address the request comes from; the project is set to discard it after deriving a country. The project key in the code can add events but cannot read them. Anyone can send events with a public key, so we treat the reports as estimates.

To have the reports of your install deleted, send its id to support@colliedesk.com with "Usage report" in the subject. Usage report settings shows where to find the id.

The code is in server/internal/telemetry/. The counts come from SQL in usage.go and, for the workspace snapshots, snapshot.go; read it to check this page.

For developers and AI agents

  • When usage reporting is off, GET /api/v1/config answers product_analytics.enabled: false. The web app reads it and does not load the analytics library.

Was this page helpful?

Updated

This page is rendered from the repository. Spot a mistake? Open an issue or a pull request.