Region Specific e-mail collection? | WordPress.org

Do you have an email/mailing list provider already? That will play a major role in how the selection will tie into the list, especially if the list is managed externally (eg providers like MailChimp, etc).

Thread Starter
alikin

(@alikin)

Hi, thanks for your quick reply! Yes the client currently uses mailchimp but are open to moving to another provider if needed.

I’m pretty sure MailChimp has an API through which you can perform various functions. Whether you can add an email to a region specific list or not IDK. Consult their API docs for specifics.

You can send API requests from PHP via the WP_Http class. This can be done as part of the form handling code you would use to manage a contact form.

IIRC, MailChimp has a link (besides the API endpoints) you can use for people to follow and sign up for your client’s mailing list, but IDK if it’ll accommodate specifying a specific list or not. If it does, this would be easier to implement than using the API, but it does take users off of your client’s WP site. If you utilize the API, users can stay on the WP site to sign up.

For the no code, no plugin solution with MailChimp:

— Create a subscription form from the MailChimp dashboard. You will link the form to one “list” or MailChimp Audience.

— Create different interest groups and show them on the form. Users can select one or more of these interest groups during signup, and, when sending out email campaigns, you can segment your audience by these interest groups and mail out to a specific interest group only.

— Copy and paste the MailChimp form code somewhere on your site, or use MailChimp’s hosted forms (grab the link and put it somewhere on your site).

If you want prettier MailChimp subscription forms, there are several plugins for MailChimp out there:

Thread Starter
alikin

(@alikin)

Thank you! Just what I was looking for!!! Really appreciate it.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer