virling Pricing Self-host Demo Changelog Agencies GitHub Start free trial
blog / 2026-11-18

WhatsApp revenue tracking for stores and SaaS

By Devendra Variya, co-founder of Virling. Published 2026-11-18, updated 2026-11-30.

To track sales from WhatsApp, tag every link you send in broadcasts, status updates, groups and chat replies with utm_source=whatsapp.com, utm_medium=social and a utm_campaign per message or flow, then credit each Shopify, WooCommerce or Stripe payment to the tagged visit before it. Without tags, a tap on a link in WhatsApp often arrives with no referrer and is counted as Direct, so the revenue your chats bring hides in the one channel that tells you nothing.

Why WhatsApp clicks land as Direct

WhatsApp is a chat app, not a web page. When someone taps a link in a chat, the phone opens it in a browser, and often nothing in the request says where the tap happened. With no referrer and no UTM tag, your store, your analytics and Virling have nothing to go on but the URL, so the visit is Direct, next to typed addresses and bookmarks. This is a large part of what is called dark social. A tap on a push notification lands as Direct for the same reason; see push notification revenue tracking.

  • No referrer from the app. Links opened from the phone app usually carry no referrer. Only the tags in the link, or a user agent that names WhatsApp, can say where the click came from.
  • Forwarded links. A link you sent to one customer can be forwarded to a group and on again. Every tap after that looks the same as the first, so only a tag in the link itself keeps the source.
  • Untagged replies. Broadcasts often get tags because someone builds each one by hand. The product links you paste into one-to-one chats and click-to-chat replies are easy to send bare for months.

Which WhatsApp links to tag

Tag every link to your site that you send from WhatsApp, and give each kind of message its own campaign so you can compare them.

  • Broadcasts and channel posts. One campaign per send, such as wa-broadcast-winter-sale-2026-12.
  • Status updates. One campaign per status, or one for all of them, such as wa-status.
  • Groups and communities you post in. One campaign per group, such as wa-group-customers. See community revenue tracking for the same idea on Discord and Slack.
  • Click-to-chat replies. A wa.me link on your site or ads opens a chat with you; it does not bring anyone to your site by itself. What earns is the product or pricing link you send back in that chat, so keep a tagged version ready, such as wa-chat-reply, and paste that instead of the bare URL.

Build the links with the free UTM builder, and lowercase every value. If the same offer goes out on Instagram or TikTok, tag your social links together and set the WhatsApp source to whatsapp.com by hand. A full link looks like this:

https://yourstore.com/products/linen-shirt?utm_source=whatsapp.com&utm_medium=social&utm_campaign=wa-broadcast-winter-sale-2026-12

Long tagged links look untidy in a chat. A Virling tracked link is a short URL on your Virling server that adds utm_source, utm_medium and utm_campaign on the redirect and keeps any tags already on the destination. If you use another shortener, add the tags to the full URL before you shorten it, then tap the link on your own phone and check the address bar. The same advice is in SMS marketing revenue tracking, since texts and chats lose tags the same way.

How Virling recognises WhatsApp

Every session gets one channel from its first pageview. Virling counts a visit as WhatsApp in three ways, and all three land in the Social channel under one whatsapp.com row in the Source tab:

  • The referrer. whatsapp.com, web.whatsapp.com and wa.me are known Social hosts, and wa.me and web.whatsapp.com are merged into whatsapp.com. You see it most from WhatsApp Web on a computer.
  • The in-app browser. When a visit has no referrer and no tag, but the user agent names WhatsApp, the visit is credited to whatsapp.com instead of Direct. If the link opens in a plain system browser that does not name the app, the visit stays Direct.
  • A UTM tag. utm_source=whatsapp.com is read as the WhatsApp host, so tagged visits join the same row as the two above. utm_source=whatsapp also counts as Social, but tagged visits then sit apart from the whatsapp.com row, which is why this post uses the host form.

A real referrer always wins over the tag, and utm_medium decides only Paid and Email, so do not tag WhatsApp links as email; you would lose the split between the two. See how channels are decided.

Join WhatsApp visits to payments

Under the default model, the whole payment is credited to the latest visit in the last 90 days that was not Direct. A shopper who taps your broadcast and comes back the next day by typing your address is credited to the broadcast. A shopper who taps it and later returns from a search result is credited to Organic search. A message that was read but never tapped is never credited. You can switch to first touch or last touch in site settings; see the attribution model.

  • Online stores. Virling imports new Shopify or WooCommerce orders every minute with a read-only key, lowers revenue when you refund, and joins each order to the visits before it through the visitor ID a short snippet stores on the order. The setup is on the revenue attribution for online stores page.
  • SaaS. Connect Stripe or another payment provider. If you use Stripe Payment Links, the script adds the visitor ID on click. For a checkout you create on your server, pass the virling_vid cookie, for example as client_reference_id on a Stripe Checkout Session. See link checkout to visits.

Set up WhatsApp revenue tracking step by step

  1. Add the script. Paste the tag before </head> on every page, including the pages you link to from WhatsApp. It reads the tags on the landing page and sets the visitor ID. See add the script.
  2. Connect your payments. Shopify, WooCommerce, Stripe or one of the others on the integrations page, and carry the visitor ID into checkout as above. Without this step you get visits but no revenue.
  3. Tag before you send. Make one tagged link per broadcast, status and reply template, and keep them where your team pastes from.
  4. Test on your phone. Send a link to yourself, tap it, and check that the visit shows on the dashboard under Social with the right campaign.

<script defer src="https://app.virling.com/v.js" data-site="yourstore.com"></script>

Read WhatsApp revenue by message

On the dashboard, click Social in the Channels card, switch to the Source tab and click whatsapp.com. The Campaign tab then shows each broadcast, status and flow with visitors, revenue and revenue per visitor; visits with no campaign are the untagged ones that Virling still recognised. Click Save as segment and name it WhatsApp to get back to this view in one click. Compare by revenue per visitor, not by visitors: a reply link that sends few buyers can be worth more than a broadcast that sends many who do not. Open a payment on the Payments page to see the visits before it and which one got the credit.

A made-up example: four kinds of message

Example only: made-up numbers for an imaginary clothing store with a $44 average order, not results from a real business. Over 30 days, every link it sent from WhatsApp was tagged with utm_source=whatsapp.com and a campaign per kind of message:

Message typeCampaignReferrer on arrivalClicksOrdersRevenue
Broadcast, tapped in the phone appwa-broadcast-winter-sale-2026-12None73016$704
Catalog link, tapped in the phone appwa-catalogNone2609$396
Support reply, opened on WhatsApp Webwa-chat-replyweb.whatsapp.com957$308
Status, tapped in the phone appwa-statusNone3204$176
All four1,40536$1,584

Three of the four arrived with no referrer: 1,310 clicks and $1,276 of revenue. The tags keep them in the whatsapp.com row; untagged, they would have counted as Direct unless the in-app browser named WhatsApp. The support reply sent the fewest clicks but earned the most per click, $3.24, against $1.52 for the catalog link, $0.96 for the broadcast and $0.55 for the status. Tag each kind of message the same way with the UTM builder.

Start free trial

What to check if the numbers look off

  • WhatsApp sales show as Direct. A link was sent untagged, or a shortener or redirect dropped the tags. Tap a link from each kind of message on your own phone.
  • Payments show as Unattributed. The payment has no visitor ID. Check the store snippet or the checkout step above.
  • One campaign is split across rows. Values differ in case or spelling, such as WA-status and wa-status. Pick one and keep it.
  • Some WhatsApp visits sit outside the whatsapp.com row. Links tagged utm_source=whatsapp instead of whatsapp.com are still Social but are counted apart. Switch the tag and add the two when you compare past ranges.

If you reply to customers in other apps too, see Facebook and Messenger links and Instagram bio, story and message links. For links you share in Telegram channels, groups and bots, see Telegram revenue tracking.

Frequently asked questions

Why does WhatsApp traffic show up as Direct?

A link tapped in a WhatsApp chat often opens with no referrer, so the visit carries no sign of where it came from. Unless the link has UTM tags or the browser names WhatsApp in its user agent, the visit and the payment after it are counted as Direct.

What UTM parameters should I use for WhatsApp links?

Use utm_source=whatsapp.com, utm_medium=social and a utm_campaign per broadcast, status or chat flow, such as wa-broadcast-winter-sale or wa-status-new-arrivals. Keep every value lowercase.

Does Virling recognise WhatsApp without UTM tags?

Yes, when it can. A referrer from whatsapp.com, web.whatsapp.com or wa.me, or a user agent that names WhatsApp, is credited to whatsapp.com in the Social channel. Visits that carry none of these stay Direct.

Which channel does WhatsApp traffic show in Virling?

Social. Referrers, the in-app browser and links tagged utm_source=whatsapp.com all share one whatsapp.com row in the Source tab, and the Campaign tab splits it by broadcast, status or flow.

Does Virling send WhatsApp messages?

No. Virling reads tagged visits and your Shopify, WooCommerce, Stripe or other payments. Keep sending with the WhatsApp app or tool you use today.

See which chats bring real sales

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