Page 1 of 1

Specific page and Mailchimp signup

PostPosted: January 11th, 2012, 7:13 am
by Michelle
I've done a search but I can't find an answer to this question.

Can I automatically add a buyer to Mailchimp for Specific Posts/Pages purchases?

Ideally I'd like to be able to add someone to a specific list, the same as I can do for each level of membership. And then they have to confirm their subscription.

Is this available in s2Member, or is there a workaround I can use?

thanks!

Re: Specific page and Mailchimp signup

PostPosted: January 12th, 2012, 6:14 pm
by Raam Dev
I believe List Integration only works with Level Memberships, but I'm going to check with another support rep to verify. Thank you for your patience. :)

Re: Specific page and Mailchimp signup

PostPosted: January 16th, 2012, 12:54 am
by Michelle
Thanks Raam. Any news?

Re: Specific page and Mailchimp signup

PostPosted: January 16th, 2012, 1:59 am
by Michelle
Ok, for anyone else interested in doing this I worked it out.

Under API Notifications, Specific Post/Page ~ Sale Notification URLs I entered this:

http://<dc>.api.mailchimp.com/1.3/?method=listSubscribe&apikey=<apikey>&id=<list id>&email_address=%%payer_email%%&merge_vars[FNAME]=%%first_name%%&[LNAME]=%%last_name%%&output=json

<dc> is your datacentre - found after dash in API key
<apikey> and <list id> found in your Mailchimp account.

Done! Works perfectly. There are other parameters you can add - for options see this page: http://apidocs.mailchimp.com/api/1.3/li ... e.func.php

Re: Specific page and Mailchimp signup

PostPosted: January 16th, 2012, 9:59 pm
by Raam Dev
Michelle,

Thank you very much for sharing that!

That's brilliant! I just came here to give you an update on this and confirm that s2Member's List Integration only works with Membership Levels and that you'll need to utilize the API Notification feature to point s2Member at a custom PHP script that then adds users to your MailChimp list.

However, it seems you've figured out an even easier way by pointing the s2Member API Notification at a service provided by MailChimp. Brilliant! :)

Re: Specific page and Mailchimp signup

PostPosted: January 17th, 2012, 5:38 am
by Michelle
thanks Raam :)