- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Send JS generated URL per E-Mail
SOLVEFeb 10, 2020 4:46 AM
Hi,
we generate an URL based on a form that is entered with JavaScript, e.g. https://URL.io/welcome-affiliate?affiliate=company-name
They get send to this URL directly after filling in the form.
Now I would like to send this link per E-Mail as well, but I obviously can't integrate JavaScript in the E-Mail that is send out.
How can I do that?
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Accepted Solutions
Feb 11, 2020 8:28 AM
Thanks for your answer!
I solved the problem:
1) Create a hidden field in the form
2) Use script to populate the form before sending it: $form.find('input[name="affiliate_id"]').val(affiliateID).change();
affiliate_id is the form field, affiliateID ist my variable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content