/

/

Cookie Tracking Modes (Bloomreach Engagement)

Cookie Tracking Modes (Bloomreach Engagement)

Cookie Tracking Modes (Bloomreach Engagement)

Cookie tracking modes are the four ways the Bloomreach Engagement JS SDK stores the anonymous visitor identity: default, shared cookies, custom tracking domain and private tracking domain. Every mode keeps the first-party `__exponea_etc__` cookie set by the SDK. Each mode adds a backend cookie that differs by mode. In default mode it is `xnpe_<project-id>`, set as a third-party cookie on the API domain. In shared cookies mode it is `__EX__<group-id>__`. In custom tracking domain mode it is `xnpe_<project-id>`, set on your own domain. On each page load the SDK sends a `system/ids` command with every known ID. The backend then resets the cookie so its expiration always matches the SDK setting, three years by default. The documentation discourages shared cookies mode because browser privacy rules block it widely.

Updated

Category

Bloomreach Dev, Tracking

Also known as

JS SDK cookie modes; shared cookies; xnpe cookie

In practice

Check which mode a project runs in before blaming low returning-visitor numbers on the tracking plan. The default mode depends on a third-party cookie that browser privacy features block, so a custom tracking domain is the usual first fix.

Something out of date?