ok I am trying to track visitors to our website. We use a link at the bottom of the page to cature the information:
img src="http://xxxxxxx.com/w.cfm?l=63&r=#CGI.HTTP_REFERER#" border="0" width="0" height="0"
Here is the code that process it:
Code:
<cfquery name="insertWebpageOpenInfo" datasource="clicktrackSystem">
INSERT INTO Clicks (linkID, ipAddy, referer, agent)
VALUES (<cfqueryPARAM value = "#url.l#" CFSQLType = 'CF_SQL_INTEGER'>, "#CGI.REMOTE_ADDR#", <cfqueryPARAM value = "#url.r#" CFSQLType = 'CF_SQL_VARCHAR'>, "#CGI.HTTP_USER_AGENT#")
</cfquery>
Everything inserts fine, but when I google our site, or yahoo, or ask it, the referer is blank. I have also tried just using links from other websites...nothing works, the referrer is always blank. Any suggestions?
<3Kacie