Sign in to Community
Sign in to view all badges
Expand my Community achievements bar.
Currently s_code uses a session cookie to store specific information - ie getValOnce information.
The session cookie is only deleted when the browser is closed.
For Sitecatalyst the visit expires after 30 minutes inactivity.
Thus if a user returns after more than 30min we get a second visit, but all variables using getValOnce stay empty and report "none".
Therefore session cookies should be appended with a timestamp of the last tracking call, which is updated on every tracking call.
If the timestamp is more than 30min ago the cookie needs to be deleted before any other logic get applied.
This way browser close AND 30min timeouts get reflected correctly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.