New Subscriber Variables

Hi Everyone,
So, I recently built a website for my boss and I have added a pop up feature “Wix Get Subscribers” to attract subscribers to our mailing list and then send an automatic email to the new subscriber. To improve the Call-to-Action, I am adding. “Subscribe and get a $10 coupon for your next purchase” which is sent via the automatic email function. Now, for this is to work, we must be able to track the coupon and ensure people don’t exploit the offer. As I see it, the coupon they print must display 3 variables: their first and last name, today’s date, and today’s date +30 days (expiration). Now, when they submit the form, I get their first and last name, so adding those variables to the triggered email is super easy but the date variables are tough because those aren’t provided in the submission form. I think with Wix triggered emails, you can place: today’s date and date +30 on the website and use those as a reference to the triggered email being sent (not 100% on that). I am not much of a coder but I would really appreciate input. Thank you!

You have to code the from yourself and use input instead of the subscribe function you’re currently using, then you can get the date maybe add it to a hidden field and submit the form and add an automation. Not sure however I would recommend including a QR code that once you scan it makes it invalid or if you have an online store then add it to a database.