Track http domain referer

Posted by tony noriega on Stack Overflow See other posts from Stack Overflow or by tony noriega
Published on 2009-11-02T21:28:43Z Indexed on 2010/03/09 0:36 UTC
Read the original article Hit count: 387

Filed under:
|
|
|

Can i track the http referer with javascript, and append a variable to the URL string to store into a dbase?

or could i track a cookie that the user gets?

(very layman's terms here, sorry)

if http referrer is domain.com add to url '&referer=google'

which should stay with them during their session.

OR

when a user clicks my Google adwords ad. they get a cookie with a referring domain in it. try to read that cookie, and append the same variable.

any thoughts?

© Stack Overflow or respective owner

Related posts about http

Related posts about referer