The General Data Protection Regulation (GDPR) is an European Union and United States law (EU) that requires companies and site owners to disclose the information they collect about their visitors and how this information is used (check out WordPress GDPR compliance guide for 2021.)
To make your Divi Contact Form GDPR-compliant, simply adding a required consent checkbox with clear explanation should be good enough.
Go to Pages > Create your page > Open More Tools & Options > Select Code editor > Paste code generated below > Publish your page.
Now, open the Contact Form Module (By default, it comes with First Name, Last Name, Email and Message ) and add new field to it.
Add Field ID and Title. This text will appear above checkbox field.
Choose “Checkboxes” as the type of this field.
Type the checkbox and open the hyperlink icon.
In this video you can see how is built Contact Form in Divi Jane Theme
You can read more about all these Divi GDPR options in this Elegant Themes blog post.
I hope this post was helpful. If you have any questions, feel free to leave your comment below!