Hi Gina,
I think the easiest way to do this is to put a query in your application.cfm
file that inserts their information into your database:
<CFQUERY NAME="record_visitor_page_impressions" DATASOURCE="web_log">
INSERT INTO visit_log
(website_visit_page,website_visit_date,website_visit_contact_id,website_visi
t_ip_address)
values
('#cgi.script_name#',#createodbcdatetime(now())#,#cgi.CONTACT_ID#,'#cgi.remo
te_addr#')
</CFQUERY>
Since you put the query in your application.cfm, it will be automatically
included at the top of every page in your application. It will record the
name of the page they viewed, the date and time, the IP address and their
contact ID.
Be aware that these logs can get very large, very fast!
HTH,
Eron
-----Original Message-----
From: Gina Shillitani [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 22, 2000 11:30 AM
To: [EMAIL PROTECTED]
Subject: Tracking users through a site
This is a multi-part message in MIME format.
------=_NextPart_000_001A_01BFDC3D.2AD08E50
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
What would be the best way to track user movements throughout a site (i.e.
what pages they have requested, what keywords they have searched on, their
IP, etc.)? The users are already required to login with a userID and
password. I need to be able to store the tracking info in a table.
Thanks for any input!
------=_NextPart_000_001A_01BFDC3D.2AD08E50
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3018.900" name=3DGENERATOR></HEAD>
<BODY>
<DIV>
<P><FONT size=3D2>What would be the best way to track user movements =
throughout a=20
site<SPAN class=3D746062815-22062000> </SPAN>(i.e. what pages they have =
requested,=20
what keywords they have searched on, their IP, etc.)? <SPAN=20
class=3D746062815-22062000>The users </SPAN><SPAN=20
class=3D746062815-22062000>are already required to </SPAN><SPAN=20
class=3D746062815-22062000>login </SPAN><SPAN =
class=3D746062815-22062000>with a=20
userID and password. </SPAN>I need to be able to store th<SPAN=20
class=3D746062815-22062000>e tracking </SPAN> info in a =
table.</FONT></P>
<P><FONT size=3D2>Thanks for any input!</FONT></P></DIV></BODY></HTML>
------=_NextPart_000_001A_01BFDC3D.2AD08E50--
----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.