The snippet runs on your site's origin. Data stays in the visitor's browser unless you configure optional server collection.
sessionStorage (primary)
Anonymous session state for the current tab lives in sessionStorage, including the session profile and optional operator tooling. It clears when the tab ends.
localStorage (one key only)
Optiview may write one localStorage key for return detection — a timestamp only, not used for cross-site identity.