Unfortunately, I don't think there's an equivalent of this plugin for WebSDK. But maybe you can replicate it on your own.
Basically, every time the plugin is called, it does these 3 steps:
First, it tries to read the cookie (which, by default, is called "s_visit"). If it can read this cookie, it rem...