If you are planning to integrate Clickbank (See how to get started selling with Clickbank here) with AWeber (what is AWeber here) the first thing you should look for is AWeber recommended way of doing it. AWeber blog tells you how to integrate AWeber with Clickbank but the official way of AWeber comes with lot of inherent issues.
Option 1 from the above link i.e. Integrate with Clickbank Using the Email Parser – It has the disadvantage that Clickbank only permits one email address to be specified as notification in each account. This means if you use AWeber email address to get the subscriber’s added into the list then it can result in you not receiving other important emails from Clickbank. According to me this is not at all an option.
Option 2 from the above link i.e. Integrate with Clickbank Using an Opt-In Form – It has an inherent disadvantage that user will need to enter his name and email again into the AWeber forms. I don’t want my user to be doing that un-necessarily.
So I have come up with a new way of integrating AWeber with Clickbank without missing an email from Clickbank and also making sure user don’t need to enter the same details again and again.
This integration includes very simple programming but if you have any issues you can post in comments and I will be more than happy to help or else you can even hire me at Elance to get this done for you.
The first step is setting your intermediate thank you page in Clickbank. Enter any URL. This is not your final thanks page but an intermediate thanks page which will redirect to the final thank you page once we process the data and subscribe user to AWeber list.
Once we have our Clickbank product setup done we will move to AWeber interface to generate a web form.
There are few things to consider when generating an AWeber web form.
- Make sure you generate an inline AWeber web form.
- In step 2 of your AWeber Web form Generator, enter the final thanks page URL. This is the page which complies with the Clickbank’s thanks page requirement (See Clickbank’s thanks page requirements here). See my settings in AWeber
- Once you save your web form and grab the Raw HTML code for your form. Un-check Include beautiful form styles before grabbing the HTML code for your form to minimize the HTML code.
Grab User Details
Once we have the inline AWeber html code for web form we create the thanks.php file and grab the user details that Clickbank pass to our thanks page in PHP.
Edit the form HTML to add form name. Add the following to your form HTML
If you have AWeber to submit form in a new window you will also find
Remove it and so final form HTML line should look like this.
<form method="post" name="aweberfrm" id="aweberfrm" action="http://www.aweber.com/scripts/addlead.pl" >
The next thing you should be doing is add the name and email field automatically you received from Clickbank. So in the name and email field we add the values from the PHP variables.
<input type="text" name="name" value="<?php echo $cb_cname ?>" /> <input type="text" name="email" value="<?php echo $cb_cemail ?>" />
Remove the submit button from the HTML code because we will submit the form automatically so user don’t need to be doing anything. I.e. Remove the line that contains input type=”submit”. Submit button’s final HTML code can have slight variations but for me it was
<input name="submit" type="submit" value="Submit" tabindex="502" />
It automatically submits the HTML form data to AWeber by grabbing the Clickbank data and then AWeber will redirect user to your thank you page.
The sample I have shown here is using PHP but this can be easily extended to ASP or JSP.
I know this involves a bit of programming. If you have any issues post your queries in comments and I will be more than happy to help. If you are not sure you can get all this done by me.
Readers who read this article also read …