Aweber form that does not redirect?

35 replies
Can anyone tell me how to modify an aweber form so that it does not automatically redirect on submit?
#aweber #form #redirect
  • Profile picture of the author zapseo
    Originally Posted by Josh Anderson View Post

    Can anyone tell me how to modify an aweber form so that it does not automatically redirect on submit?
    don't think you can do that, Josh.

    However, you can just put the "return" addresses to point back to the source page.

    You also have the choice of choosing whether to open the "redirected" page in a new window (tab) or not.

    Does that help?
    {{ DiscussionBoard.errors[11693].message }}
    • Profile picture of the author Josh Anderson
      Originally Posted by zapseo View Post

      don't think you can do that, Josh.

      However, you can just put the "return" addresses to point back to the source page.

      You also have the choice of choosing whether to open the "redirected" page in a new window (tab) or not.

      Does that help?
      Nope.

      I need no redirect at all.

      Anyone?
      Signature
      {{ DiscussionBoard.errors[11716].message }}
      • Profile picture of the author zapseo
        Why?

        (Okay, just putting in 4 characters is too short of a message. So I'm typing this. Which you can ignore, LOL. Or get a chuckle. Your choice.
        {{ DiscussionBoard.errors[11744].message }}
        • Profile picture of the author Brian Edmondson
          Josh,

          You can try putting the Aweber form in an iframe, then have it redirect to the same form, that way it looks as if nothing has happened...

          That solves the problem from an image standpoint, but I'm not sure if you're looking for that or something from a technical standpoint (as in the form doesn't redirect period, not that it didn't appear to do nothing from the user)....

          I hope that made sense... it's 12:10AM :-)

          Brian
          {{ DiscussionBoard.errors[11752].message }}
          • Profile picture of the author mr2monster
            Originally Posted by Brian Edmondson View Post

            Josh,

            You can try putting the Aweber form in an iframe, then have it redirect to the same form, that way it looks as if nothing has happened...

            That solves the problem from an image standpoint, but I'm not sure if you're looking for that or something from a technical standpoint (as in the form doesn't redirect period, not that it didn't appear to do nothing from the user)....

            I hope that made sense... it's 12:10AM :-)

            Brian
            Haha.. beat me to it by about 10 seconds.
            {{ DiscussionBoard.errors[11754].message }}
          • Profile picture of the author Peter Yoon
            Originally Posted by Brian Edmondson View Post

            You can try putting the Aweber form in an iframe, then have it redirect to the same form, that way it looks as if nothing has happened...
            Brian,
            That's a great tips that I haven't thought before. Thanks!

            Peter
            {{ DiscussionBoard.errors[11769].message }}
            • Profile picture of the author Josh Anderson
              "Why?

              (Okay, just putting in 4 characters is too short of a message. So I'm typing this. Which you can ignore, LOL. Or get a chuckle. Your choice. "
              I am working on my new video player which can trigger unblockable popups when a video finishes playing and I am testing various strategies for closing a pop containing an opt-in form and one is the onsubmit. For aweber it would be great to use no redirect but have the onsubmit also close the dhtml layer.

              I very specifically need to be able to create an AWEBER form that does not redirect at all.

              Thanks for the suggestions but they are not the answers I am looking for.. I already had those answers ;-)

              So again can anyone tell me how to modify an AWEBER optin form so that it does not redirect at all?
              Signature
              {{ DiscussionBoard.errors[11805].message }}
              • Profile picture of the author Raja Sekharan
                Josh,

                It is possible to create an Aweber form that doesn't redirect using AJAX. The button should trigger an function to post the data to Aweber's server. This won't unload the page. The user won't notice that anything happened at all.

                Depending on what you want, you can have the login form disappear and a message saying "Your Free Report Is On Its Way. Please check your email.". Let me know if you need help with this.

                Raja Sekharan
                {{ DiscussionBoard.errors[11821].message }}
                • Profile picture of the author Josh Anderson
                  That is definitely what I am looking for.

                  Is there any simple out of the box copy and paste or maybe open source solution for this?

                  What would be great is if there were a simple ajax integration that could be applied in this way to any form onsubmit including an aweber form.

                  Originally Posted by Raja Sekharan View Post

                  Josh,

                  It is possible to create an Aweber form that doesn't redirect using AJAX. The button should trigger an function to post the data to Aweber's server. This won't unload the page. The user won't notice that anything happened at all.

                  Depending on what you want, you can have the login form disappear and a message saying "Your Free Report Is On Its Way. Please check your email.". Let me know if you need help with this.

                  Raja Sekharan
                  Signature
                  {{ DiscussionBoard.errors[11823].message }}
                  • Profile picture of the author Felu
                    Josh, Be careful with using AJAX.

                    Do make sure that the page redirects or something in case the user has JavaScript disabled, else you'll end up loosing a prospect!

                    Actually, I'd prefer sending the data to a php page on my server using AJAX which then sends over the data to Aweber. And then that php script responds back to your AJAX page with an appropriate success/error message.

                    Also, do make sure that you ask Aweber whether you're allowed to do so or not.

                    Good luck!
                    Felu
                    {{ DiscussionBoard.errors[11861].message }}
                    • Profile picture of the author zapseo
                      Originally Posted by Felu View Post

                      Josh, Be careful with using AJAX.

                      Do make sure that the page redirects or something in case the user has JavaScript disabled, else you'll end up loosing a prospect!

                      Actually, I'd prefer sending the data to a php page on my server using AJAX which then sends over the data to Aweber. And then that php script responds back to your AJAX page with an appropriate success/error message.

                      Also, do make sure that you ask Aweber whether you're allowed to do so or not.

                      Good luck!
                      Felu
                      Felu,

                      Just to re-iterate what I said in my last post: if you do that, aweber will not be getting the ip address of the submitter. And it's not okay for you to get the ip address, populate the aweber form (which has no place for ip address anyway), and send it to them.
                      {{ DiscussionBoard.errors[11869].message }}
                      • Profile picture of the author Josh Anderson
                        Judy is right.

                        Having worked extensively developing three services that have email parsers that aweber built so that our publisher networks can use them I know the issue all to well.

                        Basically any third party scripting is not allowed and if the post comes from your server's ip address aweber will bounce it.

                        It must come from the individual subscriber unless you are using one of the accepted methods using the email parsers listed in your aweber account.

                        So is there no simple way to add a dhtml close to Aweber's form?

                        If there is then I could have the onsubmit close the dhtml, I could use the aweber redirect open in new window option and then use Michael's auto close script opttion.

                        I am not a coder but following Michael's example the form would look like this:

                        <form method="post" action="http://www.aweber.com/scripts/addlead.pl" onsubmit="closeDhtml() target="_new">

                        At first glance can any of you code smart people tell me if that would work?

                        If so can I pretty much add onsubmit="closeDhtml() to any form?
                        Signature
                        {{ DiscussionBoard.errors[11887].message }}
                        • Profile picture of the author Raja Sekharan
                          Josh,

                          The link I pointed to should solve your problem. It completely AJAXifies your existing form. If javascript is disabled it will function like a normal submit button.

                          Raja Sekharan
                          {{ DiscussionBoard.errors[11895].message }}
                        • Profile picture of the author zapseo
                          Josh,

                          I'm not a dhtml/ajax/js expert but as an owner of Virtual Smart Agent, you might check out what Dave Guindon has done with that software.

                          Rather than just having the VSA show up on page exit, he provides choices as to when the VSA shows up.

                          (Hang on, I'm getting to the point, LOL.)

                          Depending upon the option used, the VSA may show up when you don't want it to. In order to prevent that, he uses calls to js routines. One of those calls occurs in the forms. So something along those lines might be what you are looking for. (It looks not unlike what you posted, but I couldn't tell you if what you posted works or not. The similarity to the stuff Dave does just made me think looking at what he's doing might be worth a look.)

                          Live JoyFully!

                          Judy Kettenhofen, Profit Strategist/Copywriter
                          NextDay Copy

                          PS -- hey, let us know what you end up with! (Please )
                          {{ DiscussionBoard.errors[11909].message }}
                      • Profile picture of the author Felu
                        Originally Posted by zapseo View Post

                        Felu,

                        Just to re-iterate what I said in my last post: if you do that, aweber will not be getting the ip address of the submitter. And it's not okay for you to get the ip address, populate the aweber form (which has no place for ip address anyway), and send it to them.
                        Judy,

                        Can't you use $_SERVER['REMOTE_ADDR'];(php code) in the page with AJAX as a part of the form. The IP address then goes to the php script on your server, and then is passed on to Aweber? I don't think so there should be any problems with it...

                        Felu
                        {{ DiscussionBoard.errors[11899].message }}
                        • Profile picture of the author Josh Anderson
                          Thanks Raja.

                          "If javascript is disabled it will function like a normal submit button."
                          No one living their web life like that is my target market so I don't care about those who have javascript disabled... and if they do they will know enough to enable it when they visit my site ;-)

                          I will check out the jquery script. I use jquery for other development but I would like to avoid having to load it and possibly use a modified version of Michael's suggestion if what I wrote below will work...

                          Can anyone tell me if this will work:

                          <form method="post" action="http://www.aweber.com/scripts/addlead.pl" onsubmit="closeDhtml() target="_new">

                          All I am really trying to figure out there is whether the onsubmit added to the form using a post method will work?
                          Signature
                          {{ DiscussionBoard.errors[11906].message }}
                        • Profile picture of the author GarrieWilson
                          Two methods, both keep the visitor IP.

                          1. Set the target to a 0,0 iframe and have the form close on click. Will require advanced JS/DHTML coding.

                          Edit: Easier than I thought. Post to iframe

                          2. Use two forms.

                          Form A is on the player and it submits the info to a form on hidden layer that submits to Aweber.

                          Garrie
                          Signature
                          Screw You, NameCheap!
                          $1 Off NameSilo Domain Coupons:

                          SAVEABUCKDOMAINS & DOLLARDOMAINSAVINGS
                          {{ DiscussionBoard.errors[11907].message }}
                          • Profile picture of the author Jose Delgado
                            Hey Josh, i have no idea how to answer your question, i just wanted to tell you,

                            Your product looks AWESOME!



                            Good luck with it.
                            {{ DiscussionBoard.errors[11913].message }}
                          • Profile picture of the author zapseo
                            Originally Posted by GarrieWilson View Post

                            Two methods, both keep the visitor IP.

                            1. Set the target to a 0,0 iframe and have the form close on click. Will require advanced JS/DHTML coding.

                            2. Use two forms.

                            Form A is on the player and it submits the info to a form on hidden layer that submits to Aweber.

                            Garrie
                            Garrie,
                            That sounds like those could work.
                            I think the iframe stuff was something Josh looked at, but I could be wrong.
                            Also, the problem isn't JUST that the visitor ip is kept, but kept in a "aweber"-approved way.
                            (Which I offer simply as a cautionary note, knowing how much hassle our Launch Train programmer went through...)
                            /end Garrie-specific comment

                            Also, I believe the jquery form code is the same stuff that's used in the phantom optin program, which I be (Which is STILL a worthwhile program for anyone who doesn't want to be elbow deep in code. Looks like Brian & Rach did a real nice job on that one.)
                            {{ DiscussionBoard.errors[11916].message }}
                            • Profile picture of the author GarrieWilson
                              Originally Posted by zapseo View Post

                              That sounds like those could work.
                              Oh, they do work and if done correctly, they should be OK with Aweber because they both use the Aweber form.
                              Signature
                              Screw You, NameCheap!
                              $1 Off NameSilo Domain Coupons:

                              SAVEABUCKDOMAINS & DOLLARDOMAINSAVINGS
                              {{ DiscussionBoard.errors[11927].message }}
                              • Profile picture of the author zapseo
                                Originally Posted by GarrieWilson View Post

                                Oh, they do work and if done correctly, they should be OK with Aweber because they both use the Aweber form.
                                Sorry, Garrie -- miscommunication.
                                When I said "could work", I meant *completely* -- as in, not only satisfying what Josh wants to do (which is for him to say) but also complies with aweber.

                                I can see how something could use an aweber form, however, and still not be okay with aweber. But, again -- when speaking about technical subjects, terms can colored with a lot of nuance -- such as what is meant by "use an aweber form". I have confidence that, in the way you mean it, you are correct. However, for someone reading to use their understanding of "use an aweber form" as the sole criteria for acceptability could be misleading.
                                /end Garrie Comment

                                BTW -- I wanted to point out that all this discussion about people having javascript or not is a little bit silly. MOST people use aweber by slapping in a line of javascript onto their page, not by using the html form (unless they are using customized graphics.)
                                {{ DiscussionBoard.errors[11948].message }}
                        • Profile picture of the author zapseo
                          Felu

                          (and I would have copied your post, but I keep upsetting the preg_replace call in the forum software...)

                          I think that falls within this snippet from the aweber knowledgebase that Raja posted:

                          >>> Submitting prospects from a server side request is not permitted by aweber <<<

                          It's not just that the ip address gets to aweber...it has to get to them in an aweber approved way.

                          A good rule of thumb would be to ask yourself how easy would it be for someone to fake the ip addresses sent to aweber.

                          But I could be wrong, or an unprecedented first time (tongue-in-cheek)
                          {{ DiscussionBoard.errors[11940].message }}
                          • Profile picture of the author Felu
                            Originally Posted by zapseo View Post

                            It's not just that the ip address gets to aweber...it has to get to them in an aweber approved way.

                            A good rule of thumb would be to ask yourself how easy would it be for someone to fake the ip addresses sent to aweber.
                            Probably I don't understand what you're really trying to say, But I don't really see why would anyone want to fake the IP address. I mean, how could one benefit from it?

                            Felu
                            {{ DiscussionBoard.errors[11950].message }}
                            • Profile picture of the author zapseo
                              that's an easy one, Felu.

                              Spammers.

                              As in, someone who subscribes to aweber and wants to fill their aweber account with illegitimate email addresses.
                              {{ DiscussionBoard.errors[11954].message }}
                              • Profile picture of the author Felu
                                Originally Posted by zapseo View Post

                                that's an easy one, Felu.

                                Spammers.

                                As in, someone who subscribes to aweber and wants to fill their aweber account with illegitimate email addresses.
                                And whats the point of having illegitimate email addresses? You're just adding unnecessary emails to your account, and aweber charges you extra depending upon the number of prospects you have. Its just your own loss, isn't it?
                                {{ DiscussionBoard.errors[11961].message }}
                                • Profile picture of the author Michael D Price
                                  [DELETED]
                                  {{ DiscussionBoard.errors[11973].message }}
                                • Profile picture of the author zapseo
                                  Originally Posted by Felu View Post

                                  And whats the point of having illegitimate email addresses? You're just adding unnecessary emails to your account, and aweber charges you extra depending upon the number of prospects you have. Its just your own loss, isn't it?

                                  Felu --
                                  Let's say I want to put you on my email list so I can send you email.
                                  But, gee, I'll make it easy for you, you don't even have to sign up!
                                  Why?
                                  Because I already added your email address and faked an ip address.

                                  The email addresses aren't invalid, however, by can spam, they rightly would be considered illegit because YOU didn't actually sign up. But if asked, I produce an email address, a name, a time you signed up and an email address.
                                  Why do you think aweber wants an ip address in the first place?

                                  Automate the process -- and, "whamo" you are sending out thousands of emails to people who really never signed up for your email list, but it sure looks like it.

                                  Make sense now?
                                  {{ DiscussionBoard.errors[12006].message }}
                                  • Profile picture of the author Felu
                                    Originally Posted by zapseo View Post

                                    Felu --
                                    Let's say I want to put you on my email list so I can send you email.
                                    But, gee, I'll make it easy for you, you don't even have to sign up!
                                    Why?
                                    Because I already added your email address and faked an ip address.

                                    The email addresses aren't invalid, however, by can spam, they rightly would be considered illegit because YOU didn't actually sign up. But if asked, I produce an email address, a name, a time you signed up and an email address.
                                    Why do you think aweber wants an ip address in the first place?

                                    Automate the process -- and, "whamo" you are sending out thousands of emails to people who really never signed up for your email list, but it sure looks like it.

                                    Make sense now?
                                    Yup, makes sense now !

                                    But one could always add emails manually through a proxy and thus faking the IP? Add each emails through a different proxy...

                                    And there always is the unsubscribe link, if you're added to a list without you knowing...

                                    Meh, I could just go on giving arguments. We better not fight on this issue :p.

                                    Felu
                                    {{ DiscussionBoard.errors[12054].message }}
                              • Profile picture of the author zerofill
                                Originally Posted by zapseo View Post

                                that's an easy one, Felu.

                                Spammers.

                                As in, someone who subscribes to aweber and wants to fill their aweber account with illegitimate email addresses.
                                Judy...you mean like ******* Emails? Those poor *******s....my wife calls me a ******* everyday...I feel just like those poor little emails...
                                Signature
                                Serp Shaker
                                The IM World Will Be Shaken to the Core!
                                Join my list at: IMCool.Biz
                                New Podcast --> podcast.imcool.biz
                                {{ DiscussionBoard.errors[11968].message }}
                    • Profile picture of the author Raja Sekharan
                      Submitting prospects from a server side request is not permitted by aweber:

                      Add / Remove :: AWeber Knowledge Base

                      Josh,

                      It is not worth worrying about those that disable javascript. Even then, there is a way to accept submissions from them with:

                      <input type="submit" onclick="return false;submitIt(this.Parent);" />

                      Those that have javascript will be able to submit using AJAX and those who don't will see the page unload and reload. I

                      I was looking around and I found this:

                      jQuery Form Plugin

                      That should do what you want. Let me know if you need help with this.

                      Raja Sekharan
                      {{ DiscussionBoard.errors[11881].message }}
                • Profile picture of the author Michael D Price
                  [DELETED]
                  {{ DiscussionBoard.errors[11842].message }}
                  • Profile picture of the author Josh Anderson
                    Yeah, that is a pretty good close second.

                    I actually was mulling over a similar strategy as an alternative if this ajax or some other unknown idea does not work out.

                    Definitely an option though. Thanks.

                    Originally Posted by Michael D Price View Post

                    Josh, be careful when messing with aweber.

                    Here is what I got for you.

                    In your "dhtml", you place the option box, and set it to post to a new window, then you setup your aweber thank you page.

                    On your aweber thankyou page have it run a javascript that will automatically close the new window on load.

                    That is the best whitehat way to do it.

                    This is what you do.

                    <form action="aweber ..." target="blank" onsubmit="closeDhtml()">
                    blah...
                    </form>
                    then on your aweber thankyou page, just use this...
                    <head>
                    <script>
                    document.window.close();
                    </script>

                    Good Enough?

                    Let me know if you need help with this
                    Signature
                    {{ DiscussionBoard.errors[11857].message }}
                  • Profile picture of the author zapseo
                    Excellent, Michael.
                    The code for what I was going to describe but having a thankyou page to me was what I was including in the "redirection" that Josh doesn't want.)

                    The problem with have a function post the data to the aweber server is that the ip address sent to aweber now will become your server ip address (to the best of my knowledge.)

                    That's against aweber's TOS.

                    When I worked with The Launch Train, considerable effort was expended doing aweber (ahem) "integration"* because aweber wants to get that ip address at the lowest level (most unspoofable) layer of software possible. Down in the socket layers, if I recall correctly.

                    I was actually reading some old posts today where someone was describing how aweber stopped accepting email addresses because the ip address over multiple submissions was the same (since the way it was configured, it was the server ip address that was getting sent.)

                    Live JoyFully!

                    Judy Kettenhofen, Profit Strategist/Copywriter
                    NextDay Copy

                    *integration has a very specific meaning to aweber, and they have a very specific list of software that aweber considers to "integrate" with aweber.
                    {{ DiscussionBoard.errors[11863].message }}
  • Profile picture of the author Rachel Rofe
    [DELETED]
    {{ DiscussionBoard.errors[11763].message }}
  • Profile picture of the author Joe721
    If you want to avoid redirect, which aw insists on, then, with the form in the dhtml layer, just allow the redirect to go ahead and close the layer on submit. Do not use any target="_blank" or anything, and the form and its return will remain inside but hidden.

    In any case the redirect will also happen on failure, but in this case to aw site, not your own redirect. There is no avoiding it.

    Going further, instead of just closing the layer immediately on submit, the redirect url could be detected in the background, and if it is aw you know there is a failure, this could then cause the appropriate content in the layer to appear to show the form again and mention there was a failure.

    On success though, your own thankyou page could be shown in the layer. All this is already done in my own submit form Advanced DHTML Popup Newsletter

    There is no need to open and then close a new page, to use ajax, hidden iframes or any of this.
    Signature
    OptinPlayer: www.optinplayer.com
    The most Interactive web video player with
    events, a
    nalytics, security & much more
    Advanced DHTML Popup www.dpopup.com
    WordPress Popup Plugin www.wordpresspopupplugin.com
    {{ DiscussionBoard.errors[12038].message }}
    • Profile picture of the author Michael D Price
      [DELETED]
      {{ DiscussionBoard.errors[12051].message }}
      • Profile picture of the author Joe721
        Originally Posted by Michael D Price View Post

        No, but your thing does require frames, whether hidden or not.
        True, the content of the layer is contained in an iframe, and all redirection/change of content happens inside it.
        Signature
        OptinPlayer: www.optinplayer.com
        The most Interactive web video player with
        events, a
        nalytics, security & much more
        Advanced DHTML Popup www.dpopup.com
        WordPress Popup Plugin www.wordpresspopupplugin.com
        {{ DiscussionBoard.errors[12060].message }}
        • Profile picture of the author vic_msn
          sorry for the bump
          I remember having a script that does this.
          The script just shows a optin box in the squeeze page
          and when a visitors enters his name/email, it displays the salesletter
          without refreshing or reloading, it also personalized the letter.
          but can't remember the name though.
          I think the script name starts with 'P'
          {{ DiscussionBoard.errors[219083].message }}

Trending Topics