Creating Web Opt-in Form for 2 (or more) ESPs. Possible?

Discussion in 'Mail Chat' started by bumpies, Nov 28, 2011.

  1. bumpies

    bumpies VIP

    Joined:
    Apr 18, 2011
    Messages:
    122
    Likes Received:
    1
    Trophy Points:
    18
    Hey

    I want to create an optin form that registers someone to both a getresponse and aweber list (or any combination of major ESPs - 2 or more).

    Anyone have a script that can do this?

    :439:
     
  2. flamon18

    flamon18 Member

    Joined:
    Jan 10, 2012
    Messages:
    41
    Likes Received:
    2
    Trophy Points:
    8
    Location:
    NYC
    This is a great idea, anyone come up with a solution for this?
     
  3. afc_pmc

    afc_pmc New Member

    Joined:
    May 30, 2011
    Messages:
    192
    Likes Received:
    17
    Trophy Points:
    0
    I don't have a script already written that does this, but if this helps answer your question, yes you can do this with any ESP that has an api, normally your form submits to your own script which processes the information, and then makes the api call to the ESP. So for your solution, instead of just making 1 api call, you would make 2 (or could send to as many as you had apis for) calls when it processes the info.

    I see the original question was asked a while ago, but to answer it, yes its possible to add to as many ESPs as you want in 1 form submit, as long as they have some kind of api to add records to your accounts with them.
     
  4. nickphx

    nickphx VIP

    Joined:
    Apr 2, 2011
    Messages:
    1,294
    Likes Received:
    430
    Trophy Points:
    83
    Gender:
    Male
    Location:
    phoenix.
    You could do it with javascript. You would have 1 main form that the end user would fill out.. Then using javascript, read the contents of those fields and javascript to generate 'hidden' forms with that data and submit it.. By doing it with javascript the form post will come from the user's ip address instead of using a server side script.. I've put together something similar before.
     
  5. nickphx

    nickphx VIP

    Joined:
    Apr 2, 2011
    Messages:
    1,294
    Likes Received:
    430
    Trophy Points:
    83
    Gender:
    Male
    Location:
    phoenix.
    Here's a rough POC... Obviously you will need to add whatever form fields are needed and stuff.

    ahh stupid forum won't let me post 'html' / 'javascript' ..

    http://pastie.org/private/egjfyv2qhhh10ddr4zsbg

    This script will create an iframe , form, and form fields and post to the URLs provided..
     
  6. debase

    debase VIP

    Joined:
    Mar 31, 2011
    Messages:
    74
    Likes Received:
    1
    Trophy Points:
    0
    We have done this in the past using php and curl on the thank you page. Just have the first ESP pass the variables to the thank you page, and then open up a connection to the second ESP, submit and then load your thank you page.
     

Share This Page