De Otro PlanetaEspañolDiscuss my business

Meta and Google advertising

How to tell which Meta ad drove a WhatsApp sale

Before switching off a campaign, ask yourself one more question: which of my campaigns brought in the sale? At De Otro Planeta, we use the first WhatsApp message to trace a sale back to the ad. We can also use the WhatsApp API and Meta conversion events, although that takes a little more setup.

Three click-to-WhatsApp campaigns with 115, 27 and 6 attributed purchases.
You can review the purchases Meta reports by campaign, ad set, and individual ad.

The clue in the customer’s first message

Picture two campaigns that send customers to the same WhatsApp number. Both show the same video of the same sofa. If everyone starts with “Hi, I’d like more information,” how can your sales rep tell which campaign brought in the order they just collected payment for?

Here’s what we do. When we set up each ad, we change the phrase the customer can select and send when WhatsApp opens. The business can keep its automatic greeting. The clue our sales rep needs to recognize is the first message they receive from the customer.

On mobile, swipe across the table to see all columns.

Two campaigns, the same video, two opening messages
SourceVideoMessage the customer can send
Campaign AModular sofaHi, could you send me the measurements of the modular sofa?
Campaign BSame videoHi, I’d like to know the dimensions of the modular sofa.

Both phrases ask for the same thing. I can identify the campaign without prompting one customer to ask about price and another about a discount. To compare ads within one campaign, I give each ad its own phrase. If I offer several opening questions, I keep a list of every version and the ad it belongs to.

How to follow the source through to payment

  1. Before turning on the ads, I record the campaign, ad set, ad name, and opening phrase in a spreadsheet. I open the preview and check the text that actually arrives in the chat.
  2. When the message comes in, the sales rep saves its source with the conversation. If someone deletes the phrase and just writes “Hi,” we record “unknown source” unless we have another reference.
  3. When payment comes in, the rep adds the order number, date, and confirmed amount to the same record. Even if the customer took several days to decide, I can still trace the sale to the ad. We count each order once.

At the end of the week, I group paid orders by ad and count how many still have an unknown source. That helps the team make decisions. Getting a purchase into Ads Manager requires one more step: sharing the event with Meta.

Would you pause the campaign with the more expensive chats?

Imagine we spend the same amount on both sofa campaigns, sell the same product, and give the conversations the same amount of time to close. The figures in this example are hypothetical and are in Colombian pesos.

On mobile, swipe across the table to see all columns.

What changes when you count paid orders
MetricCampaign ACampaign B
Ad spendCOP 300,000COP 300,000
Conversations10040
Cost per conversationCOP 3,000COP 7,500
Paid orders25
Cost per purchaseCOP 150,000COP 60,000

If I look only at WhatsApp, A seems to win. But B acquired a buyer for COP 60,000, even though starting a chat cost two and a half times as much. I would keep B running while I looked into what happened to A’s 100 conversations. To decide what I could spend on the next sale, I’d compare the cost per purchase with the margin on the sofa.

From campaign to video in three screenshots

In Ads Manager I select a date range, open Columns → Customize columns, and add purchases, purchase conversion value, and amount spent. I keep the same filters as I move between levels. Here are the three views I use at the agency.

The original report is in Spanish. Compras means purchases, Compras en Meta means purchases on Meta, and Valor de conversión means conversion value.

1. Campaigns · Where do most purchases come from?

Spanish Ads Manager report showing campaigns with 115, 27, and 6 purchases.
The campaign with the most purchases recorded 115, with a conversion value of $42,377,804.

2. Ad sets · How are those purchases distributed?

Ad sets with 81, 34, 6, no attributed purchases, 10, and 17 purchases. The visible total is 148.
Two of the ad sets accounted for 81 and 34 purchases respectively.

3. Ads · Which creative deserves another test?

Ad-level report with 35 purchases in the first row, 19 in the second, and 119 in total.
The first ad recorded 35 purchases and the next recorded 19. If an ad uses several videos, check the available breakdown before crediting a particular video with the sale.

How we use the WhatsApp API and Meta’s Conversions API

We used to match these records by hand. The sales rep recognized the ad’s opening phrase on WhatsApp and recorded the campaign when the customer paid. To produce the report above, we connected WhatsApp to our customer messaging platform and configured it to send purchase events to Meta.

The WhatsApp Business API helps us identify the source of the chat. When someone opens WhatsApp from an ad and sends their first message, the messaging platform can receive the click reference and save it with the conversation. When that reference is available, we can keep the connection to the ad even if the customer edits the opening phrase.

Meta’s Conversions API (CAPI) reports the outcome. Once the rep confirms the payment and marks the sale in the platform, the integration sends Meta a purchase event with its value, currency, and click reference. Meta uses that information to attribute the purchase. Those attributed purchases and their value are what you see at each level of the report.

Most of the extra work comes at setup. We connect the WhatsApp account, choose which team action confirms the customer paid, and use an order to verify that the event arrives once with the correct amount.

If you use the WhatsApp Business app, you can also mark an order as paid. If sharing order events with Meta is enabled on your account, you can use that option and compare your attributed purchases with the payments you confirmed.

What I check before moving budget

I pick a sale from this week and ask the sales rep to show me the ad it came from. If we can trace the order to the first message, we have a way to start measuring. When we also send events to Meta, I check from the other end by opening the ad and looking at the purchases attributed to it.

With both records I can make a better decision. A campaign that keeps the inbox busy deserves a review of what happens in those conversations. And a campaign that brings in fewer chats might deserve more budget if it brings in buyers at a cost the business can sustain.

— Jairo Vélez

Further reading

Do you know where your last sale came from?

Tell us how your team records orders. We can look together at what information is missing between the ad and the payment.

Talk to us about your advertising and sales ↗