Skip to content

Error initializing storage: Cannot read properties of undefined (reading 'split') #993

@adriKosa

Description

@adriKosa

Hello, in our project we do not use cookies. Default value for useCookieStorage is false but anyway we need to set up cookies at least to empty string because otherwise initialization of mParticle will fail.

It is failing on this line:

var cookies = window.document.cookie.split('; '),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions