Skip to content

LocalStorage domain user ID is not persisted properly #627

Description

@acgray

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:defectBugs or weaknesses. The issue has to contain steps to reproduce.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions