+ Reply to Thread
Results 1 to 9 of 9

Thread: tracking users who donate

  1. #1
    sifaka is offline x10Hosting Member sifaka is an unknown quantity at this point
    Join Date
    Dec 2007
    Posts
    44

    Talking tracking users who donate

    My boss for whom I run the website would like to know in the future, what pages a site visitor viewed before they donated using the PayPal donate button. Is there a way I can track the pages someone views before they donate? Maybe using the Logs in my cpanel?
    Thank you,
    Matt

  2. #2
    DeadBattery's Avatar
    DeadBattery is offline Community Support Team DeadBattery is a name known to allDeadBattery is a name known to all
    Join Date
    Mar 2008
    Location
    localhost
    Posts
    4,019

    Re: tracking users who donate

    You can't track where a user goes. However, you can track where a user came from.
    PayPal would have to tell you where the user came from.


  3. #3
    sifaka is offline x10Hosting Member sifaka is an unknown quantity at this point
    Join Date
    Dec 2007
    Posts
    44

    Re: tracking users who donate

    DB,
    Wait a minute. They would be coming from the page where the donate button is, of course. (What am I missing?)
    I do want to know where they came from, i.e. the pages they viewed before they donated. Can I see that?

    ---------- Post added at 04:08 PM ---------- Previous post was at 03:29 PM ----------

    Dead battery, what do you say?

  4. #4
    Zubair's Avatar
    Zubair is offline x10 Super Spammer Zubair has a reputation beyond reputeZubair has a reputation beyond reputeZubair has a reputation beyond repute
    Join Date
    Jul 2009
    Location
    Pakistan
    Posts
    8,747

    Re: tracking users who donate

    Quote Originally Posted by sifaka View Post
    DB,
    Wait a minute. They would be coming from the page where the donate button is, of course. (What am I missing?)
    I do want to know where they came from, i.e. the pages they viewed before they donated. Can I see that?
    Actually Yes, You can see which pages are browsed by users. But when someone click on Donate button, it will be redirected to paypal donate page. thats what DeadBattery was trying to explain, You can`t track that.

    ***Moved to Programming Help***
    Zubair Barkat | Level 2 Tech
    █ 888-X10-9668 - zubair[@]x10hosting.com
    x10Hosting - Giving Away Hosting Since 2004

  5. #5
    AngusThermopyle is offline x10Hosting Member AngusThermopyle is an unknown quantity at this point
    Join Date
    Nov 2009
    Posts
    84

    Re: tracking users who donate

    Quote Originally Posted by Zubair View Post
    Actually Yes, You can see which pages are browsed by users.
    Not using the logs in cPanel, since logging is turned off on free servers.

    You have to use your own tracking set up and do your own logging. PHP and cookies is the natural choice.
    Then you would have to compare the info that PayPal gives you (time, referring page, IP) and match that with your logs. You can have your PayPal button send them to a intermediate page where they would click on the 'real' button to send to PayPal. The presence of that page in your logs would indicate they were going to PayPal. The only drawback to that is that it gives the donor another chance to reconsider.

  6. #6
    sifaka is offline x10Hosting Member sifaka is an unknown quantity at this point
    Join Date
    Dec 2007
    Posts
    44

    Re: tracking users who donate

    This is on a paid site. Can I track the page views before a donate button click on a paid site?

  7. #7
    AngusThermopyle is offline x10Hosting Member AngusThermopyle is an unknown quantity at this point
    Join Date
    Nov 2009
    Posts
    84

    Re: tracking users who donate

    1. What is the format of the log files?
    2. What is the information that PayPal sends you?

    Most log files have the user IP, the time/date and the page.
    If PayPal gives you the time of the donation and his IP, you can run Perl/PHP/Python scripts to match them up.

  8. #8
    sifaka is offline x10Hosting Member sifaka is an unknown quantity at this point
    Join Date
    Dec 2007
    Posts
    44

    Re: tracking users who donate

    The Awstats lists "Hosts (top 25)", but just the IP and the number of page views, hits and bandwidth. It doesn't break it down so I an see what pageviews each IP made and when. Is it common to have that information, so detailed? Can I find it if I look deeper into the Logs?

    Thanks

  9. #9
    leafypiggy's Avatar
    leafypiggy is offline Community Advocate leafypiggy is on a distinguished road
    Join Date
    Aug 2007
    Location
    Massachusetts
    Posts
    2,228
    Easy solution:

    Track users using sessions or cookies.

    Monitor this info by storing it in a database (what pages are viewed, etc)

    Modify the paypal donate button so it first redirects to a link on your site that grabs the user's IP, SessionID/cookie, etc, and store that also in the database. Then forward them to the paypal page. You then can match the info from your "tracking cookie" to the info paypal gives you.


    Think people. It's not a difficult thing to deploy or make.
    Neil Hanlon | x10Hosting Support Representative
    Neil[at]x10hosting.com
    █ I'm always happy to help. Just ask a question in Free Hosting
    Terms of Service IRC

+ Reply to Thread

Similar Threads

  1. Click out tracking ( PHP EXAMPLE )
    By gptsven in forum Tutorials
    Replies: 4
    Last Post: 08-29-2010, 01:50 PM
  2. Tracking script
    By Wizet in forum Scripts & 3rd Party Apps
    Replies: 15
    Last Post: 10-01-2008, 09:21 AM
  3. Bug-Tracking System
    By sclewin in forum Scripts & 3rd Party Apps
    Replies: 3
    Last Post: 08-16-2008, 11:33 PM
  4. Bug / Issue Tracking
    By Richard in forum Scripts & 3rd Party Apps
    Replies: 2
    Last Post: 03-11-2005, 10:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers