OptionalcartThe visitor's cart. Its token goes as x-cart-token (see PresencePingOptions.cartToken).
OptionalleaveThe visitor left (pagehide, consent revoked).
Optionalpage"product" | "category" | "cart" | "checkout" | "home" | "search" | "content" …
OptionalpathThe page's path, WITHOUT query string or hash.
OptionalproductThe product on a product page.
OptionalsessionRolling session id (30 min inactivity window).
Pseudonymous visitor id (the avvyr_visitor cookie). 8-64 of A-Z, a-z, 0-9, _ and -.
Presence ("Live on the site"): where a visitor is right now, so the shop's staff can see who is on the site and, in the customer assistant, where a shopper in a conversation is.
Push-only and silent: the platform answers 204 for anything with a valid
visitorIdand the SDK swallows every error, so a ping never breaks or slows the storefront. What is stored is pseudonymous and short-lived.Send it ONLY when the visitor has consented to statistics/analytics, on every page change and every 30 s while the page is visible, and
leave: true(withkeepalive) onpagehideand once when consent is revoked. Identity (visitorId/sessionId) is the caller's, as for tracking (in Nuxt theuseTracking()cookies).