What is Virling?
Virling is open-source revenue analytics. It joins every visit to the payment that followed, so you can see which channels make you money, not just traffic.
What Virling answers
- Revenue by channel. Which channel brought the most revenue this month, after refunds.
- Value per visitor. What a visitor from each source is worth, so a launch or a Reddit post can be judged by money instead of pageviews.
- The path before payment. Which sessions a paying customer had in the lookback window, and which one got the credit.
What works today
- A tracking script about 2 KB gzipped that records pageviews, referrers, UTM tags, single-page-app route changes and custom goals, with a first-party visitor ID. See Add the script.
- An optional cookieless mode that counts visitors with a daily salted hash.
- Event ingest into embedded DuckDB with bot filtering, a per-site rate limit and channel rules. Visitor IPs are never stored.
- Payment sync from nine providers: Stripe, Dodo Payments, Polar, LemonSqueezy, Creem, RevenueCat, Paddle, WooCommerce and Shopify, with a read-only key where the provider allows one. Virling backfills 90 days, then checks for new payments every minute. Shopify backfills 60 days. RevenueCat imports one-time purchases from the last 90 days, once, then sends purchases, renewals and refunds by webhook; subscription payments from before you connected are not imported.
- Imports of daily traffic history from other analytics tools’ CSV exports, from the command line. Payments are only credited to tracked visits.
- Attribution with three models, last non-direct, first touch or last touch, and a 30, 60, 90 or 365 day lookback window. Renewals keep the channel of the customer’s first payment.
- A revenue dashboard with revenue, revenue per visitor and conversion by channel, referrer, campaign, page and country, payment journeys, a Visitors page, retention by first channel, tracked short links, and AI assistant visits next to AI crawler hits.
- Weekly email reports with agency branding, client report links and an optional public dashboard. See Run Virling for client sites.
- Team members on Agency accounts, up to 3 users when self-hosting.
- A read API, a CLI and a read-only MCP server with OAuth sign-in, so AI assistants can answer revenue questions. API keys read your numbers and can only add chart notes.
- A WordPress plugin.
- Magic-link sign-in and an onboarding flow, served when you start the server with
--app.
Virling runs as one Rust binary with embedded storage. There is no Postgres, ClickHouse or Redis to run next to it. See How Virling works.
Project status
Virling is in early development. Releases are listed on GitHub. Expect breaking changes until a stable release, and read the changelog before you upgrade.
Hosted plans at app.virling.com start with a 14-day free trial, and you can also run Virling on your own server. See Hosted plan.
License
Virling is licensed under AGPL-3.0. Self-host it freely. If you run a modified version as a service, share your changes. It is built by Stacklance Infotech LLP.
Next
Follow the Quickstart to go from an empty server to your first attributed payment.
Connect your payment provider and see revenue by channel.
Start free