PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Specific page and Mailchimp signup

s2Member Plugin. A Membership plugin for WordPress®.

Specific page and Mailchimp signup

Postby Michelle » January 11th, 2012, 7:13 am

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!
User avatar
Michelle
Registered User
Registered User
 
Posts: 18
Joined: November 29, 2011

Re: Specific page and Mailchimp signup

Postby Raam Dev » January 12th, 2012, 6:14 pm

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. :)
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011

Re: Specific page and Mailchimp signup

Postby Michelle » January 16th, 2012, 12:54 am

Thanks Raam. Any news?
User avatar
Michelle
Registered User
Registered User
 
Posts: 18
Joined: November 29, 2011

Re: Specific page and Mailchimp signup

Postby Michelle » January 16th, 2012, 1:59 am

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
User avatar
Michelle
Registered User
Registered User
 
Posts: 18
Joined: November 29, 2011

Re: Specific page and Mailchimp signup

Postby Raam Dev » January 16th, 2012, 9:59 pm

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! :)
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011

Re: Specific page and Mailchimp signup

Postby Michelle » January 17th, 2012, 5:38 am

thanks Raam :)
User avatar
Michelle
Registered User
Registered User
 
Posts: 18
Joined: November 29, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron