Static
cookieStatic
generateGenerates a cookie string to set for the Amplitude Javascript SDK
A cookie string to set for the Amplitude Javascript SDK to read
A device id to set
True if the cookie is in the Browser SDK 2.0 format
Static
parsea ExperimentUser context containing a device_id and user_id (if available)
A string from the amplitude cookie
True if the cookie is in the Browser SDK 2.0 format
This class provides utility functions for parsing and handling identity from Amplitude cookies.