Instant-Win Claim Page — Member View
When a member's instant-win moment hits, the platform sends them a link to a standalone game page they can open immediately. The page is deliberately lightweight — built for WhatsApp's in-app browser on older Android devices.
How it works
After the platform decides the member has won (via the conversation flow or campaign mechanic), it issues a one-time signed token and sends them a URL of the form:
https://{your-domain}/g/{token}
The token carries everything the page needs to display the outcome: tenant, campaign, member, and the prize that was won. The page is framework-free — a single self-contained HTML document under 150 KB — so it loads fast even on a slow mobile connection.
What members see
When the link is opened:
- The page loads in seconds.
- A short animation plays — a PopIt-style "tap to reveal" interaction.
- The prize is revealed with branding consistent with the campaign.
- The member sees how to claim (contact info, redemption code, next steps).
The outcome was decided server-side before the link was sent, so the animation is purely presentational. The page never re-contacts the backend to "ask if I won" — once the link loads, the game keeps working even if the network drops.
Limits and gotchas
- The token is single-use. Once a member opens the link, Redis flips a marker; refreshing or copy-pasting the URL into another tab shows an "already played" screen instead of the reveal. This is by design — it prevents anyone (member, screenshot recipient) from re-playing the link.
- Tokens expire. If a member ignores the message for too long, the token becomes invalid and the page shows a friendly "this link has expired" notice (HTTP 410). The exact lifetime depends on campaign configuration.
- The page is
noindex, nofollowandX-Frame-Options: DENY— so prize links can't be scraped by search engines or embedded in other sites. - One claim per evidence. If the win came from a receipt upload, the same receipt cannot win again — its hash is checked before any new lottery runs.
- No screen-sharing recovery. A friend who watches a screen-share of the reveal can't replay it. There is no "let me try that link too" path.
What happens after the reveal
The reveal page ends with next-step instructions specific to the campaign:
- A reservation that gives the member 24 hours (or 24 h after campaign end, whichever is later) to provide their delivery details.
- A code to redeem in store / online.
- A direct prize (digital voucher, points credit) — instantly applied to the member's account.
Whichever path applies is shown in plain language on the page itself.