I would do it with a redirector page.
* First, create a table with the redirect links and a count field (at the
very minimum). Make the URL field the key
* All links from front page go to a redirect page (i.e.
/switchboard.cfm?loc=/dir/file.cfm)
* On switchboard.cfm, do a cfquery to increment
To make it as simple as possible, I might just grab the referrer.
If it is blank, or comes from offsite (domain doesn't match the server), I would stash
the referrer, the IP, the time, and the other info you listed.
Jerry Johnson
[EMAIL PROTECTED] 09/19/02 11:42AM
I run a 1400 user Intranet
You could send all links to a redirect.cfm?pageid=xxx page
Get the page to record which link is clicked then redirect based on the pid
Mark Stephenson
New Media Director
Evolution Internet
T: 0870 757 1631
F: 0870 757 1632
W: www.evolutioninternet.co.uk
E: [EMAIL PROTECTED]
This email,
I don't know about recording only the first click off the page.
However, it would be fairly easy (it seems to me) to build a link tracker.
Just have a CF page that takes a URL as a param. It inserts info about the
link and whatever else (session userID, time, etc) into the DB. Then it
To: CF-Talk
Subject: Re: Tracking first 'click' off of a home page
To make it as simple as possible, I might just grab the referrer.
If it is blank, or comes from offsite (domain doesn't match the server), I
would stash the referrer, the IP, the time, and the other info you listed.
Jerry
go straight to link target.
HTH,
Dave
-Original Message-
From: Ben Doom [mailto:[EMAIL PROTECTED]]
Sent: 19 September 2002 17:03
To: CF-Talk
Subject: RE: Tracking first 'click' off of a home page
I don't know about recording only the first click off the page.
However, it would be fairly
6 matches
Mail list logo