Privacy Policy

What we collect, how it's processed, where it's stored, and how to delete it. Plain English, no legalese.

Last updated: 2026-05-03 (rev. 2)

Who we are

tgram-analytics is an independent, open-source analytics project. The hosted service at tgram-analytics.com and the bot @MyTelegramAnalyticsBot are operated by a single person. The server source code is public at github.com/tgram-analytics/server.

If you'd rather not trust a hosted service at all, you can self-host the same software on your own infrastructure. This policy applies only to the hosted version.

Two situations, two relationships

Whether we hold any data about you depends on which side of the system you're on:

1. You use the Telegram bot

If you talk to @MyTelegramAnalyticsBot to create projects, set alerts, or run reports, we are the controller of the small amount of account data described below. You're our user.

2. You visit a website or app that uses tgram-analytics

If a site or app you visit ships our SDK, the events from your visit flow into that operator's project. The operator decides what to track, what their retention is, and what to do with it. Legally, they are the controller; we are the processor acting on their behalf.

Bottom line for visitors: if you want a copy of, or want to delete, events about you stored under someone else's project, contact that operator first. They can delete the entire project (which wipes every event in it) instantly from their Telegram bot. We can also help out-of-band — see Your rights.

What we collect

From bot users

We don't store your Telegram username, display name, or profile photo. We don't ask for your email, phone number, or any payment details. There's no account password — Telegram authenticates you for us.

From end-visitors of sites/apps using the SDK

Each event includes:

What we explicitly do not store

How long we keep it

Events have a per-project retention window (default 90 days). A nightly job deletes anything older. Operators can lower this for their project at any time.

Bot account data (your Telegram IDs, projects, alerts) stays until you delete it — see below. There's no automatic expiry on accounts.

Server logs pass through a redaction filter that strips API keys and obvious PII before they're written. They're retained on the host platform under its default rotation; we don't ship them to any third-party log aggregator.

Where it lives

The bot, ingestion API, and database all run on a single server hosted in the European Union, managed via Coolify. Event data and bot account data don't leave the EU on our end.

The stack on that server is: a FastAPI app and a PostgreSQL database, plus a self-hosted chart renderer (QuickChart) running as a separate container on the same host. Nothing is shipped to third-party data warehouses or analytics services.

Bot messages necessarily travel through Telegram's infrastructure. The marketing website at tgram-analytics.com is served separately by GitHub Pages and pulls fonts and the JS SDK bundle from public CDNs — see Sub-processors for the full picture.

Your rights and how to exercise them

Under the GDPR you have rights to access, correct, delete, port, or object to processing of your personal data. Here's how to actually do that with us:

If you're a bot user (you created projects)

If you're a visitor of a site that uses tgram-analytics

The site operator is your first point of contact — they decide what gets tracked and have direct, instant deletion controls (deleting the project wipes every event in it).

If the operator is unresponsive or you want to escalate, email us. Because we don't store IPs or names, locating events that belong to one specific visitor is best-effort: in practice, the cleanest way to honor an erasure request for end-visitor data is for the operator to delete the project.

Complaints

If you think we've mishandled your data, please email us first so we can fix it. You also have the right to lodge a complaint with your national EU data protection authority.

Sub-processors

These are the third parties that touch your data on the way through. We've split them by which surface they apply to, because the bot/API and the marketing website have different exposures.

Bot and ingestion API (where event and account data live)

Marketing website (tgram-analytics.com)

If you're just reading these pages, your browser also makes requests to:

If you find this list annoyingly long, fair enough — most of these are commodity website plumbing rather than analytics, but they're third parties and we'd rather over-disclose than under-disclose.

What's not on this list

We don't use Stripe (no payments yet), AWS, GCP, Cloudflare, Plausible, Google Analytics, Meta Pixel, Hotjar, Sentry, or any other analytics/marketing/error-tracking service.

Changes to this policy

If we materially change what we collect, where it lives, or who has access to it, we'll update the date at the top of this page and try to notify active bot users via the bot. Minor wording or clarification edits don't get an announcement.

Contact

Questions, requests, complaints — all to: rignanese.leo@gmail.com.

Or DM @MyTelegramAnalyticsBot directly. The bot is operated by a human (just one).