# Himetrica: Full Documentation for LLMs > Last updated: 2026-08-08 > Source: https://www.himetrica.com/llms-full.txt Himetrica is a web analytics platform built for SaaS teams. It connects visitor behavior to revenue, tracking the whole journey from the first page view to the subscription payment in a single dashboard. --- ## Product Overview Himetrica replaces a stack of tools. Instead of Google Analytics for traffic, Mixpanel for events, and the Stripe dashboard for revenue, it combines all three in one place. It is designed for bootstrapped SaaS founders, indie developers, and small product teams. ### Core Ideas - Revenue-focused: analytics joined to payment data, so every channel has a CAC, an LTV, and an ROI - Self-serve setup: one line of code to install, no analyst required - Real time: data lands in seconds, not hours - Full stack of signals in one product: page views, custom events, errors, Web Vitals, revenue - Built for AI clients: a Read API and a hosted MCP server, so Claude or Cursor can answer questions about your data --- ## Features ### 1. Real-Time Analytics Live dashboard showing current visitors, active pages, and a real-time event stream. - Live visitor count - Active page monitoring - Real-time event stream - Geographic distribution URL: https://www.himetrica.com/features/analytics ### 2. Custom Event Tracking Track any user action with custom properties: signups, purchases, button clicks, form submissions. ```javascript // JavaScript himetrica.track('purchase_completed', { price: 9.99, plan: 'pro' }) ``` ```swift // Swift Himetrica.shared.track("purchase_completed", properties: ["price": 9.99]) ``` ```kotlin // Kotlin (Android) Himetrica.shared.track("purchase_completed", mapOf("price" to 9.99)) ``` URL: https://www.himetrica.com/features/events ### 3. Web Vitals Monitoring Real user monitoring for Core Web Vitals on every page, with percentile tracking and rating distribution. | Metric | Good | |--------|------| | LCP (Largest Contentful Paint) | < 2.5s | | INP (Interaction to Next Paint) | < 200ms | | CLS (Cumulative Layout Shift) | < 0.1 | | FCP (First Contentful Paint) | < 1.8s | | TTFB (Time to First Byte) | < 800ms | Installed with a separate script: `https://cdn.himetrica.com/vitals.js`. URL: https://www.himetrica.com/features/vitals Docs: https://www.himetrica.com/docs/vitals ### 4. Error Tracking Capture JavaScript exceptions with full stack traces and user context. See which errors affect the most users. - Uncaught exceptions and unhandled promise rejections, captured automatically - Optional `console.error` and `console.warn` intercept via `data-intercept-console="true"` - Manual capture: `himetrica.captureError(error, context)` and `himetrica.captureMessage(message, level, context)` - Grouping, deduplication, and rate limiting - Installed with a separate script: `https://cdn.himetrica.com/errors.js` URL: https://www.himetrica.com/features/errors Docs: https://www.himetrica.com/docs/issues ### 5. Visitor Profiles Identify returning visitors and merge anonymous sessions with identified users. - Anonymous to identified merging (by email or custom userId) - Cross-device identification via a stable userId - Session timeline view - UTM attribution per visitor - Experience score from 0 to 100, built from load times, errors, and session depth - Custom properties and tags URL: https://www.himetrica.com/features/visitors ### 6. Behavior Tags Two dimensions scored automatically from session data, with no configuration. - Lifecycle stage: New, Exploring, Activated, Retained, and the churn-risk tags At Risk, Dormant, Churned - Engagement level: Casual, Active, Power User URL: https://www.himetrica.com/features/behavior-tags ### 7. User Flow Visualization Sankey diagrams of navigation paths, entry and exit page analysis, path frequency, and drop-off identification. URL: https://www.himetrica.com/features/user-flow ### 8. Revenue Attribution Connect a payment provider to see revenue per marketing channel, LTV, CAC, and ROI per channel. - MRR, ARR, churn rate tracking - Top customers by revenue - Revenue joined to the visitor timeline, so you see what a paying customer did before they paid - Revenue is stored in a canonical currency with display siblings, so multi-currency accounts stay comparable URL: https://www.himetrica.com/features/revenue ### 9. Channel ROI Import ad spend from Google Ads, Meta Ads, and other platforms and combine it with revenue to get true CAC, LTV, and ROI per channel. ### 10. Funnel Analysis Build custom funnels to track conversion paths and see where users drop off between steps. ### 11. Retention Cohort Heatmaps Weekly and monthly retention cohorts as a heatmap. ### 12. Brand Monitoring Add your brand name and keywords, and Himetrica scans forums, social media, blogs, and communities. New mentions appear in a live feed, broken down by source and keyword. URL: https://www.himetrica.com/features/monitoring ### 13. AI Insights, ICP, and MCP Query your analytics in natural language from Claude, Cursor, or any MCP client. AI Insights summarizes what changed and why, and the ICP profile describes the visitors most likely to convert. URL: https://www.himetrica.com/features/ai ### 14. Scheduled PDF Reports Recurring reports delivered by email, so the numbers reach people who never open the dashboard. ### 15. Customizable Dashboard Drag-and-drop widgets. Custom layouts and views per team member. --- ## Installation ### HTML / Any Website ```html ``` All Himetrica browser scripts must run client side. Never add them to server-side or backend code. ### Next.js ```jsx import Script from 'next/script' export default function RootLayout({ children }) { return ( {children}