One-Time Use Coupon Codes in Thank You Page

  • 9 August 2018
  • 1 reply
  • 12 views

Hi all – I’m wanting to create a campaign that utilizes one-time use coupon codes. After someone converts on my landing page form, I’m wanting an individual coupon code to appear on the Thank You page. However, I have a list of coupon codes that can only be used once and cannot be recycled.

Any advice on how to get a different coupon code to appear for every conversion and not be reused?


1 reply

Userlevel 7
Badge +3

Hi @cychavez,

You would need a couple of scripts and possibly a database to keep the coupon codes.

A front-end script that would go on your Thank You page and would ping a backend script. The backend script would look up the next available coupon in the database and relate it back to the page.

Best,
Hristian

Reply