PDA

View Full Version : WP Subscribers + Aweber: problem with "Stay on current page" Tank-you pages



nico_pn
04-03-2012, 03:13 PM
Hi,

If you're using Aweber and want to be redirected to the Current page as a thank-you page, You will encounter some troubles.

Instead of being redirected, your subscribers will discover an error page like this one :

"An Error Occurred
The form you used to subscribe is not set up properly.

Please push the "Back" button and notify the website owner."

The problem is due to some javascript code on the aweber forms.

To solve it, you have to change 2 things on WP Subscribers :

First: in the hidden field on "Setup Opt-in Code", replace :
<input type="hidden" name="redirect" value="" />
By this line from your Aweber form code :
<input type="hidden" name="redirect" value="" id="redirect_1082xxxxxx" />

Then: add this code to your Opt-in Popup (in the field "Custom jQuery"):
jQuery('input[name="redirect"]').val(document.location);

Thanks to JC who find this nice solution ;-)

Admin
04-16-2012, 09:50 AM
Is is possible to post similar solution for MailChimp ?

is it possible to use Mailchimp without to be redirected to their page for confirmation ?

nico_pn
06-20-2012, 02:09 PM
There is no problem with mailchimp because the redirection is made by Mailchimp itself and not in the form.