From the user itself there is not much to obtain, since the browser does not store user information. Who guada information are the sites, in cookies, but we already know that we cannot read from other websites (domains).
Therefore, we remain some information of the user’s navigation, which exist in the DOM
, in objects window
and navigator
for example:
Navigator.appname: browser name (application using to navigate);
Navigator.appVersion: details of user environment versions (operating system and browser), example:
5.0 (Windows NT 6.3; Win64; x64) Applewebkit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36
Navigator.Geolocation: returns the user’s geolocation (if allowed) through browsing, which you have already discovered.
Navigator.Platform: browser platform (operating system).
Navigator.language: language used in browser, example: pt-BR
;
window screen.: screen size
Among others. More specific information about the user (name, email, etc.), only what he informed on some site or service and that can be shared. There are Apis for this and with the due consent of the user you can get this data. Here are some examples of most common services:
Facebook API and SDK API Facebook
Google API
Twitter API
Why too wide, the person who wants to close the question could explain the reason? How can I improve? Note, it is not necessary to show how to get the data (but a north would help), only if it is possible to get, if you have any questions I will ask other questions for each one
– Costamilam
Sopt is not a forum. It is a question and answer site and the question has to be asked in order to get a canonical answer and not an opinion. The shortest answer to your answer is: you will get only what the user allows.
– William John Adam Trindade
@Williamjohnadamtrindade understand that you will hardly get a user’s information without their authorization, but what is this information? I believe that’s a valid question
– Costamilam
Guilherme, you would like to know what data are allowed to capture on a Landing page or what data can be captured beyond the typed fields?
– Gabriel Carvalho
@Gabrielcarvalho what data can be captured in addition to the typed fields, for example, the location I mentioned and the basic data mentioned in the answer
– Costamilam