Forum Moderators: phranque

Message Too Old, No Replies

Prefilling in Data to a Linked Web Site

         

garden37

7:44 pm on May 14, 2003 (gmt 0)

10+ Year Member



I get a commission for every customer that passes through my web site to a linked web site. I have a customer number on that linked web site which tells the site operator who I am so I can get my commission.

Some of my referrals don't remember my customer number and I want my site to be able to link and then prefill the other site's customer number for them. I do not have access to any information on the other site with regards to coding.

Here are the steps...

1. Customer A goes to web site "www.test.com".
2. Customer A clicks on link in this web site to go to site "www.test2.com".
3. Customer A is now on "www.test2.com" and the customer number field (mine) has been prefilled via a script from "www.test.com".

I am not familiar with these types of scripts so a detailed answer would be most helpful.

Thanks,

George

le_gber

7:53 pm on May 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi garden37 and Welcome to WebmasterWorld

Usually those kind of script requires you to be able to modify the other end of the link (test2.htm) with some server side scripts (asp, php). When clicked your link send some info that is requested by the other page to fill the form.

on site1.htm the link reads <a href="http://www.site2.htm?customerNumber=123456>link</a>

on site2.htm something like cN = request.customerNumber

Anybody to correct me if I'm wrong.

Hope this help

Leo

[edited by: le_gber at 7:56 pm (utc) on May 14, 2003]

BlobFisk

7:55 pm on May 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, George!

This is something that you would need to discuss with the owners of test2. You need to somehow submit (perhaps, via a form) your number to the form page on test2 which would then prefill the appropriate field. There is no way of doing this independently of test2.

This is something that would need to be implemented from test2's end, by taking the information (your number) from a form or a URL encoding and populate the auto-form.

garden37

8:07 pm on May 14, 2003 (gmt 0)

10+ Year Member



Wow, thanks for the quick reply!

If I understand correctly I would require access to the server on site "B" (i.e., the one I am linked to).

Best Regards,

George

BlobFisk

8:19 pm on May 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



More specifically, it would require some programatical changes to the form page that you mention, to facilitate the pre-filling of certain fields.