How to pass email details from followup message to wep page?

Discussion in 'Programming' started by Phil_T, May 4, 2013.

  1. #1
    Hi,

    Does anyone know how to pass email details like the subscriber's name from email followups to a web page?

    I found the following info below but it's not working and Aweber support haven't been that helpful. Also, this isn't the solution I'm after since it deals with passing web form details to your thank you page. It would still be something I want to do though.

    https://help.aweber.com/entries/21696333-How-Do-I-Display-Subscribers-Names-or-Email-Addresses-On-My-Thank-You-Page-

    Cheers,

    Phil
     
    Phil_T, May 4, 2013 IP
  2. David Hamilton

    David Hamilton Member

    Messages:
    67
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    45
    #2
    What sort of programming language are you looking at using? Java? PHP? Asp etc. The Easiest way that I know of is using PHP and the GET/POST function, unless I am misreading your intentions.
     
    David Hamilton, May 4, 2013 IP
  3. Phil_T

    Phil_T Greenhorn

    Messages:
    42
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    6
    #3
    Hi David,

    Thanks for your reply. I'm using Optimize Press (WP theme) and have tried using the <?php if (ctype_alnum($_GET['name'])) { echo $_GET['name']; } ?> code. Tried installing exec-php plugin and that didn't work either.

    Also tried the javascript provided here https://help.aweber.com/entries/21696333-How-Do-I-Display-Subscribers-Names-or-Email-Addresses-On-My-Thank-You-Page-

    But just getting a 'page not found' message on the landing page.

    Clearly, I'm doing something wrong because it can't be that hard just to pass some simple data to a web page.

    Thanks,

    Phil
     
    Last edited: May 5, 2013
    Phil_T, May 5, 2013 IP
  4. Code Developer

    Code Developer Active Member

    Messages:
    48
    Likes Received:
    2
    Best Answers:
    2
    Trophy Points:
    58
    #4
    For this you can use PHP code too,create a new php page with the below code & link it in aweber settings once user successfully filled details it will go to this page & you can use those details easily.

    <?php
    $name = $_GET['name'];
    $email = $_GET['email'];
    echo "Hi $name,your email $email is successfully added on our subcribers list.";
    ?>
    PHP:
    Let me know if you need any help!
     
    Code Developer, May 5, 2013 IP
  5. Phil_T

    Phil_T Greenhorn

    Messages:
    42
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    6
    #5
    Hi,

    Does this work with a Wordpress theme like Optimize Press?

    I tried php code earlier and wasn't working using exec-php plugin.

    Thanks,
     
    Phil_T, May 5, 2013 IP
  6. Code Developer

    Code Developer Active Member

    Messages:
    48
    Likes Received:
    2
    Best Answers:
    2
    Trophy Points:
    58
    #6
    Hi,you can't execute PHP code directly in wordpress.You can install some plugins like "PHP_EXEC" in wordpress then create a new page in wordpress & add this php code in it.And,as I say just link it in aweber.

    Thanks!
     
    Code Developer, May 5, 2013 IP
  7. Phil_T

    Phil_T Greenhorn

    Messages:
    42
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    6
    #7
    Hi,

    Thanks for the reply.

    I tried that plugin already but maybe I didn't configure it properly. Will try it again. Or just build a php page if all else fails.

    Cheers!

    Phil
     
    Phil_T, May 5, 2013 IP
  8. Code Developer

    Code Developer Active Member

    Messages:
    48
    Likes Received:
    2
    Best Answers:
    2
    Trophy Points:
    58
    #8
    Ok,so you might not configure it correctly.You can try again or create a PHP page.:)
     
    Code Developer, May 5, 2013 IP
  9. Phil_T

    Phil_T Greenhorn

    Messages:
    42
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    6
    #9
    Ok, so I used the php code you provided but always get page not found when submitting my web form:

    http://thisismydomain.com/thank-you/?setuser=1199%20value&email=thisisatest5%40gmail.com&from=thisisatest5%40gmail.com&listname=workathometeam1&meta_adtracking=work_at_home_residents&meta_message=1&meta_required=name%2cemail&meta_split_id=&meta_tooltip=&meta_web_form_id=108209950&name=thisisatest&submit.x=163&submit.y=49

    Even when using the exec php plugin I get this, so I guess the best solution is to create php landing pages.
     
    Phil_T, May 5, 2013 IP
  10. Code Developer

    Code Developer Active Member

    Messages:
    48
    Likes Received:
    2
    Best Answers:
    2
    Trophy Points:
    58
    #10
    Ok,PHP page will be good too.But,if you can give me aweber form link & wp details then I might able to help you.
     
    Code Developer, May 5, 2013 IP
  11. Phil_T

    Phil_T Greenhorn

    Messages:
    42
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    6
    #11
    Hi, I would love to do that because this is driving me crazy. But I don't feel comfortable giving my login details.

    Building php landing pages might be the way to go. I just didn't want to go that route because I have to build a lot of them.
     
    Phil_T, May 5, 2013 IP
  12. Code Developer

    Code Developer Active Member

    Messages:
    48
    Likes Received:
    2
    Best Answers:
    2
    Trophy Points:
    58
    #12
    I understand! ;)
     
    Code Developer, May 5, 2013 IP
  13. Phil_T

    Phil_T Greenhorn

    Messages:
    42
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    6
    #13
    Thank you very much for your offer though!

    I'm going to try this as a last ditch effort before I succumb to building individual php pages.

    http://stackoverflow.com/questions/2810124/how-to-add-a-php-page-to-wordpress

    Why the heck doesn't wordpress have a php function? I'm sure there is a huge need for it.
     
    Phil_T, May 5, 2013 IP
  14. Code Developer

    Code Developer Active Member

    Messages:
    48
    Likes Received:
    2
    Best Answers:
    2
    Trophy Points:
    58
    #14
    Yeah,that can be easy too.:cool:
     
    Code Developer, May 5, 2013 IP
  15. David Hamilton

    David Hamilton Member

    Messages:
    67
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    45
    #15
    If you have FTP access to your server, you can quite easily add any php you want - if you do not however, then you are limited by wordpress's limitations
     
    David Hamilton, May 5, 2013 IP