Currently I am facing the problem that have been discussed already here: How to keep track of a unique and an existing visitor (keep track about unique user without registration etc.). The most suitable answer was: "Try _ga cookie". So my questestion is how can I do that on my PHP website?
I want something like this:
- User came to my website and performs some action
- I "look into his _ga cookie" and take some "identification code"
- I log about this action to the database
- When user will come again and he will want to perform action again, then I look into my log and I will realize that this is same user
My question is:
How to read user identification from _ga ?