In cookieless mode the web SDK stores nothing on a visitor's device, and Pug counts them with an ID that changes every day. @pug-sh/browser 0.1.0 starts every visitor in it.
In cookieless mode the web SDK sends events
with no identity and writes nothing to the device. Pug derives an ID from the
request’s IP address and user agent, hashed with a salt that changes daily,
and stores neither.
@pug-sh/browser 0.1.0 starts in cookieless mode. optInTracking() moves a
visitor who accepts your banner to full tracking, and the SDK can honor Global
Privacy Control.
beforeSend edits or drops any event before it leaves the browser, and
sensitive URL parameters are redacted by default.
Unique users, funnels and retention leave cookieless IDs out by default, since
a returning visitor gets a new one each day. Event totals and session metrics
count them.
Changed
In 0.1.0, consent defaults to cookieless rather than granted, beforeSend
replaces sanitizeUrl, and IDs stored by 0.0.x are discarded. See
Upgrading.