MailChimp is an email marketing service, It is manage the subscribers of your website. MailChimp provides an easy way to integrate email signup form in your website and send the email newsletter to the subscribers. Beside the premium plan MailChimp also has a forever free plan. Using the free plan, you can add up to 2,000 subscribers to MailChimp and send 12,000 emails per month to the subscriber.
In this tutorial, i will show you how to integrate newsletter subscription form in your website and add subscriber to list with MailChimp using PHP. We’ll use MailChimp API 3.0 and PHP to add subscriber to list without confirmation email.
To integrate MailChimp API in PHP you need a MailChimp API Key and List ID where you want to add members. Before you begin, sign up for a MailChimp account and follow the below steps to get API Key and List ID.
In this tutorial, i will show you how to integrate newsletter subscription form in your website and add subscriber to list with MailChimp using PHP. We’ll use MailChimp API 3.0 and PHP to add subscriber to list without confirmation email.
To integrate MailChimp API in PHP you need a MailChimp API Key and List ID where you want to add members. Before you begin, sign up for a MailChimp account and follow the below steps to get API Key and List ID.
Creating API Key and List ID
Get API Key:
- Login to your MailChimp account.
- Under the user menu dropdown at the top left side, click on Account link.
3.Go to the Extras » API Keys from the top navigation menu.
4.Under the Your API keys section, create an API Key by clicking on Create A Key button. Once generated, copyAPI key for later use in PHP script.
Get List ID:
- Choose a list in which all the subscriber’s information would be stored. In that case, you need to create a list in the Lists page.
2.Enter into your created list and navigate to Settsings » List name and campaign default.
3.Under the List ID label you will find the List ID. Copy List ID for later use in PHP script.
below this example, a simple newsletter subscription form will be implemented. when user submits the subscription form with the details (First Name, Last Name, and Email), all details would be added to the list of MailChimp account using MailChimp API and PHP. Also, the subscriber would be able to receive the newsletter of your website via MailChimp.
Download Code Here...







This comment has been removed by the author.
ReplyDeleteHi there,it appears to me that MailChimp relies on self-service to address more customer questions and issues.You can look trough guides,knowledge base articles,and tutorials for information.I suggest for searching Bulk email service for further knowledge.
ReplyDelete