Tracking Paypal buy button clicks?

Discussion in 'PHP' started by Game Producer, Aug 9, 2007.

  1. #1
    Hi people. I have a small problem: I'd like to track how many clicks Paypal "buy now" button gets (compared to how many lead to sales). I have googled a lot material from curl to 301 redirect but didn't get stuff working properly.

    Perhaps somebody would help me out with this problem?

    Basically the process would go as follows:
    - potential customer clicks a button that has all the post variables that paypal requires
    - the form is sent to "track.php" which then would store the click to a database
    - then track.php would forward the user to the real paypal purchase page.

    But how can I do this so that the redirect keeps all the POST variables?

    Thanks in advance.

    P.S. In case you happen to know some good click tracking software (should cost less than $100) - let me know.
     
    Game Producer, Aug 9, 2007 IP
  2. Kain

    Kain Peon

    Messages:
    58
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It's not the exact solution you are looking for but how I get around it is to set up a form that the visitor fills in before making a purchase.

    Once the form is filled in I get a copy of it via email, the visitor is then redirected to a payment page with the paypal button pre-populated with the values in the form as hidden fields so they do not need to fill out the form again once they click the Buy Now Button.

    That way you get the clients full details so you can follow up if they do not complete the sale
     
    Kain, Aug 9, 2007 IP
  3. Game Producer

    Game Producer Well-Known Member

    Messages:
    1,996
    Likes Received:
    158
    Best Answers:
    0
    Trophy Points:
    160
    #3
    Thanks for the ideas, but unfortunately I cannot use this.
     
    Game Producer, Aug 9, 2007 IP