Skip to content

Comment on Ask HN: Remember if a user has completed a first-use feature tour?

Comments

My question would be, user or visitor? If user than I equal that to a logged in or known person and therefore I would store it in a cache of some sort that is also persisted for those times you have to reload.

If for a visitor, meaning you have no clue who they are then I'd store a cookie, and give them the option to skip out of the tour if they have already seen it.

aenOP

It's going to be a logged-in user. I suppose I'd use a tour_completed KV store for a bunch of tour_type : boolean.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.