Blog · Comparison
How to send a discount coupon on WhatsApp: a Copy code button or the code in the text
Short answer: there are two ways, and they do different jobs. One is a template with a "Copy code" button: the customer taps it, the code lands on their clipboard and they paste it at checkout. You choose the real code on each campaign, so one approved template carries this month's offer and next month's. The other is to write the code into the message text. That also works in automated workflows, but the code is frozen once Meta approves the template. For a campaign, use the button. For a workflow, such as the second abandoned-cart reminder, put the code in the text.
The problem: a code the customer has to copy by hand
A coupon buried in a paragraph makes the customer select it with a thumb, copy it without the full stop and remember it at checkout. Plenty of them never use it. And if you write the code into a WhatsApp template, Meta approves that exact text: the next offer needs another template and another review.
The two ways, side by side
The "Copy code" button
- The code is chosen per campaign. The template only holds an example code for Meta's review. You type the real one when you create the campaign, with no new review.
- One tap copies it. WhatsApp writes the button's label itself, in the language of each customer's app, which is why you can't edit it.
- Campaigns only. A workflow has nowhere to take the code from, so every send of that template inside a workflow would fail.
The code written in the text
- Works in campaigns and in workflows. It is how an automated message carries a coupon.
- Frozen on approval. Changing it means a new template. The "Last call for the cart" suggestion comes with
YOURCODEin the text, and the form won't submit it to Meta until you replace it with your real code.
Step by step: a coupon with the Copy code button
- Create the code in your store. In Shopify, under Discounts, with the percentage, end date and limits you want. Before you pick the percentage, check how much you can give away with the discount calculator.
- Write the template. In Templates, "New template", category Marketing. Under "Buttons (optional)" turn on "Copy code" button — a discount code and enter an example code of up to 15 characters. If you want to know who taps through, add the "Shop now" button as well. Buttons are part of the approved template: adding one later means writing a new template.
- Submit it to Meta and wait for approval. If it is rejected, the reason shows on the card. The usual causes are in why Meta rejects WhatsApp templates.
- Send yourself a test. "Send a test" delivers the message as the customer will see it. The button copies the example code, not the real one.
- Create the campaign. In Campaigns, "New campaign", pick the template and the audience. If you're not sure who should get it, read how to segment customers for a campaign. Once you pick a template with that button, a "Discount code" block appears, and the campaign isn't created without a code.
- Paste the code. With "Paste a code", copy it exactly as it is in your store. We don't check it against Shopify, and a code with a typo fails at the customer's checkout. The code is saved on the campaign, so nothing you change afterwards alters what is already sending.
- Read the report. The campaign shows how many times the code was used, when we can read it from Shopify. That figure is Shopify's own count, so it includes uses from outside the campaign.
There is a second option, "Generate in Shopify". It creates a store-wide code, once per customer, that expires with the campaign's attribution window. It needs the Discounts permissions on a Shopify custom app. The one-click connection only reads your store, so with it you paste the code.
An example: a beauty shop's November offer
The shop and the code are made up. The shop creates the code NOVEMBER15 in Shopify, 15% off everything until the end of the month. It has this template approved, with "Shop now" and "Copy code":
When it created the template it entered EXAMPLE10 as the example code, which is what its test copied. On the November campaign it pastes NOVEMBER15. In December it will reuse the same template with another code, without going back to Meta.
Common mistakes
- Writing the code in the text as well. With the button, the text doesn't need to name it. If it does, approval freezes it, and in December the message would still quote November's code.
- Pasting the code with an extra letter. Copy it from Shopify and try it at your own checkout before you start the campaign.
- Reading clicks as coupon interest. Tapping "Copy code" doesn't count as a click, because WhatsApp doesn't report that tap. The report's clicks are the "Shop now" button's only.
- Using the button template in a workflow. In a workflow, put the code in the text, as "Last call for the cart" does.
- Discounting the first cart reminder. It teaches shoppers to abandon to get one. More in abandoned carts on WhatsApp.
Before you start
Work out how much more you need to sell for the coupon to pay off with the discount calculator, and draft the text with the WhatsApp template generator. To find out whether the campaign made money, read what a WhatsApp campaign costs and how to measure its ROAS.
Send your next offer with the code one tap away
Connect WhatsApp, create a template with the Copy code button and choose the code on each campaign.
Start for freeFree plan, no credit card. See plans and pricing.