Ok, So I have a project for my own education and a practical application.
I want to be able to drop a pixel onto my users on my websites (gamerss.co.uk, and whatsagirltodo.co.uk) and be able to assign a user an ID number and then be able to see or identify them when I come back.
I have Plesk set up on my VPS server and therefore a database ready to go. I am ok with writing to the database and extracting information from it, however I don't know where to start to be able to generate a unique pixel that will be able to read a (unique?) IP address and allocate it a number in the database for each visit?
Ulitmately I want to be able to use the information to output into an excel sheet or even better be able to send that user a message when they return based upon their IP location. BTW I have privacy policies ready - and I am not interested in finding out data about individuals.
I'm sure there are a ton of questions this is going to throw up, but please if anybody can help point me in the right direction or help me with a snippet of code, the I can start learning :)