document.referer or visitor info

R

radiox

Hi,

I build a website who can monitor other website's visitors and build
some reports.

I use PHP/MySQL and Javascript.

I am stucked at the point when I have to get the page where the visitor
came from and also the keywords, if the visit was referred by a search
engine.

The second task I kinda have it done IF i will get the referrer string.

I get always 'undefined' or current website's address.

I use a .js file to get the screen resolutions, color, cpu etc.

I have tested it both online and offline.

Can anyone help?
 
R

Randy Webb

radiox said the following on 4/25/2006 8:15 AM:
Hi,

I build a website who can monitor other website's visitors and build
some reports.

I use PHP/MySQL and Javascript.

I am stucked at the point when I have to get the page where the visitor
came from and also the keywords, if the visit was referred by a search
engine.

That should be interesting to say the least. It would be impossible
without help from the search engine itself.
The second task I kinda have it done IF i will get the referrer string.

I get always 'undefined' or current website's address.

It is document.referrer, not document.referer, note the double r.
I use a .js file to get the screen resolutions, color, cpu etc.

All of which is irrelevant.
 
R

radiox

thanks for your time
i was changing many variables between php and javascript and it was my
mistake actually.

got it sorted
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top