I created a registration form containing some personal details on users. What I want to do is once the form submitted and passed the validation, the name and email added automatically to aweber list.
Anyone can show some 'hint' how to achieve this?
I created a registration form containing some personal details on users. What I want to do is once the form submitted and passed the validation, the name and email added automatically to aweber list.
Anyone can show some 'hint' how to achieve this?
If you want to automatically subscribe mail to aweber list, then here are some methods:
1) For example, if the list's name was BLABLA, someone could send an email to BLABLA@aweber.com to subscribe to the list. (You can change your autoresponder mail address by changing your list name at the "List Settings" page of your account.)
or
2) generate a form from your aweber account and copy & insert that script in a sample.php file. (form code is like:
But find this place:
and for example, change to (you can use various variables to add mail automatically ... )
then, after the end of the form, add this script:
that's all. When the sample.php file is opened, it will do request to entered mail (by $variab);
3) If wanted API for automatic subscription, see an example code:
source: aweber automatically subscription
You will need to call the create POST method as described in here: in here: https://labs.aweber.com/docs/reference/1.0#subscribers
You can see a code sample here: https://labs.aweber.com/docs/create-subscribers