Back to the library
Free planning resourceBuilt for Shopify merchants

Secret code hunt template

Encourage useful site discovery with a code placed in clear, accessible campaign content.

  • Practical examples
  • Implementation checklist
  • No signup required
Secret code hunt template: sales giveaway campaign preparation
UserLoop

Enter the giveaway

Enter giveaway
Ready-to-use template

Campaign blueprint

Start with the complete working structure, then adjust the language, timing, and incentive to fit your customers and brand.

Best used when

Your team has a specific decision or growth objective and needs a focused artifact to move from planning to launch.

Objective

Increase engagement with selected product or campaign pages

Audience

People already on your list or following you, since every code drop has to be announced to an audience you can reach. It suits stores with a catalog deep enough to explore, and works poorly for cold traffic or a store with three product pages, where the hunt is over in a minute.

Recommended duration

7 to 10 days, with a new code every second day

What to measure

Return visits per entrant and pageviews on the pages holding codes, alongside how many distinct codes each entrant found

Prize ideas

  • the product connected to the hidden code
  • A focused product bundle for the same customer need
  • Store credit paired with a bestselling product

Entry design

Primary action

Enter a secret code

Bonus actions

Enter with emailRefer a friend

Campaign timeline

  1. 1Before launch: choose five pages worth reading and write a code into each one, unpublished
  2. 2Day 1: publish the first code, say where the hunt lives, and explain that every code adds entries
  3. 3Every second day: publish the next code with a hint by email and story, giving the list a reason to return
  4. 4Close: total the codes each entrant found, draw, and publish where every code was hiding

Launch checklist

  • Five pages chosen because they sell or explain something, not because they are quiet
  • Every code in plain readable text at normal size inside the page content
  • A hint schedule written in advance for each drop
  • Rules stating that each code adds entries and that sharing codes is allowed

Promotion copy

There is a code hidden somewhere on the site today, and a new one every other day until Friday. Find it, enter it, and every code you find is another entry for the product it was hiding on.
Optional AI assistant

Make the template specific to your store

Generate a focused variation while keeping the expert-written version available as your baseline.

Personalize this template with AI

Add your goal and audience. If AI is unavailable, the complete template on this page still works as a practical starting point.

Your inputs are sent only to generate this result and are not stored by UserLoop.

What you get

What this template gives you

Three specifics worth checking against your own store before you launch.

A new code every other day, on a different page each time

Codes leak within the hour, so count visits, not secrecy

Plain readable text, never baked into an image

How to put it into practice

How to put it to work

Start with the focused version, publish, and let the first answers steer the next iteration.

  1. 1

    Pick the pages you want read: a new collection, a size guide, an ingredient breakdown

  2. 2

    Publish one code at a time in plain text, and announce each drop by email and story

  3. 3

    Let every code found add entries, so someone who finds three enters three times

Mistakes to avoid

Protect the quality of the result

Strong execution usually comes from removing ambiguity and keeping every action tied to the original objective.

Hiding the code in an image or a hover state, which locks out screen readers and phones

One code for the whole campaign, so there is no reason to come back

Placing codes on pages with nothing to sell, which buys traffic and wastes it

Treating a shared code as a failure, when the visit already happened

Frequently asked questions

Practical answers before you launch

Where should I hide the codes?

On pages you want people to read: a new collection, a size guide, an ingredient breakdown, a founder story. The code is the reason for the visit, and the page has to justify it once they arrive. Skip policy pages and your homepage, since neither teaches anyone anything about what you sell.

How often should a new code appear?

Every day or every second day, announced each time. The value of this campaign is the return visit, and a single code hidden for two weeks gets found, shared, and forgotten by day two. A cadence also gives you a reason to email daily without sending a discount every time.

What happens when someone posts the code publicly?

It will happen, usually within the hour, and it is not a failure. The page visit you wanted has already been paid for, and people arriving from a deal forum still have to enter with an email. Design it so each code adds entries rather than gating something exclusive, and sharing costs you nothing.

How do I keep the hunt accessible?

Put the code in plain text a screen reader can read and a phone can render, at normal size, inside the page content. Codes drawn into images, set in white-on-white text, or tucked into hover states exclude a real share of your customers and read as a trick. The hunt should be finding the right page, not defeating it.

Keep planning

Related playbooks and templates

Browse the complete library

Turn the plan into a live Shopify campaign

Collect useful customer insight with Surveys and grow your audience with Contests.