Coupon Code Campaign
3 min read
Coupon code campaigns let you run a discount that’s only available to customers who present a code — in their email, on a printed card, in a referral link, or from an influencer post. The discount stays invisible to everyone else.
When to Use a Coupon Code Campaign #
- Email newsletter promotion — reward subscribers without exposing the discount on the storefront
- Influencer / affiliate partnerships — track redemptions per partner with unique codes
- Loyalty rewards — one-time codes for milestone customers
- Cart-abandonment recovery — offer a small discount to bring people back
- Wholesale onboarding — a private code unlocks B2B pricing for approved accounts
- VIP early access — preview a sale before it goes public
Example: Newsletter 15% Off #
Scenario #
Goal: Send a 15% off code to your 5,000 newsletter subscribers Discount: 15% off all products Redemption: Customers paste “NEWS15” at checkout, or click an auto-apply link Limit: 1 redemption per customer (so each subscriber gets one use) Duration: 7 days
Setup Steps #
- Create the campaign in the Wizard.
- Step 1 (Basic): Name it “Newsletter 15% Off”.
- Step 2 (Products): Choose All products.
- Step 3 (Discount):
- Pick Percentage Off, value
15. - In the Delivery card, choose Requires code.
- Code:
NEWS15 - Open Single-use enforcement → choose Per customer.
- Pick Percentage Off, value
- Step 4 (Schedule): Set start = today, end = +7 days.
- Step 5 (Review): Check the intelligence panel for warnings, then launch.
Distributing the Code #
Go to Campaigns, find your “Newsletter 15% Off” campaign, click the row actions, and pick View codes. Click the Copy button next to NEWS15 — you now have a one-click apply URL on your clipboard:
https://yourstore.com/cart/?wsscd_code=NEWS15
Paste this URL into your email’s call-to-action button. Customers who click see the discount apply automatically when they reach the cart. Customers who type the code manually into the cart’s “Have a coupon?” field also work.
Example: Influencer Codes (Pro) #
Scenario #
Goal: Give 10 influencers a unique code each so you can track who drove sales Discount: 20% off Redemption: Each influencer’s audience uses their personal code Limit: 100 redemptions per code Duration: 30 days
Setup Steps #
- Create a campaign as above with 20% off and Requires code.
- Open Bulk-unique codes (Pro):
- Quantity:
10 - Length:
8 - Prefix (optional): leave blank, or use the influencer’s initials format
- Quantity:
- Save the campaign — 10 unique codes are generated.
- Open View codes. Each row has its own “Copy share link” button.
- Email each influencer their personal apply-URL.
- Track conversions over time by checking the “Used” column.
Why This Works #
Each influencer’s code is unique, so when an order comes in carrying that code, you know exactly which audience drove the redemption. The codes admin page shows usage counts, redemption timestamps, and you can export the full table to CSV at the end of the campaign for partner reporting.
Example: One-Time Discount Per Subscriber (Pro) #
Scenario #
Goal: Give every newsletter subscriber a unique one-time-use 10% off code Discount: 10% off Redemption: Each subscriber gets their own code via a mail-merge variable Limit: 1 use per code (the code is “burned” on first redemption)
Setup Steps #
- Create a campaign with Requires code and 10% off.
- Open Bulk-unique codes — generate as many codes as your subscriber count (up to 50,000).
- Open Single-use enforcement → pick Per code.
- Save and download the CSV from the codes admin page.
- Import the CSV into your email tool (Mailchimp, ConvertKit, Klaviyo) as a custom subscriber field.
- In the email template, use the merge tag to insert each subscriber’s personal code into both the displayed code text and the CTA button URL.
Why This Works #
Each subscriber receives a code that only works once. If they share it on social media, only the first taker can redeem it. This prevents code-leaking common with shared codes and keeps your discount budget predictable.
What Customers See #
This is the most important thing to understand: a code-required campaign is invisible on the storefront until the customer presents the code.
- On product pages: Normal prices, no badges, no “Save with code NEWS15!” banner.
- On the cart, before applying: Standard cart. (Optionally a small “Got a discount code?” reminder if you enabled the cart hint.)
- After applying the code: Discounted line items, a “Coupon NEWS15: -$X.XX” line in totals, normal checkout.
- If the code is invalid/expired/used-up: WooCommerce’s standard error notice (“This code has reached its usage limit”, “You have already used this code”, etc.).
If you want the discount visible on product pages with badges and strikethrough prices, use Auto-apply delivery instead. Same campaign builder, same discount engine — just a different delivery mode.
Tips #
- Use the URL auto-apply pattern in your emails (
?wsscd_code=YOURCODE). Customers who click skip the typing step entirely. - Keep codes short and memorable for shared codes (NEWS15, SUMMER20). Use bulk codes for unique-per-customer scenarios.
- Set a usage cap if you have a discount budget — the campaign auto-stops accepting redemptions when the cap is hit.
- Watch the intelligence panel on Step 5 — it flags conflicts with auto-applied campaigns, sale-stack risks, and projected redemption velocity.
- Refunds are automatic — if a customer refunds an order that used a code, the redemption is reversed and the slot is freed.