virling Pricing Self-host Demo Changelog Agencies GitHub Start free trial
integrations / paddle for digital products

See which channel sells your templates, ebooks and fonts on Paddle.

For people who sell templates, ebooks, fonts, presets and other downloads through Paddle. Virling ties each one-time sale and each license to the channel and campaign behind the visit to your sales page, so you see which launch post, newsletter or search brought the money, not just the clicks. Open source under AGPL, hosted or self-hosted.

Start free trial See the demo

Paddle records who bought and how much, but not the visit that brought them. A launch post, a newsletter mention or a search result sends visitors to your sales page, and a few of them buy. When your checkout passes the Virling visitor ID to Paddle as custom data, the sale is credited to that visitor's visits; Paddle in the docs covers the setup.

What you get

  • Each sale credited to a channel and campaign. Every visit gets one channel from its first pageview: Paid, Email, AI, Organic search, Communities, Social, Referral or Direct. By default a sale goes to the latest visit in the last 90 days that was not Direct.
  • Revenue per source, campaign and landing page. The dashboard lists visitors, revenue and revenue per visitor for each channel, source, campaign and landing page, so a post that sent many visitors and no sales stands apart from a small one that paid.
  • Licenses and repeat buyers. A license sold as a one-time purchase is a sale like any other. A second purchase by the same customer, matched by Paddle customer ID, keeps the channel of their first purchase.

See which post sold your product

For creators who sell templates, ebooks and fonts through Paddle. Virling is open source under AGPL: self-host it free, or use the hosted version with a 14-day free trial.

Start free trial See the demo

One-off products and free copies

A one-off product has no subscription, so each completed Paddle transaction for it is one sale on the day it was billed. A transaction with nothing to pay and no subscription is not imported at all: a free download, or a copy given away with a 100% discount code, adds no sale, customer or revenue. Free copies therefore never inflate your sales count.

Bundles

  • One checkout, one sale. A bundle bought in one checkout is one Paddle transaction, so it counts as one sale for the transaction's total, credited to one channel. Virling does not split it by product.
  • Refunding part of a bundle. An approved refund or chargeback lowers the revenue of its transaction, on that transaction's date, so refunding one file from a bundle takes only that amount off. It can take up to 6 hours to show, and one on a transaction older than 60 days is not picked up automatically.

Discount codes

A sale's revenue is the transaction total after the discount, as Paddle reports it. Virling does not read which code was used, so it cannot list sales by code. To compare codes, share each one with its own tagged link, such as ?utm_source=newsletter&utm_campaign=spring-sale: sales from that link are credited to the campaign, and its row shows visitors and revenue next to your full-price traffic.

To see what Paddle keeps from each sale at your price, use the Paddle fee calculator.

A launch post that sells most copies

Launch sales come in bursts, and many buyers read the post, leave, and come back days later by typing your URL. With the default model those sales still go to the post, since a Direct return does not take the credit, as long as they buy in the same browser within the lookback window. The numbers below are invented to show how to read the Channels card after one: a designer sells one $29 template pack through Paddle for a month, with no refunds.

Made upVisitorsSalesRevenueRevenue per visitor
Communities3,00012$348$0.12
Organic search1,20018$522$0.44
Email30015$435$1.45
Social8004$116$0.15
Unattributed6$174

The launch post on Communities brought the most visitors but the fewest sales per visitor. Email sold 15 packs from 300 visitors, so one Email visitor was worth about 12 times one from Communities, and search sold the most packs in total. Social looks weak, but it rests on 4 sales: two more and it would be about $0.22. Wait for more sales before ranking it. The 6 Unattributed sales still count toward the month's revenue, with no visit to credit.

Which Paddle sales can be linked

How the buyer reached checkoutCan the sale be linked?Why, or what it takes
From your sales page, with Paddle.jsYesYour page passes virling_vid as customData to Paddle.Checkout.open
From a transaction your server createsYes, if you pass the IDYour server reads the virling_vid cookie and sets it in custom_data. Custom data on a customer, product or price is not read
From a checkout link shared in a post, a bio or a DMNoIt opens without your page, so no visitor ID is passed. Share your sales page instead
From an email receipt or an emailed payment linkOnly for a returning customerThe link carries no visitor ID. A later purchase by the same customer keeps the channel of their first payment
From a marketplace listingOnly if the listing sends buyers to your site and they pay through your Paddle checkoutA sale the marketplace bills itself does not pass through your Paddle account, so it is not in Virling
  • Unattributed sales. A sale without a visitor ID still counts toward revenue, as Unattributed. Usually checkout was opened without customData, the link was shared on its own, or the buyer paid from an email. Paddle payments are not matched by email.
  • Imported history. Transactions from the first 90-day import were usually made before the script was on your site, so they are Unattributed. Channel numbers fill in as new buyers arrive.

Paddle UTM tracking covers where UTM tags get lost on overlay and hosted checkout. Other providers are on revenue attribution for digital products.

Open source

Virling is open source under AGPLv3, and the code is on GitHub. Use the hosted service, or self-host it as one binary with every feature. In a load test on 2026-10-31, in a container limited to one vCPU and 1 GB of RAM, it ingested 100,000 pageviews at 2,829 a second with none failed and a p99 of 34 ms, and used 157 MB of memory after the ingest.

Frequently asked questions

How do I track Paddle sales by source?

Add the Virling script to your site, connect Paddle with a read-only API key, and pass the visitor ID as customData when you open Paddle checkout. Each sale is then credited to the visits before it, with its channel, source, campaign and landing page.

Does the script add the visitor ID to Paddle checkout by itself?

No. With Paddle.js, pass customData: { virling_vid: window.virling?.vid?.() } to Paddle.Checkout.open. For a transaction your server creates, set custom_data with the visitor's virling_vid cookie. Custom data on a customer, product or price is not read.

How is a bundle counted?

A bundle bought in one checkout is one Paddle transaction, so it counts as one sale for the transaction's total and is credited to one channel.

Are free copies and 100% discount codes counted?

No. A Paddle transaction with nothing to pay and no subscription is not imported, so a free download or a copy given away with a full discount adds no sale, customer or revenue. A partial discount counts at the total the buyer paid.

How are Paddle refunds counted?

An approved refund or chargeback lowers the revenue of its transaction, on that transaction's date. Transactions from the last 60 days are read again every 6 hours, so a refund can take that long to show, and one on an older transaction is not picked up automatically.

Why is a Paddle sale Unattributed?

Usually because the transaction's custom_data has no virling_vid: checkout was opened without customData, a checkout link was shared on its own, or the buyer paid from an email. The sale still counts toward revenue. Paddle payments are not matched by email.

Full guides: Paddle in the docs, Link checkout to visits and Unattributed revenue.

Start free trial