Using external session identifiers
Nosto uses a cookie to identify browsers between their visits to the site. The purpose and usage of this cookie is very similar to how web analytics tools, such as Google Analytics, work.
Each session is identified using a randomly generated 24-character secure string and persisted in 2c.cId
cookie.
For privacy reasons, if you have the need to disallow any third-party tracking cookies, this feature can be used to achieve that.
This feature will not remove previously set 2c.cId
cookies and will only affect sessions from the time of implementation onward.
``
Changing the way sessions are handled
You can opt-out of tracking by using the setCustomerIdentifierService
method.
Assuming that your platform has a method called platform.getSID()
that returns the current session identifier as offered by your platform - you would use:
To showcase, the flexibility offered by this API - the following example simply uses LocalStorage
(instead of cookies) to persist the session identifier.
Last updated