virling Pricing Self-host Demo Changelog Agencies GitHub Start free trial
blog / 2026-12-03

Why is my revenue unattributed? Causes and fixes

By Devendra Variya, co-founder of Virling. Published 2026-12-03.

Unattributed revenue is a payment that counts toward your revenue but is not credited to any visit. It has no channel, so it sits at the bottom of your charts. The most common cause is that no visitor ID reached checkout. The others are cookieless mode, no visit inside the lookback window, a script that never loaded, a link opened somewhere else, and renewals of an unattributed first payment. Open one payment and the cause is usually visible in a minute.

Why a payment is unattributed

  • No visitor ID reached checkout. The most common cause. Your checkout has to carry the virling_vid value, and your server has to read the cookie on the request that creates the checkout. See Stripe Checkout UTM parameters for one provider's steps.
  • Cookieless mode. Without a cookie there is no visitor ID to pass on. The same goes for a visitor who has not accepted under the Until consent mode. See cookieless analytics and revenue.
  • No visit inside the window. The visitor ID is known, but all of their sessions started before the lookback window, or after the payment. The window is 30, 60, 90 or 365 days, and 90 is the default. How long a visit gets credit explains how to choose.
  • The visit was never tracked. The script was missing on that page, blocked by an ad blocker, the visitor had Global Privacy Control with data-respect-gpc, or the visit was filtered as a bot. See ad blockers and revenue tracking.
  • The link was opened elsewhere. A Stripe, Polar, Dodo or LemonSqueezy payment link opened from an email, a QR code or another site carries no visitor ID.
  • LemonSqueezy without its webhook. Virling links LemonSqueezy payments through a webhook it adds when you connect. On your own server it needs VIRLING_BASE_URL to be a public https address.
  • A renewal of an unattributed first payment. A renewal takes the attribution of the customer's first payment, so it is unattributed when that one is. See subscription renewal attribution.
  • Imported history. The first import reads the last 90 days of payments, 60 on Shopify. Those were usually made before the script was on your site.

How to find the cause of one payment

  1. Open an unattributed payment from the Payments page of your site.
  2. Look for Visitor under Details. It is the visitor ID, from checkout or from an email match.
  3. No visitor ID: checkout did not carry one. Find your provider below, fix that cause and make a test payment.
  4. A visitor ID, but still unattributed: no visit of that visitor was recorded inside the window before the payment. Choose a longer lookback window if your buyers take longer, and check that the script runs on every page where visitors arrive.
  5. A renewal: check the customer's first payment instead.

On the dashboard, the Matched revenue line under the five numbers gives the share of revenue matched to a visit and why the rest was not. It disappears when every payment is matched. The test your setup guide walks through a tagged visit and a test payment.

Start free trial See the demo

Where the visitor ID is read, by provider

ProviderWhere Virling reads the visitor IDUsual reason it is missing
Stripemetadata.virling_vid on the charge, its PaymentIntent or the Checkout Session, or the session's client_reference_idYour server sets neither field, or a Payment Link was opened from an email, a QR code or another site
Paddlecustom_data.virling_vid on the transactionCheckout is opened without customData, or your server creates the transaction without custom_data
Shopifyvirling_vid in the order's note attributesThe theme snippet is missing, or the cart was made outside your storefront
WooCommercevirling_vid in the order's meta dataThe functions.php snippet is missing
Polarvirling_vid in the order's metadata, then reference_idThe checkout session has no metadata
LemonSqueezyvirling_vid in the checkout custom data, sent by webhookVIRLING_BASE_URL was not a public https address when you connected
Dodo Paymentsmetadata.virling_vid on the paymentThe checkout session has no metadata
Creemvirling_vid in the checkout's, subscription's or customer's metadata, sent by webhookThe checkout has no metadata, or the webhook is missing
RevenueCatThe customer attribute virling_vidThe attribute was not set before the purchase

Recover payments by email

When checkout cannot carry the visitor ID, you can send the visitor's email once you know it, for example right after signup, as an identify event. Virling keeps only a SHA-256 hash of the trimmed, lowercased email, salted per site. A Stripe, Shopify or WooCommerce payment with no visitor ID whose payer email matches is then credited to that visitor, and the Payments page shows Matched by email. It applies to payments synced after the identify, and matching never crosses sites. The code is in the unattributed docs.

What to expect after a fix

Payments made before the fix usually stay unattributed, since their checkout carried no visitor ID. New ones are credited. Make one test payment first, then watch the Matched revenue line over the next days.

Is some unattributed revenue normal?

Yes. A buyer on a link opened from a private chat, an ad blocker or a browser that never loaded the script leaves no visit to join. Read the share as a measure of how complete your setup is, not as a channel. If most revenue is unattributed, fix checkout first; comparing channels before that gives a partial picture. For why Direct is a different problem, see why Direct is your biggest traffic source.

Frequently asked questions

What does unattributed revenue mean?

An unattributed payment counts toward your revenue but is not credited to any visit, so it belongs to no channel. In Virling it is listed last in charts.

What is the most common reason a payment is unattributed?

No visitor ID reached checkout. Pass the virling_vid cookie into your checkout, and check that your server reads it on the request that creates the checkout.

Can I recover payments that are already unattributed?

Usually not. Payments made before a fix carried no visitor ID and stay unattributed. On Stripe, Shopify and WooCommerce you can send an identify event with the visitor's email, and a payment with no visitor ID whose payer email matches is credited to that visitor.

Why are my renewals unattributed?

A renewal takes the attribution of the customer's first payment. If that first payment is unattributed, or older than the import of the last 90 days (60 on Shopify), its renewals usually are too.

Does cookieless mode cause unattributed revenue?

Yes. Without a cookie there is no visitor ID to pass to checkout, so payments from those visitors are not credited to a visit.

Fix the gaps and see which channel pays

Virling is open source under AGPL. Self-host it free, or use the hosted version with a 14-day free trial. It connects to Stripe, Paddle, Shopify, WooCommerce, Polar, LemonSqueezy, Dodo, Creem and RevenueCat.

Start free trial See the demo