Funny Request from potential client - Is it possible/ ethical?

Permalink
I have just spoken to a guy who wants to build a membership site which keeps track of a users visit and logs the pages they visit. Is this possible with C5 and if it is, is it even ethical or worse - illegal?

PassionForCreative
 
JohntheFish replied on at Permalink Reply
JohntheFish
The PageStatistics table already tracks pages/users. Personally I usually disable it because it represents a rapidly growing overhead I don't need and soon gets so bloated as to the point where it causes backups to time out.

As for the ethics, Google makes a point of prohibiting the tracking of specific users with analytics. I don't think it would fall foul of UK data protection, especially if you had a suitable statement and confirmation on registration, but you may have to be prepared to respond to a request for disclosure.
PassionForCreative replied on at Permalink Reply
PassionForCreative
Cheers John, I didn't know about that area. Sorry for the noob question but where do I find this? I normally disable it because I use Andrew Emblers Zend Cache trick to speed up C5 sites and it recommends turning off this anyway.
JohntheFish replied on at Permalink Best Answer Reply
JohntheFish
Its a table in the database. If you enable the Page Stats on any development or practice site, then have a browse with phpMyAdmin, you should soon find it.

Its added sequentially and lists collection(page) ID, user ID, date and time. I don't know if there is an helper or API for it, but there is probably a model somewhere, so from a coding point of view should be fairly easy to filter by user, date etc, then cross reference to actual page url.
PassionForCreative replied on at Permalink Reply
PassionForCreative
I've marked this as best answer because it makes perfect sense to me as far as the end of the first sentence in your second paragraph. After that I'm afraid I'll need to bring in someone far cleverer than me to make it work now that I know it can.

Cheers John