ahoy icon indicating copy to clipboard operation
ahoy copied to clipboard

Unexpected new visit creation despite continuous user activity

Open TheZero0-ctrl opened this issue 11 months ago • 1 comments

According to the readme

By default, a new visit is created after 4 hours of inactivity.

However, I’ve noticed that a new visit is being created even when the user is actively browsing the app without any periods of inactivity.

Is the intended behavior? If not, am I missing any configuration steps to ensure it works as described in the default setup?

I have this config

Ahoy.api = true
Ahoy.cookies = :none
Ahoy.mask_ips = true
Ahoy.quiet = false
Ahoy.geocode = true

TheZero0-ctrl avatar Jan 22 '25 16:01 TheZero0-ctrl

Hi @TheZero0-ctrl, this is the intended behavior with Ahoy.cookies = :none. I'll add a note to the readme about it.

ankane avatar Jan 29 '25 03:01 ankane