1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-01 07:45:41 +01:00
site/docs/forms.md

25 lines
1.5 KiB
Markdown

# Forms
We have multiple forms collecting and processing data throughout the whole site doing the following:
Form | Actions
------------ |-------------
`/newsletter` | send data to MailChimp and subscribe to newsletter list (double opt-in)
`/contact` | send data to CC emails, Slack message
`/services` | send data to CC emails, Slack message, add new row to Google Sheets
`/cla` | 2 different forms, send data to CC emails
Initial form sending, except for newsletter, is handled via formspree.io with a Gold account. As form submissions arrive there, Formspree sends out the received data to the email addresses setup as CC in [our site config](../_config.yml).
Submissions are processed further like so:
_Formspree -> Zapier Email Parser -> Zapier -> Slack & Google Sheets_
The Zapier email parser is a special mailbox provided by Zapier which receives form submissions from Formspree, parses the content of those emails and extracts data fields out of it. The parser as a source then provides the structured data to our Zapier tasks.
The Slack message never contains personally identifiable information. Name and email are not transmitted.
## Newsletter
Newsletter submissions are sent directly to MailChimp via their undocumented `jsonp` functionality, NOT the MailChimp API. We use a local copy of [ajaxChimp](https://github.com/scdoshi/jquery-ajaxchimp) to send the data. Library is old and jQuery but it just works across a wide range of browsers, even older ones.