Contact Form 7 (CF7) is one of the most popular WordPress contact form plugins and is supported out of the box on Strattic!
1. Create your form in Contact Form 7.
Strattic also supports the Mail (2) feature in Contact Form 7 that can be used as an autoresponder to the person filling out the form.
2. Add the form to your WordPress site and publish to your Preview static site to test that the form submits and the email gets sent.
On our development roadmap:
We are actively working to add more support for CF7, and the following items are currently on our roadmap for future releases:
Display form submissions in the Strattic Dashboard
Support CF7 tags [_post_url] and [_post_title] but in the meantime, you can use this plugin to capture marketing campaign tracking query parameters and include them in the form submission emails https://wordpress.org/plugins/contact-form-7-dynamic-text-extension/ (see more below)
How to track which page a user was on when they filled out the form
If you have a contact form in the footer of every page of your website, you might want to know which page someone was on when they filled it out so you could send them a tailored response.
To do this with CF7
1. Install and activate this plugin: https://wordpress.org/plugins/contact-form-7-dynamic-text-extension/
2. Add [dynamichidden page-url-1 "CF7_URL"] to your form
3. Save Changes
4. In the "Mail" tab, add [page-url] to your submission email and save changes
5. Test your form in WordPress
6. Publish your site to Live or Preview using a full publish.
Form submissions will now appear under Contact > Form Submissions. This will allow you to go back and see and export all form submissions for each of your forms.
NOTE: Contact Form add-on, extension plugins, or Integrations with platforms like Mailchimp and Salesforce that require interaction with the WordPress database will not work on static sites. If you are looking to save your form submissions we would suggest looking at our support for Gravity Forms, which does save the form entries.