Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
Fast-Nop40178339dMight run into GDPR issues. Also, take care to sanitise the input as potential attack vector - the current Log4j affair is a cautionary tale how user controlled data can wreak havoc in the backend.
Voxera11185339dI agree about not storing in GA.
But regarding GDPR, since its a contact form, anyone that fills it out gives you permission to store and process that data for the purpose of the form.
You can also store it temporarily in a log but not long term since the logging is not the purpose of the form, but logging is usually a requirement for the running of a site and that gives you the right to log necessary data for at least some minimum time.
For more information search for “Legal grounds gdpr” for a list of valid reasons to store and process data.
And remember that explicit consent is a last resort :). If any of the others work they are easier and better.
sariel8262339dTake my advice.
Just setup a mailto link with a filtered inbox(think Gmail and forward to your real account).
You will save yourself about 2 days of effort and it will be a bit more secure.