3rd Party List Integration

So you have an email list on a 3rd party autoresponder service – like Aweber or GetResponse.

And you want everyone who joins your DAP-powered membership site, to also be automatically added to this 3rd party list, so that you can use the 3rd party service to send out autoresponder emails (instead of, or in conjunction with, DAP).

Now if your 3rd party autoresponder service provide a “subscribable” email address (like, yourlist@autoresponder.com), then all you have to do to add all DAP members to this list, is to put the above email address (yourlist@autoresponder.com) into the “3rd Party Email Notification” field on the “Products” page in DAP.

For example, click here to see how DAP can automatically add members to your Aweber list.

But some 3rd party autoresponder services – like GetResponse, say – don’t allow you to use this subscribable email address (like, yourlist@autoresponder.com) to automate the adding of new members to the list. And they also don’t have an API, that scripts like DAP can use to seamlessly add members directly on the backend.

This is where this feature of DAP comes in handy.

In the documentation below, when we say 3rdPartyForm, we are referring to the sign-up form HTML provided by your 3rd party autoresponder service (like GetResponse) that will allow someone to enter their name and email id in the form and join the list. And when we say autoresponder, we are referring to your 3rd party list service.

At a high level, here’s how this integration works…

1) You first publish this 3rdPartyForm (that has your autoresponder id and other details) to a special php page within DAP (explained below)

2) Buyer buys your product from your web site’s sales page, DAP automatically creates an account, and sends buyer the “Activation” (double-optin) email. (Note: You must set your DAP Product to be double-optin in order for this to work).

3) Buyer gets double-optin email from DAP, that says something to the effect of: “You must click on the activation link below activate your membership account and get access to the product you have just purchased”. (Note: You can customize the double-optin email text on the “Products” page).

4) When buyer clicks on the DAP “Activation” link, she is first presented with your 3rdPartyForm. This form will be already pre-filled with her name and email address, and also disabled (name and email cannot be edited)

5) Upon clicking the submit button on this 3rdPartyForm, she is first added to your autoresponder, and then her DAP account is activated.

Now here’s how you set up the 3rdPartyForm…

1. Download this zip file, and unzip the php file inside – it’s called 3rdPartyForm.php. This is just a sample file. This file will have a different name by the time you use it.

2. Open this file with a text editor. Paste your 3rdPartyForm HTML that you have gotten from your autoresponder service.

3. Your 3rdPartyForm will have a field to redirect the user to a “success” page after the user has been successfully added to the 3rd party list. It will be a field named something like “redirect”.

This is how the form field looks in Aweber’s signup forms:

<input type=”hidden” name=”redirect” value=”<?php echo Dap_Config::get(“SITE_URL_DAP”); ?>/dap/activate.php?c=<?php echo $c; ?>&p=<?php echo $p; ?>“>

Now your autoresponder service might call it “redirect”, “success_url” or something similar. Just make sure whatever the field name is, the “value” of this field is exactly the same as shown below:

Do not change the special PHP code in the value field. Only change the name of the field (redirect, in the above example) if required.

3. Now go to the DAP product whose members you want to add to your autoresponder. From the Product page, get the “Product Id” field (shown right above “Product Name”). It is a number – like “1″ or “2″ or “10″. Make a note of this Product Id.

4. Now rename the 3rdPartyForm.php to <ProductId>.php . So if the Product Id from Step 3 above was 1, then name this file as 1.php. If it was 10, then name the file as 10.php.

5. Upload this 1.php (or 10.php) file directly to the folder “/dap/inc/“.

That’s it!

Just make sure the Product for which you are doing this, has double-optin enabled – which means put some text in the Double-Optin Subject and Double-Optin Body of that product.

Try adding a new user to that product, and you should see the 3rdPartyForm being presented first when the user clicks on the activation link. And only upon the submitting of this form, the user is activated in DAP.

redirect

3 comments ↓

#1 Robb Novak on 02.22.10 at 6:47 pm

Ravi,
while i see this as a technical workaround at this time, i believe its asking too much of the end user which we should protect from technology whenever possible. If i understand this correctly, they will now be getting a redirect and double opt-in for any entrance or promotion in the system. Squeeze page to double optin is fine…but once they start purchasing products…i want this to be as smooth as possible with as few steps as possible. I think this is going the opposite direction of the 1click upsell using Paypal I and so many others Im sure are looking forward to.

GetResponse does actually have an API that I think is worth looking at for a better and more stable solution. Here is the url for your convenience.

http://dev.getresponse.com/

In the meantime, Im not comfortable using this workaround for Get Response when a better solution is available.

Regards,
Robb Novak
http://forsalebyownernation.com

#2 Ravi Jayagopal on 02.25.10 at 3:15 am

Robb,

It is definitely a temporary workaround until we get some of the new API features into DAP, and that will help us easily extend DAP to integrate with any 3rd party system.

Once some of the new “developer” features come out, developing 3rd party plugins for DAP will be a breeze, and we will start churning out plugins pretty quickly after that.

We could probably do a “one off” coding just for GR, but in the long run, it makes more sense to code the framework in such a way that we don’t need to do one-off coding for any service, but instead make DAP easily and infinitely extensible (think of what the WP “plugin” model did for W :-)

Appreciate your feedback.

Thanks!

- Ravi Jayagopal

#3 Peretz on 03.26.10 at 9:52 pm

Hi Ravi,

I like the new look of 3.7. Thanks.
This 3rd party integration piece seems fine for now. But what I really want is to be able to send out HTML email/autoresponsers in DAP. Is that possible?

Leave a Comment