WooCommerce membership revenue tracking by channel.
Virling credits each member's first WooCommerce order to the channel that brought them and keeps every renewal on that channel, so you can tell which channel brings members who keep paying, not only members who join. It reads your store with a read-only key, and you can run it hosted or self-host it under AGPL.
On a WooCommerce membership site, a paid plan is granted by an order: a one-off product purchase, or a WooCommerce Subscriptions product that renews. Only that first order follows a visit. Renewal orders, free plans and members you add by hand have no visit behind them, and each is handled its own way below.
How the order meets the visit
A short functions.php snippet copies the virling_vid cookie onto each order, and Virling reads orders with a read-only REST API key, so a paid order is credited to a visit before it instead of landing in Direct or Unattributed. By default that is the latest visit in the last 90 days that was not Direct. The key, the snippet and a test order are on the WooCommerce docs page.
A plan tied to a product or to a subscription
A WooCommerce membership plugin can grant a plan when a member buys a product, or tie the plan to a WooCommerce Subscriptions product so access lasts while the subscription is active. Virling sees only the orders, so the two read differently:
- Plan granted by a product purchase. One order, one payment. If the plan runs out and the member buys it again with the same account, the new order counts as a renewal and keeps the channel of the first. Without WooCommerce Subscriptions, Retention judges members by how recently they paid.
- Plan tied to a subscription. WooCommerce Subscriptions marks each renewal order, and it copies the channel, campaign, landing page, country and device of the first order, matched by customer ID. Subscription status is read once an hour: a member counts as still paying while it is
active, orpending-canceluntil its end date. See WooCommerce Subscriptions by channel. - An upgrade or a second plan. Any later paid order by the same account counts as a renewal too, so a member who moves from monthly to yearly stays with the channel that first brought them.
Free plans with no order
A free plan granted at sign-up creates no order, or one that totals 0, and such orders are not imported. Free members are not customers in Virling and add no revenue, though their visits still count as visitors. When a free member later buys a paid plan, that order is their first payment, credited to a visit inside the lookback window. If free members often take months to upgrade, choose a window of up to 365 days in site settings, or first touch, so the visit that brought them to the free plan can still get the credit.
A member you add by hand is the same: no paid order, nothing counted. A paid order you create in the admin counts toward revenue but carries no visitor ID, so it keeps the channel of that account's first paid order, or is matched through a billing email on an identify event, or stays Unattributed.
Renewals and the channel they keep
A renewal keeps the channel of the member's first paid order however many months later it is charged. The reminder email before a manual renewal is not credited. A member who cancels and comes back with the same account goes back to their first channel; one who comes back with a new account is a new customer. If the first order was not credited, a renewal falls back to its own visitor ID, which renewals rarely have.
A trial with no sign-up fee starts with a $0 order, which is not imported, so the first charge has no first payment to copy from and is usually Unattributed. A trial with a paid sign-up fee does have one. Renewals are only linked when the first order is in Virling: the first import reads 90 days, so memberships that started earlier renew as Unattributed, and guest orders, with no customer ID, are never linked.
First payment versus renewal: an example
These numbers are made up. A membership costs $20 a month. Social brings 50 members: 50 pay in the first month, 10 in the second and 5 in the third. Email brings 30: 30 pay, then 28, then 27. By first payments, Social wins, $1,000 to $600. With renewals on the first channel, Email wins, $1,700 to $1,300. Put your own numbers for each channel into the churn rate calculator.
Member-only content brings members back
Members who come back to read, watch or post are visitors too, when the member area is on your domain or a subdomain and runs the script. Those visits are mostly Direct, or Email when a members' newsletter links to new posts. They do not move credit already given, since renewals copy the first order and the default model passes over Direct. Where they show is in visitor counts: in the Pages card, the Landing page tab shows how many visits start in the member area, and clicking that row filters the dashboard to them. Give each community or newsletter its own utm_campaign and the Campaign tab shows each one; community revenue tracking covers the tags.
A month by channel: an example
These numbers are made up, to show how to read the report. They are not from a real membership and not a benchmark. A membership costs $20 a month, and this is one month of it:
| Channel | Visitors | New members | Renewals | Revenue | Revenue per visitor |
|---|---|---|---|---|---|
| 600 | 12 | 90 | $2,040 | $3.40 | |
| Organic search | 1,500 | 15 | 45 | $1,200 | $0.80 |
| Communities | 900 | 18 | 36 | $1,080 | $1.20 |
| Social | 2,500 | 25 | 25 | $1,000 | $0.40 |
| Direct | 500 | 4 | 6 | $200 | $0.40 |
| Unattributed | - | 2 | 22 | $480 | - |
| Total | 6,000 | 76 | 224 | $6,000 | $1.00 |
In this example each visitor is counted under one channel, so the rows add up, and nothing is refunded. Social brought the most new members, 25 to 12 for Email, but Email brought twice the revenue, because 90 renewals stayed with it. Those renewals come from members who joined in earlier months, so a channel you only just started has few of them: compare still paying and net LTV on the Retention page before you drop it. The Unattributed row is two orders created in the admin and 22 renewals of memberships that started before the 90-day backfill.
What is not covered
- Membership plans, access rules and content views are not read, nor which plan an order was for. Virling reads orders, refunds and, with WooCommerce Subscriptions, subscriptions.
- The first payment is the account's earliest order that did not fail, so a member who bought something else from your store first keeps the channel of that order.
- A refund lowers the revenue of the order it belongs to, first payment or renewal, when the order is under 60 days old.
- A member who reads on a phone and joins on a laptop is two visitors.
Frequently asked questions
How do I track WooCommerce membership revenue by channel?
Add the Virling script and the snippet that saves the visitor ID on each order, then connect the store with a read-only REST API key. A member's first paid order is credited to a visit before it, and with WooCommerce Subscriptions every renewal order keeps that channel, so the Channels card shows joins and renewals together.
Can Virling track membership renewals without WooCommerce Subscriptions?
Partly. Any later order by the same customer account still counts as a renewal and keeps the channel of the first paid order. Without subscription status, Retention uses payment recency, and a guest order stands alone.
Does Virling read my membership plugin?
No. Membership plans, access rules, content views and members added without a paid order are not read. Only WooCommerce orders, their refunds and WooCommerce Subscriptions subscriptions are.
What happens when a membership starts with a free trial?
The $0 order that starts a trial with no sign-up fee is not imported, so the first charge has nothing to copy and is usually Unattributed, though it counts toward revenue. A trial with a paid sign-up fee has a first payment, and later charges keep its channel.
Which channel gets a member who cancels and joins again?
The channel of their first payment, however long they were away, when they come back with the same customer account. With a new account they are a new customer, credited from their own visits.
Are free members counted in Virling?
Not as customers. A free plan leaves no paid order, so it adds no revenue, but the free member's visits count as visitors. Their first paid plan is their first payment, credited to a visit inside the lookback window.
More in the docs: Renewals, Retention by channel and WooCommerce.
See which channel brings members who stay
For membership sites that run on WooCommerce. Try the hosted version free for 14 days, or self-host the AGPL code at no cost.