When you record sessions, a first party cookie will be set for the duration of the visit named _pk_hsr. This cookie is needed to ensure that all page views within a users’ session will be recorded. The cookie will be only set as soon as a user has reached a configured entry page. If you disable cookies via the tracking code, the plugin will respect this setting and not set a cookie. As a result, not all page views within a session may be recorded if you set a sample rate of lower than 100% or configure an entry page. A possibly configured cookie domain or cookie path will be respected. Learn more about Matomo (Piwik) JavaScript Tracker cookies.

Previous FAQ: How do I disable only the session recording feature?