Blog / Automation
Know Which Ad Brought Each WhatsApp Chat
When ads send people to WhatsApp, it is hard to tell which ad worked. A simple code in the pre-typed message fixes that. How to set it up and read the results.
Titus Kaleli · · 2 min read
Many Kenyan businesses now run Facebook, Instagram and TikTok ads that open WhatsApp instead of a website. It makes sense: customers would rather chat than fill in a form. The problem comes at the end of the month: twenty chats came in, five bought, but which ad were they from? Without that answer, you keep paying for ads that do not work.
The fix: a code in the first message
Every ad, post or poster gets its own pre-typed WhatsApp message ending in a short code:
- Reel about braids: "Hi, I'd like to book braids. Code R1"
- Photo ad for gel nails: "Hi, I'm interested in gel nails. Code R2"
- Poster at the shop: "Hi, I saw your poster. Code P1"
When the chat arrives, the code tells you exactly where the customer came from. They can edit the text, but most send it as it is.
How to set it up
- Make a code list: a short sheet with each code, the ad or post, the date it started and its budget.
- Build the links: for a post or bio, a wa.me link with the pre-typed text (see how to make click-to-chat links). In Meta Ads Manager, choose the WhatsApp messaging option and set the pre-filled message for each ad.
- Label the chats: when a chat arrives, add a label for the code in WhatsApp Business.
- Mark the sales: when a customer pays, note the code next to the sale.
Reading the results
At the end of the week, count for each code: chats, sales and money spent. The number that matters is cost per sale, not cost per chat. An ad that brings fewer chats but more buyers is the better ad. Turn off the losers, give more budget to the winners, and test one new idea at a time.
Let the bot do the counting
Counting codes by hand works for a few chats a day. A WhatsApp bot can read the code automatically, tag the lead, answer the question the ad was about (a chat with code R1 gets braids prices, not the whole menu), and add every lead and sale to a sheet. Then a daily summary on WhatsApp can tell you which ad brought today's customers.
Want this on your own number?
SparkWorld builds WhatsApp bots for Kenyan businesses: they answer from your own rules, take bookings and orders, and hand the chat to your team when a person is needed. Chat with us on WhatsApp (0110 757 810), or read more about WhatsApp bots and automation.
Want this working in your business?
Book a discovery call →