Is there a way to determine how many times a computer has accessed a page?

Is there a way to determine how many times a computer has accessed a page on my site and then not show a modal if the count is greater than 6?

Right now I have a page set up to auto show a modal, but after a set amount of times it is accessed from the same machine I would like to stop showing it (for that machine only).

Or add a don’t show again button in the modal for that machine?

use a cookie, increment the value after each visit. hide the modal if count is greater than 6

1 Like

I was thinking a cookie could somehow work but unsure how to increment the value after each visit?

Maybe adding a variable and increment by +1

take a look at this topic here maybe it helps: