Telegram analytics for SaaS,
indie projects, and side hustles.
The best lightweight SaaS analytics tool that lives where you already do — in Telegram. Track signups, purchases, and errors from any stack. Get real-time alerts when important events happen, then ask the bot for instant reports whenever you need the bigger picture.
@MyTelegramAnalyticsBot
tgram-analytics
The value is simple: the data finds you.
You do not open another dashboard. Important events, charts, and digests arrive where you already work.
From your stack to you.
Events flow in. Telegram notifications flow out.
Start hosted. Self-host when you want.
Managed hosting is the fastest path. The open source server is there when you want full control.
Initialize once. Track anywhere.
Use one project key across your web app, mobile app, and backend. Every event lands in the same Telegram reports.
<!-- hosted by default, self-host when needed --> <script src="dist/tga.min.js"></script> <script> TGA.init("proj_xxx"); TGA.track("signup", sessionId, { plan: "pro" }); </script>
// In main(): void main() { TGA.init('proj_xxx'); runApp(MyApp()); } TGA.track('purchase', userId, properties: {'amount': 49.99});
from tgram_analytics import TGA tga = TGA( "proj_xxx" ) tga.track( "subscription_created", session_id=user.id, properties={"plan": "pro"} )
AI agent integration
MCP lets AI agents set up projects, track events, and query data — all through conversation. No manual SDK wiring, no dashboard diving.
Ask your agent to wire up analytics or run reports via MCP. The agent handles setup, tracking, and queries for you.
Not another dashboard you forget to open.
Google Analytics is powerful. tgram-analytics is for builders who want fast answers, lower setup friction, and Telegram-native alerts.
| tgram-analytics | Google Analytics / Amplitude | |
|---|---|---|
| Fastest hosted setup | ✓ Open bot, get key, track | More setup property, stream, tags |
| Daily workflow | ✓ Reports arrive in Telegram | ✗ You check a dashboard |
| Cost | First project free or self-host free | Free tier limits and paid upgrades vary |
| Proactive alerts | ✓ Built-in | Possible usually more configuration |
| Self-hosting option | ✓ Same product, your infra | ✗ Cloud platform only |
| Multi-stack (JS + Flutter + Python) | ✓ Same project, same report | Varies |
| Visitor & pageview tracking | ✓ Auto-tracked via JS SDK | ✓ Core GA feature |
| Custom events | ✓ signup, purchase, error — any event | ✓ Events + conversions |
| Funnels & paths | Basic Custom queries via bot | ✓ Advanced funnels, path exploration |
| User properties & segmentation | ✓ Track any properties per event | ✓ Audience + user explorer |
| Real-time data | ✓ Instant Telegram alerts | ✓ Real-time reports |
| Retention & cohorts | ✗ Not yet available | ✓ Cohort analysis, retention |
| Attribution & UTM | Manual Track UTM as properties | ✓ Full attribution modeling |
| Best fit | Indie projects, small teams, Telegram-first builders | Large teams, deep analytics, attribution-heavy orgs |
Managed first. Self-hosted when you need it.
Start without infrastructure. Keep the open source path for teams that want full control.
Frequently asked questions about tgram-analytics
Quick answers about the best Telegram analytics platform for SaaS, indie devs, and side projects.
What is tgram-analytics?
tgram-analytics is an open-source Telegram analytics platform for SaaS, indie projects, and side hustles. It tracks events, signups, purchases, and errors from any stack and delivers real-time alerts, weekly digests, and instant reports through a Telegram bot — so you don't need another dashboard.
Is tgram-analytics the best SaaS analytics tool for indie developers?
For solo founders and small teams that already live in Telegram, yes. tgram-analytics is the only SaaS analytics tool that pushes alerts and reports directly into your chat instead of waiting in a dashboard, supports JavaScript, Python, and Flutter from a single project key, and offers a free first project plus a fully MIT-licensed self-hosted option.
How is tgram-analytics different from Google Analytics, Mixpanel, or PostHog?
Unlike Google Analytics, Mixpanel, and PostHog, tgram-analytics is Telegram-first: alerts and reports are pushed to you instead of living in a dashboard. It is fully open source under the MIT license, can be self-hosted on your own infra, requires no cookies, and ships a single project key that works across web, mobile, and backend SDKs.
Is tgram-analytics free?
Yes. The first managed project is free, and the self-hosted server is fully MIT-licensed and free to deploy on your own infrastructure with a single docker compose up -d.
Which SDKs are supported?
Official SDKs ship for JavaScript and TypeScript (npm install tgram-analytics), Python (pip install tgram-analytics), and Flutter / Dart (flutter pub add tgram_analytics). All SDKs share the same project key and event API, so a single project covers your full SaaS stack.
Can I self-host tgram-analytics?
Yes. The server is open source under the MIT license at github.com/tgram-analytics/server. Set your Telegram bot token, run docker compose up -d, and you have the same product as the managed cloud — same SDKs, same bot commands, your hardware.
Does tgram-analytics use cookies or third-party trackers?
No. The browser SDK uses sessionStorage (tab-scoped, no cookies) and posts events directly to your project's ingestion endpoint. There are no third-party trackers, no ad networks, and no cross-site tracking — it's privacy-first by design. The hosted service runs in the EU, doesn't store raw IPs or User-Agents, and uses a one-way daily-rotating visitor hash. See the privacy policy for the full breakdown.