sales tracking

This is a discussion on sales tracking within the PHP General forums, part of the PHP Programming Forums category; HI there, I am trying to develop a system to track sales. When a user is redirected to my site ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-16-2007
Megamoto
 
Posts: n/a
Default sales tracking

HI there,

I am trying to develop a system to track sales. When a user is
redirected to my site from a partners' website (via a unique URL), I
would like to attach a cookie which lets me know that this user came
from site X.

When the user fills out a customer information form, I would like the
information on which site the user came from to be included in the
form. This way if we make a sale we can reward the affiliated website.

Can anyone assist me in drawing a plan of action/strategy for
achieving this or letting me know if there are codes out there which
have been writen with what i am trying to do in mind. I have limited
knowledge in PHP (i am studying for ZEN) and MYSQL.

Thanks

Duncs

Reply With Quote
  #2 (permalink)  
Old 06-16-2007
petersprc
 
Posts: n/a
Default Re: sales tracking

You could use a nifty service like shareasale.com or an affiliate
script like http://jam.jrox.com/.

You can also do this directly by checking the $_SERVER['HTTP_REFERER']
value and setting an appropriate value in the $_SESSION to tie that
user to that referrer. When you process the form, look at the value of
$_SESSION['theReferrer'] and store it with the order.

On Jun 16, 12:46 pm, Megamoto <duncanell...@breathe.com> wrote:
> HI there,
>
> I am trying to develop a system to track sales. When a user is
> redirected to my site from a partners' website (via a unique URL), I
> would like to attach a cookie which lets me know that this user came
> from site X.
>
> When the user fills out a customer information form, I would like the
> information on which site the user came from to be included in the
> form. This way if we make a sale we can reward the affiliated website.
>
> Can anyone assist me in drawing a plan of action/strategy for
> achieving this or letting me know if there are codes out there which
> have been writen with what i am trying to do in mind. I have limited
> knowledge in PHP (i am studying for ZEN) and MYSQL.
>
> Thanks
>
> Duncs



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:53 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0