D
D
Danil Tivikov2018-02-21 01:01:32
JavaScript
Danil Tivikov, 2018-02-21 01:01:32

How to determine if a person has visited the site for the first time?

Tell me, please, is it possible to somehow determine, using js, this site is opened for the first time on this device?
In other words, I need to make it so that if a user enters the site for the first time, then all sorts of "hints" are displayed to him

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
Nikita Kit, 2018-02-21
@tivikovv

In general, it is difficult to achieve complete persuasiveness in this. In porn mode, the cache and local storage are always empty. The best way to achieve this without resorting to backend is localStorage.
Click here to see the truth
It should not store data that is of any value. It's worth remembering

X
xmoonlight, 2018-02-21
@xmoonlight

They should be displayed only at the request of the user.
No need to spam!

A
Alexey, 2018-02-21
@Azperin

God forbid doing "all sorts of tips." Just give the user the "Site Navigator" \ "Site Map" \ "Help" button in a prominent place and he will decide whether he needs them. Store hint steps in localstorage

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question