I am making an analytics API which needs the given fields ,
user's browser, user's IP,
user events like button clicks, page loads, etc.
The first two can be achieved from request headers, (please correct me if i am wrong) but i cant get an idea how to achieve the third one.