DiceXDiceX/ Blog

Unique product codes by SMS: warranty sign-up, code checks, points and prize draws

Print a unique code on each product and let buyers text it to activate a warranty, check the code, collect points or enter a prize draw. Here is how it works and what a code can and cannot tell you.

7 min read

Unique product codes are one-off codes printed on a pack or label that a buyer sends to you by SMS. With Sales Tracking & Contests from DiceX you generate those codes in a pattern you choose; when a buyer texts one, the system checks it against your rules, sends the right reply automatically and keeps a record of every entry. One code can serve as a warranty sign-up, a code check, a way into your customer club, a points entry and a ticket for a prize draw.

This guide explains how unique product codes work by SMS, what they tell you about your buyers, and where their limits are.

Why put unique product codes on your products?

Most brands sell through distributors, dealers and retailers. The product leaves the warehouse and the brand never learns who actually bought it.

A code the buyer texts creates that connection. Their mobile number is recorded, together with the code they sent and the time it arrived, and you can reach them again later.

A typical example: a manufacturer prints a code on every pack. The buyer texts it to activate the warranty and, in the same message, enters the monthly draw.

SMS works for this because every buyer can send one, with no app to install and no account to create.

One code, five uses

Use

What the buyer does

What you get

Warranty sign-up

Texts the code on the product to activate the warranty

A record of each sign-up with number and time

Code check

Asks whether the code was issued by you and has not been registered before

Automatic replies for valid, invalid and repeated codes

Customer club

Registers a code

Their number stays on your list of participants

Points and repeat purchases

Sends a new code with each purchase

Each code is worth set points; the code count shows repeat purchases

Contests and prize draws

Enters your contest

A draw among participants, with as many winners as you choose

You do not need all five at once. Many brands start with warranty sign-up and later run an on-pack promotion on the same codes. See the step-by-step guides to SMS warranty registration and running a text-to-win contest.

Five kinds of SMS contest

The contest type decides what a participant has to text. It cannot be changed after the contest is created, so choose it first.

  1. Keyword: participants text one specific word.
  2. Multiple choice: a question with several options; right and wrong answers get their own automatic reply.
  3. Serial: participants text the serial code printed on the product.
  4. Serial with keyword: the serial code is sent together with a keyword, and each serial is tied to a keyword by percentages you choose.
  5. Serial with points: each code earns a set number of points, following the distribution you define.

Keyword and multiple-choice contests need no code on the product and suit promotions, broadcasts and events. The three serial types are for codes that sit on the product itself.

Generating serial codes in your own pattern

You define the structure of the codes:

  • Number: how many codes to generate, from one up to a million per contest.
  • Length: how many digits each code has.
  • Prefix and suffix: a fixed part at the start or end, for example to mark a product line or a dealer.
  • Method: sequential (one after the other) or random. With random codes, the next code cannot be worked out from the previous one.

You see a sample code before saving, and the generated codes are listed under "Generated serials" for printing.

For codes printed on products, random generation is usually the better choice, since sequential codes are easier to guess.

The right reply to every message

Every SMS that reaches the contest line gets an automatic reply, and you write each one:

  • a reply for a valid code or right answer
  • a reply for an invalid code or wrong answer
  • a reply for a repeated entry, one for valid and one for invalid
  • a reply for blacklisted numbers

You can also set a limit on wrong attempts. A number that sends more wrong entries than the limit is added to the blacklist, which stops someone from texting guessed codes until one works.

Schedule from three days to a year

Set when each contest starts and ends, from three days to a year. Messages that arrive within that window are accepted; the start day counts from 00:00 and the end day until 23:59.

A warranty programme needs a long window, because products can sit on a shelf for months. A seasonal promotion, say for Ramadan or the summer holidays, often works better with a short one.

What every entry tells you

Reports are built from the codes registered. The more precisely you tie codes to products and sales channels, the clearer the picture of your buyers.

  • Product and dealer: generate a separate series of codes for each product or dealer, so each entry shows where it came from.
  • Time of entry: the time each SMS arrives is recorded. It is when the buyer engaged, not necessarily when they bought.
  • Repeat purchases: the number of codes each number has registered shows how many purchases it has recorded.

What a valid code does not prove

Being clear about the limits protects your buyers' trust:

  • A valid code does not prove the product is genuine. The system tells you that you issued the code and how many times it has been registered. Whether the physical product is genuine also depends on how the codes are printed and distributed; a copied code will also be valid once.
  • The place of purchase cannot be read from the SMS. The region or dealer comes from the code series you generated for it, or from what the buyer tells you.
  • Time of entry is not time of purchase. A buyer may text the code days after buying.

Which use fits your business?

Business

Good first use

Why

Appliance or electronics maker

Warranty sign-up

Buyers already expect to register a warranty, and a long schedule covers the product's shelf life

Food, drinks or personal care brand

On-pack prize draw with a Serial contest

Frequent, low-value purchases; a draw gives a reason to text the code

Brand selling through many dealers

A separate code series per dealer

Each entry shows which dealer's stock it came from

Brand building loyalty

Serial with points

Points reward each purchase, and the code count shows repeat buyers

Broadcaster or event organiser

Keyword or multiple choice

No code on the product is needed

Common mistakes to avoid

  • Printing the code where it can be read before purchase. Anyone in the shop could text it first. Put it inside the pack or under a scratch-off panel.
  • Using sequential codes on products. They are easy to guess; choose random generation.
  • Forgetting the repeated-code reply. It is the message that tells a buyer something is wrong with their code.
  • One code series for everything. You lose the ability to see which product or dealer an entry came from.
  • Promising more than a code can prove. Say "registered" or "valid code", not "guaranteed genuine".
  • A schedule that is too short. Warranty contests need to stay open as long as products are on sale.

What is in the competitions panel

Everything runs in the competitions panel:

  • Competitions: create and edit contests, their type, codes, replies and schedule
  • Draws: set the winning criteria and run the draw
  • Winners: the winners picked in each draw
  • Accepted serials: codes participants have registered
  • Generated serials: codes made for the contest
  • Keywords and choices: accepted participant answers
  • Blacklist: numbers blocked from taking part

Received messages and the automatic replies sent are listed for each contest as well.

From building a contest to announcing the winner

  1. Create an account: create a DiceX account and set up the contest's SMS line.
  2. Build the contest: choose the contest type, the codes, the automatic replies and the schedule.
  3. Put the codes on your products: print the generated codes and write the number to text them to beside them.
  4. Follow the entries and draw: follow the incoming messages and, at the end, run the prize draw.

Next step

If you are not sure where to start, warranty sign-up is the simplest first project: one serial contest, one code series and three automatic replies.

Frequently asked questions

What are unique product codes used for?

Buyers text the code on the product to your SMS line to activate a warranty, check whether you issued the code, collect points or enter a prize draw. Their number stays on your list of participants for later messages.

Does a valid code prove the product is genuine?

No. The system tells you that you issued the code and how many times it has been registered; whether the physical product is genuine also depends on how the codes are printed and distributed.

Can I see where the product was bought?

Not from the SMS itself. The region comes from the series of codes you generated for each dealer or region, or from what the buyer tells you.

Which number does the buyer text?

The SMS line you choose for each contest. Print that number next to the code on the pack.

How long can a campaign run?

You set when each contest starts and ends, from three days to a year.

Guides

Related articles