SMS marketing revenue tracking for online stores
By Devendra Variya, co-founder of Virling. Published 2026-11-17, updated 2026-11-30.
To track SMS marketing revenue for an online store, tag every link in your text campaigns and automated flows with utm_source=sms, utm_medium=sms and a utm_campaign that starts with sms-, check that the tags survive the short link your SMS tool puts in the message, then credit each Shopify or WooCommerce order to the tagged visit before it. Messaging apps send no referrer when a link is tapped, so an untagged text arrives as Direct.
Short links and carrier filtering
Texts are short, so most SMS tools swap every link for a short link of their own, often without asking. That swap is also how the tool counts clicks. The URL a shopper taps is not the one you typed, and your tags arrive only if they were part of the long URL before it was shortened.
- Tags added after shortening. Appending tags to a short link, such as
sho.rt/abc?utm_source=sms, may do nothing: the shortener can redirect to the long URL without them. Add the tags to the full URL first. - Shared public shorteners. Carriers filter texts that use shared public short domains more often, because spammers use them too. A short domain of your own, or the branded one your SMS tool offers, is less likely to be blocked.
- A page in between. If a shortener shows a page of its own before sending the shopper on, the visit can arrive with the shortener's domain as its referrer. A referrer wins over
utm_source, so the visit is listed under that domain instead. - Redirects on your side. A redirect from an old product URL, or from your bare domain to
www, can keep the path and drop the query string. Check links with the free UTM checker before you send.
The only sure test is a real one: send the text to your own phone, tap the link and look for utm_source=sms in the address bar of the page that opens. If you want a short link you control, a Virling tracked link adds the tags on the redirect and keeps any already on the destination; pick Other and type sms as the place, and the Campaign tab shows it under its own name.
MMS and SMS links
A plain SMS is billed in segments: 160 characters, or 70 if the message has an emoji or another character outside the basic set. A long product URL with three UTM tags can push a text into an extra segment, which is why SMS tools shorten so eagerly. MMS allows a longer text and an image, so the full tagged URL often fits as it is.
The image in an MMS is not a link. Tapping it opens the picture on the phone, not your store, so only the URL in the text can bring a visit. Put the link in the words of every MMS, and if you send the same offer by SMS and MMS, give each its own campaign, such as sms-winter-sale-2026-12 and sms-mms-winter-sale-2026-12, to see which one sold.
Flows and one-off campaigns
A one-off campaign goes to the whole list at once, so its visits and orders arrive in a burst over a day or two. A flow, such as abandoned cart, welcome or win-back, sends one text at a time when a shopper does something, so it brings a steady trickle all year.
- Give each its own campaign value.
sms-winter-sale-2026-12for the campaign,sms-flow-abandoned-cartfor the flow. A flow keeps the same value for as long as it runs. - Number the steps of a flow.
utm_contentis stored with the visit but is not a report row, so to see the second text of a flow apart from the first, add the step to the campaign, such assms-flow-abandoned-cart-2. - Compare over the right range. Judge a campaign on the week after it went out, and a flow over months. A flow that looks small on any one day can bring more revenue in a quarter than a sale blast.
If your SMS tool can add UTM tags to every link in a campaign or flow, set them there, so they are part of the URL before it is shortened. Omnisend, for one, tags SMS campaign links on its own; see Omnisend revenue tracking for email and SMS. Build links by hand with the free UTM builder and keep every value lowercase.
Consent and quiet hours move revenue by send time
Marketing texts need the shopper's consent, and rules in some places limit the hours when they may be sent. Many SMS tools hold a text triggered at night until a set morning hour in the shopper's time zone. A cart left at midnight gets its reminder the next morning, so the visit and the order land then, not when the shopper left.
That shapes what you see. SMS visits cluster in the hours just after your quiet hours end, which says more about your settings than about when shoppers like to buy. A shopper who came back on their own before the held text went out is credited to that earlier visit, not to the text. And because only shoppers who opted in get texts, SMS revenue per visitor is not comparable with channels that reach strangers.
How the order is credited
With tags, sms is not a source Virling knows, so the visit counts as Referral, and the order is joined to it through the visitor ID your store keeps on the order. Tagging texts as email would move them into the Email channel and mix the two. Adding the script, the read-only store key and the order snippet is covered in set up Virling for an online store.
To read the numbers, click Referral in the Channels card and open the Campaign tab. Every row starting with sms- is a text campaign or flow, with visitors, revenue and revenue per visitor. The Source tab lists visits with no referrer under the channel's name, so sms does not get a row of its own there.
A worked example: four texts in one month
Example data, made up to show the method: an imaginary store that pays $0.015 per message sent four kinds of text in one month. Messages sent and send cost come from the SMS tool; clicks are tagged visits, and orders and revenue are the orders credited to each campaign in Virling.
| Text | Messages sent | Send cost | Clicks | Orders | Revenue | Revenue per message |
|---|---|---|---|---|---|---|
Flash sale, sms-flash-sale-2026-11 | 8,000 | $120.00 | 560 | 42 | $2,394 | $0.30 |
Abandoned cart, sms-flow-abandoned-cart | 1,400 | $21.00 | 238 | 31 | $2,263 | $1.62 |
Back in stock, sms-flow-back-in-stock | 300 | $4.50 | 96 | 12 | $744 | $2.48 |
Shipping update, sms-shipping-update | 2,600 | $39.00 | 182 | 4 | $188 | $0.07 |
| Total | 12,300 | $184.50 | 1,076 | 89 | $5,589 | $0.45 |
Revenue per message is revenue divided by messages sent. The flash sale brought the most revenue, $2,394, but only $0.30 a message, because it went to the whole list. The abandoned cart and back in stock flows brought $1.62 and $2.48 a message, because each text went to a shopper who had just looked at a product. The shipping update was sent to tell, not to sell, so its $0.07 a message is extra. Together the four brought $5,589 for $184.50 in send cost, about $30 for every $1, before the SMS tool's own monthly fee. Put your own costs into the marketing ROI calculator, and tag each link with the UTM builder before it is shortened.
What to check if the numbers look off
- SMS orders show as Direct. A flow was left untagged, or the tags were added after the link was shortened.
- Texts show under a shortener's domain. The shortener shows its own page before redirecting, so the visit has a referrer. Use a shortener that redirects straight away.
- Your SMS tool counts far more clicks than Virling counts visits. Link previews and spam filters can open a short link without a person tapping it, and a shortener counts those. They do not run your page's script, so Virling records no visit.
- SMS revenue is lower than in your SMS tool. Many SMS tools credit an order to a text that was sent or clicked within a window, however the buyer reached the store. Virling credits each order once, to a visit.
For the same campaigns sent by email, see crediting store orders to email campaigns and flows, and for notifications, push notification revenue tracking.
Frequently asked questions
Why do SMS clicks show up as Direct?
Messaging apps do not send a referrer when someone taps a link in a text, so the visit carries no sign of where it came from. Unless the link has UTM tags, the visit and the order after it are counted as Direct.
Do link shorteners remove UTM parameters?
They can. Tags added to a short link after it was made may not be passed on, and a redirect that keeps only the path drops them. Add the tags to the full URL before it is shortened, then tap the link on your own phone and check the address bar.
What UTM parameters should I use for SMS?
Tag every text with utm_source=sms and utm_medium=sms. Name each one-off campaign and each flow in utm_campaign with an sms- prefix, such as sms-winter-sale-2026-12 or sms-flow-welcome, and add the step number for flows with several texts.
Can I track a tap on the image in an MMS?
No. The image in an MMS is not a link, and tapping it opens the picture on the phone. Only a URL in the text of the message brings a visit, so put the tagged link in the words of every MMS.
Which channel does SMS traffic show in Virling?
Referral, because sms is not a source Virling knows. Visits with no referrer do not get their own Source row, so open the Campaign tab under Referral and read the rows that start with sms-.
Does Virling send text messages?
No. Virling reads tagged visits and your Shopify or WooCommerce orders. Keep sending with the SMS tool you use today.
See which texts bring real orders
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.