When using the LocalStorage stateStorageStrategy the domain user id does not persist and is regenerated on every page load.
This appears to be due to an error in the getSnowplowCookieValue method, which attempts to retrieve cookie values using the logical cookie name instead of the value returned by getSnowplowCookieName:
https://github.com/snowplow/snowplow-javascript-tracker/blob/master/src/js/tracker.js#L480
This seems like a major issue as it clearly makes the data recorded useless for any user-level analysis.
When using the LocalStorage stateStorageStrategy the domain user id does not persist and is regenerated on every page load.
This appears to be due to an error in the
getSnowplowCookieValuemethod, which attempts to retrieve cookie values using the logical cookie name instead of the value returned bygetSnowplowCookieName:https://github.com/snowplow/snowplow-javascript-tracker/blob/master/src/js/tracker.js#L480
This seems like a major issue as it clearly makes the data recorded useless for any user-level analysis.