Any PHP Guru's in Here?

5 replies
I was just reading an affiliate tip from Jon Van Clute
that talks about Pre-populating a landing page.

Basically, if you are sending traffic to a squeeze page
from your email list you should be able to create the
link in your email in a way that automatically enters
your subscribers name and email into the target squeeze
page.

This would be very useful for some of the newer product
launch campaigns where they pay you based on how many
leads you get for them rather then sales.

Anyone know how to do this?

I'm thinking it would be something like...

http://www.theirsqueezepage.com?name...john@smith.com

???

Or I guess if I was emailing my list in Aweber it would look
more like...

http://www.theirsqueezepage.com?name={!Firstname_Fix}&ema il={!email}

Any PHP guru's or super smart web heads know if I'm
right? Will this work like I think it does?

The way Jon does it is creates a squeeze page with some PHP
code that grabs the information from the form on his page and
then sends it over to the next page they visit by adding it to the link
#guru #php
  • Profile picture of the author milan
    Yes, it will work. I was working on this just today. lol

    You can make the squeeze page more personal, or
    if you use a checkout page you can prefill it with data.

    Another idea:
    You can use custom fields (with Aweber, Getresponse etc.)
    and store all the data from the order process.
    For example, you could store the name of the product the
    customer bought.

    And than you could use that in emails.

    "Since you bought my {product} I'm sending you a discount coupon
    for ....."
    {{ DiscussionBoard.errors[595626].message }}
  • Profile picture of the author Alp Bozkurt
    On email:
    Code:
    http://www.theirsqueezepage.com?name={!Firstname_Fix}&email={!email}
    Then on php page:

    < input id=... name="name" value="< ? php echo $_REQUEST['name']; ?>"
    < input id=... name="email" value="< ? php echo $_REQUEST['email']; ? > "

    Something like this.

    Hope this helps!
    {{ DiscussionBoard.errors[595657].message }}
  • Profile picture of the author jasonl70
    I think it would look odd to the person if they were to see their info in the url.. you could encrypt it when they fill out the opt-in form (and add it as hidden field) and post it to aweber as variable. Then use it in your links, and have your landing page decrypt it.

    or do it with a cookie.. I cookie everyone who fills out my squeeze pages - I should add this to it
    Signature

    -Jason

    {{ DiscussionBoard.errors[595664].message }}
  • Profile picture of the author JustinBrooke
    So I'm a little confused... Can I just put the info in the URL
    and it will magically pre-populate their form?

    Or does there need to be some PHP on the page that calls
    for the info in the URL I made?
    Signature

    You ROCK!,
    Justin Brooke

    FREE: spreadsheet of 182 traffic sources (no opt-in)

    {{ DiscussionBoard.errors[595924].message }}
  • Profile picture of the author milan
    No it doesn't happen automagically, you need some php code, Alp has given an example.
    PM me the page where you want this and I'll tell you exactly what you want to do.

    Jason, thanks for the idea. I was wondering how to do this, your solution is good.
    {{ DiscussionBoard.errors[595981].message }}

Trending Topics