Skip to content

Setting storage to 'none' still sets some local storage values #614

Closed
amplitude/amplitude-docs
#483
@ordishg

Description

@ordishg

Expected Behavior

When the storage option is set to 'none', amplitude should not set any cookies or local storage.

Current Behavior

Amplitude still sets the amplitude_unsent_* and amplitude_unsent_identify_* values.

If this is expected behaviour, then it would be helpful for this to be documented on the storage option.

Steps to Reproduce

  1. Initialise Amplitude with the option storage: 'none'
  2. Visit the page with Amplitude running on it
  3. Check local storage
  4. Find that there are local storage values set by amplitude

Environment

  • JS SDK Version: 8.21.9
  • Installation Method: yarn
  • Browser and Version: Firefox 133.0.3 (64-bit)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions