Akos
Akos

Reputation: 41

How could I store information about users without registration?

I am just developing a PHP website and I would like to store some information about user's behavior (like: How many times did a user vote on an article? or How many times did the users start an article?) without the need of the user to register.

I don't want to violate the laws. I don't want to violate the data storage laws and all of these stuff, but I would like to find an easier way than registering to store some information about my site's usage.

I thought of confirmation with an email address and a specific question (like: What is the name of my city where I live?).

What do you think? What should I do?

Upvotes: 0

Views: 365

Answers (3)

Tristan
Tristan

Reputation: 3885

I can't tell you whats legal and what isn't but I work for a company that records statistics about online advertisements.

One of the statistics we collect is unique users we do this based on a combination of identifiers.

These being IP Address, Browser User Agent and a HTTP cookie all combined into a string and hashed to get a unique identifier.

Now this may fall apart for users with dynamic IPs, so a cookie may be suitable enough or any combination of the things above

Upvotes: 0

toby
toby

Reputation: 902

I would use cookies to track them. I would also check out Google Analytics, you may find it can track everything you are interested and it gives you nice graphs and reports that are easy to read.

Upvotes: 0

Matt Ball
Matt Ball

Reputation: 359966

What about just using OpenID? Many major sites are OpenID providers, so it's very likely that any given user of your site will already have an identity which they could use.

http://openid.net/

Upvotes: 2

Related Questions