Forum
Integrate GetResponse form with Members Registration
Hi, I'd like to register members in the Members App at the same time as they sign up to my GetResponse email list.
Is that possible?
Thanks Steve
Hi, I'd like to register members in the Members App at the same time as they sign up to my GetResponse email list.
Is that possible?
Thanks Steve
It might be, but I've never heard of GetResponse so I don't have any specific guidance. Are you using their API currently?
Hi Drew, I'm using the standard form that they provide. It's much the same as Mailchimp. I did think that this might work...
[code] <perch:form id="register" action="https://app.getresponse.com/add_subscriber.html" method="post" app="perch_members" type="default"> [/code]
but it seems not to.
The standard getResponce sign up for looks like this:
[code] <form action="https://app.getresponse.com/add_subscriber.html" accept-charset="utf-8" method="post"> <div class="form-group"> <input type="email" class="form-control" id="email" name="email" placeholder="Enter Your E-mail" required> <input type="hidden" name="campaign_token" value="*****" /> </div> <button type="submit" class="btn btn-default"><i class="fa fa-paper-plane"></i>Subscribe</button> </form> [/code]
That would post the form to
app.getresponse.com
so Perch would have no ability to handle the form submission. Integration will require a little bit more work. Do they have an API?They do have an API. Described here https://apidocs.getresponse.com/v3/
I guess I could use the GetResponse API to add a subscriber AFTER they sign up as a member but I'm unsure of the process the MEMBERS app goes through and especially the "end point".
Could I intercept the MEMBER app process and add in some PHP code to post a subscriber?
I'd use something like this: [code] $getresponse->addContact(array( 'name' => 'Jon Smith', 'email' => 'jonsmith@testdomain.com', 'dayOfCycle' => 0, 'campaign' => array('campaignId' => 'campaign_id_obtained_by_API'), 'ipAddress' => '89.206.31.190', 'customFieldValues' => array( array('customFieldId' => 'custom_field_id_obtained_by_API', 'value' => array( 'Y' )), array('customFieldId' => 'custom_field_id_obtained_by_API', 'value' => array( 'Y' )) ) ));
[/code]
Yes, you could do that. You'd need to stub out a basic app with your code and then call that in the
app
attribute of the form.Is there a tutorial on how to stub the Members App?