Newsletter Signup Form
The form below will add a new subscribed contact to your database, and display a pop-up message on success.
- Newsletter Signup Code
Request Marketing Consent
Contacts added to your database via other forms (such as contact forms), will be aded with the e-mail marketing status "Pending" to flag inferred consent.
Adding to the contact enquiry form example, you can explicitly ask users whether they want to receive e-mail newsletters, and set their e-mail marketing status to "subscribed" (line 16-18):