MailChimp Subscribe / Shopify
Capture Shopify customers with MailChimp.
Process a Web Hook from Shopify and subscribe the purchaser to a specific MailChimp list.
To install, download the latest code and edit the constants at the top of mailchimp_subscribe_from_shopify.php. You’ll need your Shopify shop ID (see the Shopify wiki) and your MailChimp API key (get it from the MailChimp API dashboard).
You will also need your MailChimp list ID. You can see it in the URL when you’re viewing the list in MailChimp.
You can capture other details, like address and phone number, by updating the $shopify_field_mapping array to match your MailChimp merge fields.
Upload the web hook and the included API wrapper to your web server and wire it up in your Shopify Email & Notifications preferences.
N.B. This web hook requires PHP 5.
Copyright 2009. Distributed under the GNU General Public License 3.0.
Get in touch with us
-
Email
Please send all enquiries to
contact@dialect.ca -
Mailing address
Dialect Communications Group
1190 First St
Courtenay, BC
V9A 3H2 Canada -
Telephone
Give us a call at 250-702-5202